typscript-cli (npm) · Malicious Code
Affects typscript-cliSource GCVE Database
Malicious package : remove typscript-cli and rotate any secrets on hosts that installed it.
Data as of 19 Aug 2026, 14:54 UTC
Malicious package
Published to npm · OSV MAL-2026-14156
What to do
Remove typscript-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 |
|---|---|---|
| npmtypscript-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 typscript-cli npm package is a typosquatting malicious package impersonating the legitimate 'typescript' package. Its postinstall script executes automatically on installation, decoding and downloading a Windows executable payload that runs silently. It also sends platform information to a hardcoded IP address over unencrypted HTTP. There is no integrity verification or version pinning for the downloaded binary, increasing risk. The package affects version 1.0.0.