wiwusen npm package: install-time code execution and host identity capture (no CVE)
Severity: critical · Patch status: no-fix-needed · Since 2026-11-24
The npm package wiwusen@2.0.0 was published with a nested payload package, dudovemek@2.0.0, whose prepare lifecycle script runs node prep.js during installation. The script executes cp.execSync('id'), captures the installer's uid/gid/group, writes canary and identity files under $HOME with mode 0600, and logs PAYLOAD-PREPARE-EXECUTED, demonstrating arbitrary code execution and host-identity capture without user action. The top-level manifest also declares bundleDependencies: ['zzz-missing'] without shipping it, causing npm to resolve that name from the registry and widening install-time code exposure. No patched version is listed; the package is malicious. Anyone who installed wiwusen 2.0.0 or its nested payload should treat the host as compromised and investigate.
What to do
- Block and remove wiwusen@2.0.0 and dudovemek@2.0.0 from registries, caches, lockfiles, and build images; audit npm install logs and dependency trees for either package or zzz-missing resolution.
- On hosts that installed it, inspect $HOME for .npmjs-mirror-dfa-canary-* and .npmjs-mirror-dfa-id-* files, preserve evidence, and rotate credentials and secrets accessible to the installer account.
- Disable lifecycle scripts for untrusted installs where feasible and rebuild affected environments from clean sources.
Sources
All live incidents on Threat Watch