Skip to main content
MalwarePublished Updated

test-nonmal-pkg-5 (npm) · Malicious Code

Affects test-nonmal-pkg-5Source GCVE Database

0

Malicious package : remove test-nonmal-pkg-5 and rotate any secrets on hosts that installed it.

Data as of 29 Jun 2026, 22:18 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-4785

What to do

Remove test-nonmal-pkg-5 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
npmtest-nonmal-pkg-5Affected
  • =1.0.1
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 'test-nonmal-pkg-5' version 1.0.1 contains malicious code that exfiltrates environment variables by sending them via an obfuscated HTTP POST request upon import. The exfiltration target is currently a loopback address, preventing data leakage in normal environments, but the code is designed to be easily modified to target external hosts. The package also includes deceptive comments and user-agent strings intended to mislead automated security reviewers. Installation of this package compromises the host, potentially exposing all stored secrets and keys.

References

Community reviews

Loading reviews…