npm · Malicious package advisory
Malwareremove-bg-serverless-azure
GHSA-wrhf-g6v2-j56v
Malicious code in remove-bg-serverless-azure (npm)
Details
**Severity:** Critical **Affected versions:** `= 1.0.1` ## Source: amazon-inspector (dcbce8344eb0762c4a9ef029743efe13045422b839444b828c245a09a85fc74e) package.json declares `preinstall: node index.js`, so `npm install` automatically runs index.js. index.js reads os.hostname(), os.userInfo(), the user home directory, DNS server configuration, and the contents of /etc/passwd and /etc/hosts, and POSTs the collected data over HTTPS to the hardcoded host 7iqn7pls4ly6w8valba0xcxygpmha7yw.oastify.com (a Burp Collaborator / OAST subdomain used as an attacker-controlled callback). Installing the package causes installer-side identifiers and sensitive system files to be sent to an external attacker endpoint on install. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/72e5d8219b286d7332c4ad2364b87986138cf34c/osv/malicious/npm/remove-bg-serverless-azure/MAL-2026-14438.json)) **References:** - https://github.com/ossf/malicious-packages/blob/72e5d8219b286d7332c4ad2364b87986138cf34c/osv/malicious/npm/remove-bg-serverless-azure/MAL-2026-14438.json - https://www.npmjs.com/package/remove-bg-serverless-azure/v/1.0.1 - https://github.com/advisories/GHSA-wrhf-g6v2-j56v
Compromised versions (1)
- = 1.0.1
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.