BunnyHijack PoC - PATH poisoning demo against Bun trustedDependencies
The package shadows `node` in the dependency binary directory so lifecycle commands can invoke its shell shim. The shim records execution context, opens an external browser page, and then forwards execution to real Node.
Package declares a bin command that shadows a Node package-manager runtime executable.
package.jsonView on unpkgIt installs a bin named `node`, shadowing the system Node executable in dependency script PATHs.
package.jsonView on unpkg · L5A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
shim.jsView on unpkgThe shim writes a marker containing the invoking user, host, working directory, and command arguments.
shim.jsView on unpkg · L9The shim launches a browser to an external repository without user interaction.
shim.jsView on unpkg · L18It then locates and executes the real Node binary, letting the intercepted command continue after its side effects.
shim.jsView on unpkg · L51It installs a bin named `node`, shadowing the system Node executable in dependency script PATHs.
package.jsonView on unpkg · L5Package declares a bin command that shadows a Node package-manager runtime executable.
package.jsonView on unpkgThe shim writes a marker containing the invoking user, host, working directory, and command arguments.
shim.jsView on unpkg · L9The shim launches a browser to an external repository without user interaction.
shim.jsView on unpkg · L18It then locates and executes the real Node binary, letting the intercepted command continue after its side effects.
shim.jsView on unpkg · L51A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
shim.jsView on unpkg