Skip to main content
MalwarePublished Updated

test-mal-npm-pkg (npm) · Malicious Code

Affects test-mal-npm-pkgSource GCVE Database

0

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

Data as of 25 Nov 2026, 11:43 UTC

Classification

Malicious package

Published to npm · OSV MAL-2025-192643

What to do

Remove test-mal-npm-pkg 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-mal-npm-pkgAffected
  • 1.0.0 – 1.0.3
4 affected builds
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-mal-npm-pkg' versions 1.0.0 through 1.0.3 contains malicious code. Installation or execution of this package may lead to full compromise of the affected computer. Immediate removal of the package is advised, and all secrets and keys stored on the compromised system should be rotated from a separate, secure device. Due to the nature of the compromise, removing the package alone may not eliminate all malicious software introduced.

References

Community reviews

Loading reviews…