Skip to main content
MalwarePublished

typscript-core (npm) · Malicious Code

Affects typscript-coreSource GCVE Database

0

Malicious package : remove typscript-core and rotate any secrets on hosts that installed it.

Data as of 19 Aug 2026, 14:54 UTC

Classification

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

ProductAffectedFixed in
npmtypscript-coreAffected
  • =1.0.0
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.

References

Community reviews

Loading reviews…