nocuhel (npm) · Malicious Code
Affects nocuhelSource GCVE Database
Malicious package : remove nocuhel and rotate any secrets on hosts that installed it.
Data as of 4 Dec 2026, 00:03 UTC
Malicious package
Published to npm · OSV MAL-2026-21082
What to do
Remove nocuhel 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 |
|---|---|---|
| npmnocuhel | 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 nocuhel npm package version 1.0.0 contains malicious code that executes arbitrary commands during installation. It includes a nested package with a prepare lifecycle script that runs a node script writing a marker file to the installer's home directory and executes shell commands, demonstrating install-time arbitrary code execution. This behavior occurs automatically on default installation and serves no legitimate purpose.