MAL-2026-14440
Malicious code in web-advertising (npm)
Details
--- _-= Per source details. Do not edit below this line.=-_
## Source: amazon-inspector (bc7c0c1f060691740d5149c61d74f3ddd8f6e10107c7621d700ae0819a1e2237) web-advertising@999.9.16 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.
Are you affected?
Enter the version of the package you're using.
Affected packages
No fixed version published yet for web-advertising (npm). Pin to a known-safe version or switch to an alternative.