Skip to main content
MalwarePublished

ssb-test-package (npm) · Malicious Code

Affects ssb-test-packageSource GCVE Database

0

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

Data as of 19 Aug 2026, 14:37 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-14221

What to do

Remove ssb-test-package 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
npmssb-test-packageAffected
  • =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 ssb-test-package@1.0.0 is a malicious npm package designed as a proof-of-concept for dependency confusion attacks. It includes a preinstall script that executes arbitrary code during installation, collecting host system information and writing it locally. The package lacks legitimate functionality and does not exfiltrate data over the network but demonstrates the risk of code execution via npm install hooks.

References

Community reviews

Loading reviews…