npm · Malicious package advisory
Malwarefulfillment-cuprum-auth-widget
GHSA-wh94-xh5h-j48v
Malicious code in fulfillment-cuprum-auth-widget (npm)
Details
**Severity:** Critical **Affected versions:** `= 3.7.2` ## Source: amazon-inspector (06df6767178d76043d26df04fcbe4e8de2f579d38e96f52a04346c04a6dda565) The package's preinstall script (index.js) runs automatically on npm install and collects host identifiers via os.hostname(), os.userInfo(), os.homedir(), and DNS lookups, then JSON-stringifies the entire process.env and POSTs both payloads to a hardcoded external host at https://l2ha5tswnm71286wnjgrngvb4tyejmdpe.i.dr0gas.com/exf. Bulk process.env serialization on developer and CI machines captures whatever secrets are present in the environment (cloud credentials, registry tokens, CI secrets). The destination domain is unrelated to any legitimate npm publisher and follows a dependency-confusion exfiltration pattern (long random subdomain under an attacker-controlled apex). --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/9947fca3b118619628d7c35349b0b5d2b1852e1c/osv/malicious/npm/fulfillment-cuprum-auth-widget/MAL-2026-16176.json)) **References:** - https://github.com/ossf/malicious-packages/blob/9947fca3b118619628d7c35349b0b5d2b1852e1c/osv/malicious/npm/fulfillment-cuprum-auth-widget/MAL-2026-16176.json - https://www.npmjs.com/package/fulfillment-cuprum-auth-widget/v/3.7.2 - https://github.com/advisories/GHSA-wh94-xh5h-j48v
Compromised versions (1)
- = 3.7.2
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.