OpenSSF/OSV advisory MAL-2026-6349 confirms this npm version as malicious. package.json declares `preinstall: node index.js`, causing index.js to run automatically on `npm install`. The script collects hostname, username, home directory, DNS servers, and the full package.json, and reads `/etc/passwd` and `/etc/hosts` (index.js:18), then HTTPS-POSTs the JSON payload to `cp5uzinglyy3ifb8gvvgvq5qvh19p0dp.oastify.com` (a Burp Collaborator out-of-band subdomain controlled by the attacker)...
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in bug-monorepo (npm)
Details
package.json declares `preinstall: node index.js`, causing index.js to run automatically on `npm install`. The script collects hostname, username, home directory, DNS servers, and the full package.json, and reads `/etc/passwd` and `/etc/hosts` (index.js:18), then HTTPS-POSTs the JSON payload to `cp5uzinglyy3ifb8gvvgvq5qvh19p0dp.oastify.com` (a Burp Collaborator out-of-band subdomain controlled by the attacker). Empty author/description fields and the generic `bug-monorepo` name are consistent with a dependency-confusion recon package targeting an internal namespace. Installing this package leaks host identity and sensitive system file contents to an attacker-controlled endpoint.
Decision reason
OpenSSF Malicious Packages via OSV confirms bug-monorepo@3.1.94 as malicious (MAL-2026-6349): Malicious code in bug-monorepo (npm)