Skip to main content
MalwarePublished Updated

darknode-cli (npm) · Malicious Code

Affects darknode-cliSource GCVE Database

0

Malicious package : remove darknode-cli and rotate any secrets on hosts that installed it.

Data as of 29 Oct 2026, 18:23 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-18195

What to do

Remove darknode-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
npmdarknode-cliAffected
  • =2.46.2
  • =2.46.1
  • =2.46.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 darknode-cli npm package versions 2.46.0, 2.46.1, and 2.46.2 contain malicious code that functions as an offensive-security and penetration testing toolkit. While the package does not automatically execute upon installation or exfiltrate installer-side data, it exposes local HTTP control surfaces and includes modules that catalog offensive tools and sensitive file indicators. The package's capabilities are directed at operator-chosen external targets. According to one source, any system with this package installed or running should be considered fully compromised, and all stored secrets and keys should be rotated immediately.

References

Community reviews

Loading reviews…