typecript-cli (npm) · Malicious Code
Affects typecript-cliSource GCVE Database
Malicious package : remove typecript-cli and rotate any secrets on hosts that installed it.
Data as of 19 Aug 2026, 14:57 UTC
Malicious package
Published to npm · OSV MAL-2026-14145
What to do
Remove typecript-cli from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmtypecript-cli | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The npm package 'typecript-cli' version 1.0.0 is a typosquatting malicious package impersonating 'typescript'. Its postinstall script performs an install-time dropper attack by downloading and executing an unsigned executable from a personal GitHub repository. It uses obfuscation techniques such as XOR-decoding payload strings and assembling IP addresses from split arrays to evade detection. On Windows, it downloads and runs 'main.exe' without verification. Under Windows Subsystem for Linux (WSL), it escapes the Linux sandbox to execute the same payload via PowerShell. The script also sends a beacon with platform information to a hardcoded IP address, likely for command and control or host selection purposes.