typescirpt-cli (npm) · Malicious Code
Affects typescirpt-cliSource GCVE Database
Malicious package : remove typescirpt-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-14148
What to do
Remove typescirpt-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 |
|---|---|---|
| npmtypescirpt-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 'typescirpt-cli' version 1.0.0 contains malicious code in its postinstall script that downloads and executes an unverified executable from a personal GitHub repository. It uses obfuscated code to reconstruct the download URL and a PowerShell command to run the binary on Windows and Windows Subsystem for Linux (WSL) environments. Additionally, it sends installation metrics over unencrypted HTTP to a hardcoded IP address. The package name is a typosquat of the legitimate 'typescript-cli' package.