NetSight
ohne WertungMalware-Meldung

MAL-2026-20423

Malicious code in wiwusen (npm)

Auswirkung

wiwusen@2.0.0 ships a nested package under payload/ (dudovemek@2.0.0) whose package.json declares a prepare lifecycle script that runs node prep.js. On install, prep.js executes cp.execSync('id') to capture the installer's uid/gid/group output and writes it, along with a canary marker, into files under the installer's $HOME directory ($HOME/.npmjs-mirror-dfa-canary-* and $HOME/.npmjs-mirror-dfa-id-*) with mode 0o600, and emits a PAYLOAD-PREPARE-EXECUTED log line. This demonstrates arbitrary code execution and host-identity capture in the installer's account at install time without any user action. The top-level manifest also declares bundleDependencies: ["zzz-missing"] without shipping that dependency in the tarball, causing npm to resolve the name from the registry at install time and expand the install-time code surface to whatever that name resolves to.

Betroffene Pakete

ÖkosystemPaketBetroffenBehoben in
npmwiwusenunbekanntnicht erfasst

Schwachstellenklasse

Referenzen