npm · Malicious package advisory
Malwareweb-advertising
GHSA-3mvm-g3vr-wr9x
Malicious code in web-advertising (npm)
Details
**Severity:** Critical **Affected versions:** `= 999.9.15` ## Source: amazon-inspector (bc7c0c1f060691740d5149c61d74f3ddd8f6e10107c7621d700ae0819a1e2237) [email protected] declares scripts.preinstall = 'node index.js', so index.js executes automatically on npm install. The script collects hostname, username, home directory, local/public/resolver IP addresses, CI environment identifiers (GITHUB_REPOSITORY, GITHUB_ACTOR, CI_PROJECT_PATH, AWS_REGION), the parent project's package.json name/author/repo, and authenticated developer identities obtained by shelling out to `gh api user --jq.login`, `npm whoami`, and `git config user.email`. The collected JSON is hex-encoded, split into 60-character chunks, and exfiltrated via DNS subdomain queries to da51rv0hb2uc72tg4gvgdepinjcallbk1.oast.fun and via HTTPS/HTTP POST to the same callback host. The package name plus 999.9.16 versioning and the OAST callback are consistent with a dependency-confusion beacon. The README's self-description as authorised research does not change the observed behavior: installer host, CI, and identity data leave the machine to an author-controlled third-party callback with no installer consent, and DNS tunneling is used to bypass egress filtering. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/72e5d8219b286d7332c4ad2364b87986138cf34c/osv/malicious/npm/web-advertising/MAL-2026-14440.json)) **References:** - https://github.com/ossf/malicious-packages/blob/72e5d8219b286d7332c4ad2364b87986138cf34c/osv/malicious/npm/web-advertising/MAL-2026-14440.json - https://www.npmjs.com/package/web-advertising/v/999.9.15 - https://www.npmjs.com/package/web-advertising/v/999.9.16 - https://github.com/advisories/GHSA-3mvm-g3vr-wr9x
Compromised versions (1)
- = 999.9.15
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.