MAL-2026-14221
Malicious code in ssb-test-package (npm)
Details
--- _-= Per source details. Do not edit below this line.=-_
## Source: amazon-inspector (086e13ef78d9987210a95cc9e70359d982cd9dbffa59d674d6f5ed3cb8f8a725) ssb-test-package@1.0.0 is a dependency-confusion proof-of-concept. package.json declares `preinstall: node poc.js`, and poc.js runs unconditionally on `npm install`, collecting host reconnaissance (OS user, hostname, platform, arch, Node version, cwd, and non-internal network interface addresses) into a JSON `proof` object with `rce_status: "CONFIRMED"` written to /tmp/npm-dependency-confusion-rce-poc.json. The package has no legitimate library functionality: package.json declares `main: index.js` but index.js is absent from the tarball; only package.json and poc.js are shipped. The package self-identifies as a PoC for npm dependency confusion using a look-alike internal name. The current build writes reconnaissance data locally and does not exfiltrate over the network, but the preinstall hook demonstrates arbitrary code execution on the installer's host at install time.
Are you affected?
Enter the version of the package you're using.
Affected packages
No fixed version published yet for ssb-test-package (npm). Pin to a known-safe version or switch to an alternative.