Skip to main content
MalwarePublished

testingsmthb1g (npm) · Malicious Code

Affects testingsmthb1gSource GCVE Database

0

Malicious package : remove testingsmthb1g and rotate any secrets on hosts that installed it.

Data as of 19 Aug 2026, 14:53 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-14142

What to do

Remove testingsmthb1g 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
npmtestingsmthb1gAffected
  • =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 'testingsmthb1g' version 1.0.0 contains malicious post-installation code that downloads and executes a payload from a personal GitHub repository. The postinstall.js script uses XOR obfuscation to decode a URL and a PowerShell command, which it uses to fetch and run a Windows executable, including escaping from WSL/Linux environments to the Windows host. It also sends platform information to a hardcoded IP address. This behavior constitutes a malicious package with install-time code execution.

References

Community reviews

Loading reviews…