LWA-2026-13733 confirmed malware

x3r0day-bunnyhijack-poc@1.0.3

Malicious code in x3r0day-bunnyhijack-poc (npm)

T1059 · Command and Scripting Interpreter

Analysis

This package executes code during `bun install` while declaring no lifecycle scripts of its own. package.json has an empty `scripts` block and declares `"bin": {"grunt": "./shim.js"}`; the package depends on `@sap/hana-theme-vscode`, whose postinstall command invokes the `grunt` CLI name, so bun's `node_modules/.bin` linking causes `shim.js` to run inside a trusted dependency's install step. When it runs, `shim.js` writes a marker file named `pwned-by-bunnyhijack.txt` into the project directory (from `INIT_CWD` and `npm_config_local_prefix`), the current working directory and the OS temp directory, containing the local username, hostname, platform/arch, cwd and process arguments, and prints the same text to stdout and stderr. It then spawns a detached, unref'd child process to open `hxxps://github[.]com/X3r0Day/BunnyHijack-PoC` in the default browser (`xdg-open`, `gio open`, `sensible-browser`, `open` on macOS, `cmd /c start` on Windows). The package itself contains no HTTP client and sends no data over the network; the only outbound action is opening that single hardcoded repository URL.

analyzed by
Leitwacht
first seen
Nov 6, 2026, 02:40 PM
analyzed
Nov 6, 2026, 04:52 PM

Related advisories

browse all confirmed advisories →

Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.