Skip to main content
MalwarePublished

typescrit-cli (npm) · Malicious Code

Affects typescrit-cliSource GCVE Database

0

Malicious package : remove typescrit-cli 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-14153

What to do

Remove typescrit-cli 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
npmtypescrit-cliAffected
  • =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 'typescrit-cli' version 1.0.0 contains malicious code that executes during installation. It XOR-decodes a hidden URL to download a payload to the local temporary directory and runs it stealthily. The malicious script detects if it is running in a Windows Subsystem for Linux (WSL) environment and uses a PowerShell bridge to escape the Linux container and execute the payload on the Windows host. Additionally, it sends platform information to a hardcoded command-and-control server using obfuscated network requests. The package name mimics a legitimate package name but is published by an unrelated entity.

References

Community reviews

Loading reviews…