typesript-cli (npm) · Malicious Code
Affects typesript-cliSource GCVE Database
Malicious package : remove typesript-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-14154
What to do
Remove typesript-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 |
|---|---|---|
| npmtypesript-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 'typesript-cli' npm package version 1.0.0 is a malicious typosquatting package targeting users expecting the legitimate 'typescript' package. Upon installation, it decodes and downloads a Windows executable to the TEMP directory and runs it without verification. It also attempts to detect if running under WSL or virtualized Linux and executes a bridge launcher to run the payload on the Windows host, bypassing the Linux sandbox. Additionally, it sends platform information to a hardcoded IP address as an install beacon.