Skip to main content
MalwarePublished

typescirpt-core (npm) · Malicious Code

Affects typescirpt-coreSource GCVE Database

0

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

Data as of 19 Aug 2026, 14:55 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-14149

What to do

Remove typescirpt-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
npmtypescirpt-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 'typescirpt-core' is a malicious typosquatting package targeting 'typescript'. Upon installation, it executes a postinstall script that sends a beacon to a hardcoded IP address and downloads a Windows executable to the temporary directory, running it stealthily. It also contains logic to detect Windows Subsystem for Linux (WSL) and pivots execution back to Windows using a PowerShell launcher. The malicious payload and commands are XOR-encoded to evade static detection.

References

Community reviews

Loading reviews…