# MAL-2026-14310: Malicious code in bunnyhijack-test-0x00 (npm)


- **Type:** Malicious package
- **Package:** `bunnyhijack-test-0x00` (npm)
- **Published:** 19 Aug 2026
- **Also known as:** GHSA-8x5v-wf85-xhj5

## What is MAL-2026-14310?

MAL-2026-14310 is a malicious package in bunnyhijack-test-0x00, published on 19 Aug 2026. 

### Official description

package.json declares `"bin": { "node": "./shim.js" }`, which causes npm to place a `node` executable into `node_modules/.bin`. Since `node_modules/.bin` is prepended to PATH during npm lifecycle scripts, any sibling dependency whose install/postinstall invokes `node` (e.g., esbuild and similar packages with native build steps) will execute `shim.js` from this package instead of the real Node.js runtime. shim.js demonstrates the hijack by writing a marker file at /tmp/.bunnyhijack-test and printing a banner stating the node command was hijacked via esbuild's postinstall. The package's own description self-identifies as a self-triggering PATH-poisoning proof-of-concept, and the dependency on protoc-gen-grpc-web appears chosen to ensure a sibling lifecycle script invokes `node` during a normal `npm install`. The current shim payload is benign (marker file + console output), but the hijack primitive itself runs arbitrary code under the installer's user during install and would execute any future payload shipped in shim.js.

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

## What should I do about MAL-2026-14310?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

## Fix prompt for AI coding agents

```text
MAL-2026-14310 is a malicious package: bunnyhijack-test-0x00 (npm). Every version was published to cause harm.

Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.

Reference: https://insights.sbomify.com/MAL-2026-14310/ (Markdown: https://insights.sbomify.com/MAL-2026-14310/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/MAL-2026-14310

---
From sbomify Insights: https://insights.sbomify.com/MAL-2026-14310/
Summaries are generated and may contain mistakes; the official description above is the record.
