NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
Malicious package

x3r0day-bunnyhijack-pocnpm

Advisory published Updated

x3r0day-bunnyhijack-poc is a confirmed malicious npm package (MAL-2026-20424) that executes malicious code on install (malicious version 1.0.3). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in x3r0day-bunnyhijack-poc (npm)

MAL-2026-20424
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall x3r0day-bunnyhijack-poc

What this malware does

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.

Malicious versions

1 flagged
1.0.3

Indicators of compromise (SHA-256)

0d293a3791efc54b2b723fdd84d295e56e523532a5591bb48fde37fc555083b6

Detection & response playbook

Malicious package
  1. Find it

    Search your lockfiles and build artifacts for x3r0day-bunnyhijack-poc (version 1.0.3).

  2. If you installed it — respond

    Remove x3r0day-bunnyhijack-poc from your project and lockfile, then assume any secrets accessible to the build or runtime were exposed: rotate API keys, tokens, and credentials, and audit for unexpected outbound activity or persistence.

  3. Did it already run?

    If x3r0day-bunnyhijack-poc was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.

Frequently asked questions

No. x3r0day-bunnyhijack-poc on npm has been identified as a malicious package (version 1.0.3 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-023079

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks x3r0day-bunnyhijack-poc-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.

Explore

x3r0day-bunnyhijack-poc (npm) malicious package — MAL-2026-20424 | O3 Security