{"id":"MAL-2026-20424","aliases":[],"title":"Malicious code in x3r0day-bunnyhijack-poc (npm)","originalDescription":" --- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (0d293a3791efc54b2b723fdd84d295e56e523532a5591bb48fde37fc555083b6) Package declares no lifecycle scripts but ships `bin.grunt ->./shim.js` and depends on `@sap/hana-theme-vscode`, whose own postinstall invokes `grunt`. Under `bun install`, bun resolves the `grunt` bin to this package's shim and executes it as part of the trusted dependency's postinstall. The shim writes a marker file `pwned-by-bunnyhijack.txt` to INIT_CWD / cwd / tmpdir and spawns the OS default browser (`xdg-open` / `open` / `cmd /c start`) to a hardcoded GitHub URL. The package's `package.json` description and README openly identify it as a proof-of-concept whose purpose is to execute attacker-controlled code during install via bin-shim hijack of a transitive dependency's PATH lookup. The current payload is benign (file drop + browser launch), but the mechanism is a general install-time code execution primitive that fires on a default `bun install` with no consent prompt and no declared lifecycle hook on this package. ","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":null,"exploitDb":null},"affected":[],"references":[{"url":"https://www.npmjs.com/package/x3r0day-bunnyhijack-poc/v/1.0.3","type":"package"}],"sources":[{"name":"osv","at":"2026-11-24T06:54:22.871Z","url":"https://osv.dev/vulnerability/MAL-2026-20424","license":"CC-BY 4.0","firstSeenAt":"2026-11-24T06:54:22.871Z"}],"firstSeenAt":"2026-11-24T06:54:22.871Z","publishedAt":"2026-11-24T05:39:22.000Z","modifiedAt":"2026-11-24T06:30:06.836Z"}