OpenSSF/OSV advisory MAL-2026-14146 confirms this npm version as malicious. Package name typosquats 'typescript'. scripts/postinstall.js runs at npm install time and: (1) POSTs a JSON body with the installer's platform label to 193.70.34.101:20099/vote, with the IP split into a string array ['193','70','34','101'].join('.') to obscure it; (2) XOR-decodes a hardcoded URL (github.com/bebraz1/qPzM50V1AKG0rVlH/releases/download/null/main.exe) using key 'stf2026' via a byte-array unpackSegment...
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in typescipt-cli (npm)
Details
Package name typosquats 'typescript'. scripts/postinstall.js runs at npm install time and: (1) POSTs a JSON body with the installer's platform label to 193.70.34.101:20099/vote, with the IP split into a string array ['193','70','34','101'].join('.') to obscure it; (2) XOR-decodes a hardcoded URL (github.com/bebraz1/qPzM50V1AKG0rVlH/releases/download/null/main.exe) using key 'stf2026' via a byte-array unpackSegment helper, downloads the resulting binary to %TEMP%\main.exe on Windows, and launches it detached with windowsHide; (3) on WSL, XOR-decodes a PowerShell bridge command and exec's it to run the same download on the host Windows. No hash or signature verification. URLs, commands, and the C2 IP are stored as encoded byte arrays and reconstructed at runtime.
Decision reason
OpenSSF Malicious Packages via OSV confirms typescipt-cli@1.0.0 as malicious (MAL-2026-14146): Malicious code in typescipt-cli (npm)