cvelo
P2 · HighMalware

Malicious code in nocuhel (npm)

  • MAL-2026-21082

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.

Text from the OSV 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

  1. Published

Related news

No article from the followed outlets names this vulnerability.