typscript-core (npm) · Malicious Code
Affects typscript-coreSource GCVE Database
Malicious package : remove typscript-core 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-14157
What to do
Remove typscript-core 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-core | 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-core npm package is a typosquatting malicious package impersonating the legitimate 'typescript' package. Its postinstall script decodes and reconstructs obfuscated commands to download and execute a binary named main.exe on Windows systems. It also sends platform information to a hardcoded IP address. This behavior indicates an attempt to stealthily install and run potentially harmful code during package installation.