Advisory

MAL-2026-14145

Also known as: None

Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.

Summary

Malicious code in typecript-cli (npm)

Details

---
_-= Per source details. Do not edit below this line.=-_

Source: amazon-inspector (03604fc37a8607bf5c14f409dc9d13308bff3e7ec145de955ae13a07c13da92e)
[email protected] is a typosquat of 'typescript' whose scripts/postinstall.js performs an install-time dropper attack. Payload strings are stored as integer arrays and XOR-decoded at runtime with key 'stf2026' via an unpackSegment() helper, hiding the download URL and PowerShell command from static scanners. On Windows hosts, the script downloads main.exe from https://github.com/bebraz1/<repo>/releases/download/<tag>/main.exe (a personal GitHub account unrelated to the package publisher) to %TEMP%/main.exe, then spawns it detached with no hash or signature verification. When running under WSL, the script uses an exec() bridge that invokes powershell.exe on the Windows host to escape the Linux install sandbox and execute the same payload. Postinstall also POSTs a JSON body with the resolved platform label to a hardcoded bare-IP endpoint at http://193.70.34.101:20099/vote, with the IP assembled from a split octet array (['193','70','34','101'].join('.')) to evade string matching, serving as an install beacon and host selector.

Severity

Not rated by the source.

Dates

Published
2026-08-18 23:20 UTC
Modified
2026-08-18 23:45 UTC

Affected packages and fixes

typecript-cli

npm · All systems

Affected

  • Versions: 1.0.0

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: OpenSSF Malicious Packages · Apache-2.0

Sources & licences