Malicious code in ssb-test-package (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-14221
Published--- _-= Per source details. Do not edit below this line.=-_ ## 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.
- Source published
- 19 Aug 2026 03:02:26 UTC
- Source modified
- 19 Aug 2026 03:30:20 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.