Malicious code in nocuhel (npm)
- GHSA-cgxw-p5wv-qc6w
Description
The nocuhel tarball bundles a nested package directory (payload/wiwusen) whose package.json declares a prepare lifecycle script running `node prep.js`. prep.js writes a marker file into the installer's $HOME and invokes /bin/sh -c 'id >...', demonstrating arbitrary command execution during `npm install`. The outer manifest declares bundleDependencies:["decoy"] while the nested directory is named wiwusen - a packaging mismatch that smuggles the lifecycle-carrying sub-package past casual manifest review. The behavior fires automatically on default install via the nested prepare hook; the shelled-out `id` capture and marker drop in $HOME are a classic install-time ACE proof-of-concept with no legitimate build or runtime purpose. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/4590b1d1ee1824f1de1f1bd10c55170a1f277200/osv/malicious/npm/nocuhel/MAL-2026-21082.json))
Text from the GitHub Advisory record.
Recommendation
Remove the package and rotate any secret the machine that installed it could reach. There is no version to update to.
Affected
nocuhelnpm
No versions listed
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.