Malicious package · npm
Malicious code in nocuhel (npm)
1.0.0No safe version. Remove it.What it does
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.
No fix · Remove and contain
npm uninstall nocuhelSources