OpenSSF/OSV advisory MAL-2026-6366 confirms this npm version as malicious. package.json declares `"preinstall": "node index.js"`, causing index.js to execute automatically on `npm install`. The script collects host identifiers (os.hostname, os.userInfo, homedir, DNS servers, cwd, full package.json) and reads /etc/passwd and /etc/hosts via fs.readFileSync, then HTTPS POSTs the JSON payload to xopalguac3nk3bb10x9r4t6q7hdd13ps.oastify.com — a Burp Collaborator (OAST) subdomain used for...
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in backpack-ios (npm)
Details
package.json declares `"preinstall": "node index.js"`, causing index.js to execute automatically on `npm install`. The script collects host identifiers (os.hostname, os.userInfo, homedir, DNS servers, cwd, full package.json) and reads /etc/passwd and /etc/hosts via fs.readFileSync, then HTTPS POSTs the JSON payload to xopalguac3nk3bb10x9r4t6q7hdd13ps.oastify.com — a Burp Collaborator (OAST) subdomain used for out-of-band data exfiltration. The package name mirrors Skyscanner's Backpack iOS design-system package while shipping a ~2KB exfil-only payload with empty author/description fields, consistent with a dependency-confusion / typosquat lure. Installing this package directly leaks installer host identity and local user account data to an attacker-controlled endpoint.
Decision reason
OpenSSF Malicious Packages via OSV confirms backpack-ios@1.0.0 as malicious (MAL-2026-6366): Malicious code in backpack-ios (npm)