typesript-core (npm) · Malicious Code
Affects typesript-coreSource GCVE Database
Malicious package : remove typesript-core and rotate any secrets on hosts that installed it.
Data as of 19 Aug 2026, 14:55 UTC
Malicious package
Published to npm · OSV MAL-2026-14155
What to do
Remove typesript-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 |
|---|---|---|
| npmtypesript-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 npm package 'typesript-core' version 1.0.0 is a typosquatting malicious package impersonating 'typescript'. It contains no legitimate library functionality but executes a post-install script that decodes and contacts a command-and-control server. The script sends host fingerprint data, downloads a Windows executable to the temporary directory, and runs it silently. When installed under Windows Subsystem for Linux (WSL), it uses a PowerShell bridge to execute the payload on the Windows host. The malicious payload and commands are obfuscated using XOR encoding.