typescipt-clinpm
typescipt-cli is a confirmed malicious npm package (MAL-2026-14146) that opens a backdoor for remote access (malicious version 1.0.0). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in typescipt-cli (npm)
What this malware does
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.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Backdoor / remote accessFind it
Search your lockfiles and build artifacts for typescipt-cli (version 1.0.0).
If you installed it — respond
typescipt-cli establishes remote access, so treat any host that installed it as fully compromised. Isolate the machine, remove the package, rotate all credentials it could reach, and rebuild from a trusted image rather than cleaning in place — a backdoor may have planted additional persistence.
Did it already run?
If typescipt-cli was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
Detect & block this
O3 blocks typescipt-cli-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the C2 callback and severs the channel.