typescrip-cli (npm) · Malicious Code
Affects typescrip-cliSource GCVE Database
Malicious package : remove typescrip-cli and rotate any secrets on hosts that installed it.
Data as of 19 Aug 2026, 14:56 UTC
Malicious package
Published to npm · OSV MAL-2026-14150
What to do
Remove typescrip-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 |
|---|---|---|
| npmtypescrip-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 'typescrip-cli' is a malicious typosquatting package targeting 'typescript-cli'. It exports no legitimate functionality and contains a postinstall script that downloads and executes a malicious Windows executable from a personal GitHub repository. On Windows Subsystem for Linux (WSL) or virtualized Linux environments, it runs a PowerShell launcher to execute the payload on the Windows host. Additionally, it sends a beacon with host platform information to a hardcoded IP address.