MAL-2026-14221
Dashboard / Malicious Package / MAL-2026-14221
MAL-2026-14221
Summary: Malicious code in ssb-test-package (npm)
Details: Source: amazon-inspector (086e13ef78d9987210a95cc9e70359d982cd9dbffa59d674d6f5ed3cb8f8a725) [email protected] 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.
Affected packages
Package
Name: ssb-test-package
Purl: pkg:npm/ssb-test-package
Affected ranges
Type: N/A
Events:
