crazynut (npm) · Malicious Code
Affects crazynutSource GCVE Database
Malicious package : remove crazynut and rotate any secrets on hosts that installed it.
Data as of 26 Oct 2026, 15:56 UTC
Malicious package
Published to npm · OSV MAL-2026-10299
What to do
Remove crazynut 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
| Product | Affected | Fixed in |
|---|---|---|
| npmcrazynut | Affected
| 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 'crazynut' contains malicious code or depends on a package with malicious code. Installing or running this package may lead to full compromise of the affected computer, potentially exposing all stored secrets and keys. Immediate removal of the package is recommended, and all secrets should be rotated from a separate, secure machine. However, removal of the package may not fully eliminate all malicious software introduced.