{"id":"MAL-2026-20423","aliases":[],"title":"Malicious code in wiwusen (npm)","originalDescription":" --- _-= Per source details. Do not edit below this line.=-_ ## 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. ","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":null,"exploitDb":null},"affected":[],"references":[{"url":"https://www.npmjs.com/package/wiwusen/v/2.0.0","type":"package"}],"sources":[{"name":"osv","at":"2026-11-24T06:54:22.862Z","url":"https://osv.dev/vulnerability/MAL-2026-20423","license":"CC-BY 4.0","firstSeenAt":"2026-11-24T06:54:22.862Z"}],"firstSeenAt":"2026-11-24T06:54:22.862Z","publishedAt":"2026-11-24T05:40:45.000Z","modifiedAt":"2026-11-24T06:30:06.842Z"}