OpenSSF/OSV advisory MAL-2026-5747 confirms this npm version as malicious. package.json declares `"preinstall": "node index.js"`, which fires automatically on `npm install`. index.js collects host fingerprinting data — `os.hostname()`, `os.userInfo()`, `process.platform`, uid/gid, shell, cwd, and the output of `child_process.exec('whoami')` and `exec('id')` — and POSTs the result as JSON to the hardcoded URL `https://zad79wtflht20n15czfieir3quwlkb80.oastify.com/detox56`...
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in @giftyhq/widget-components (npm)
Details
package.json declares `"preinstall": "node index.js"`, which fires automatically on `npm install`. index.js collects host fingerprinting data — `os.hostname()`, `os.userInfo()`, `process.platform`, uid/gid, shell, cwd, and the output of `child_process.exec('whoami')` and `exec('id')` — and POSTs the result as JSON to the hardcoded URL `https://zad79wtflht20n15czfieir3quwlkb80.oastify.com/detox56`. The destination is a Burp Collaborator (oastify.com) out-of-band subdomain used as attacker-controlled exfiltration infrastructure. The package ships no legitimate component code; metadata is empty (no author, no description) and the package's only effect is the install-time recon beacon. Name and scope are consistent with a dependency-confusion / namespace-squat lure.
Decision reason
OSV/OpenSSF confirms @giftyhq/widget-components@19.12.11 as malicious package MAL-2026-5747. Malicious code in @giftyhq/widget-components (npm)