Skip to main content
MalwarePublished

tyepescript-core (npm) · Malicious Code

Affects tyepescript-coreSource GCVE Database

0

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

Data as of 19 Aug 2026, 14:56 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-14144

What to do

Remove tyepescript-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
npmtyepescript-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 npm package 'tyepescript-core' is a typosquatting malicious package impersonating 'typescript'. It contains a post-install script that decodes and downloads a Windows executable to the installer's temporary directory and executes it silently. Additionally, it sends a beacon with platform information to attacker-controlled infrastructure. This results in arbitrary code execution on the machine during 'npm install'.

References

Community reviews

Loading reviews…