NetSight
kritischMalware-Meldung

GHSA-gj8m-xhgr-f3gj

Malicious code in wiwusen (npm)

Auswirkung

## Source: amazon-inspector (5c757f93bd18189d86c86362ebbfea27a8932f11be1bd619a9e2ad3510a0531d) 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. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/0730aa902aca078a6d9faa89bcf7b86fb9816157/osv/malicious/npm/wiwusen/MAL-2026-20423.json))

Betroffene Pakete

ÖkosystemPaketBetroffenBehoben in
npmwiwusen= 2.0.0nicht erfasst

Schwachstellenklasse

Referenzen