Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Malicious package

web-advertisingnpm

Advisory published Updated

web-advertising is a confirmed malicious npm package (MAL-2026-14440) that steals credentials and exfiltrates sensitive data (malicious versions 999.9.15, 999.9.16). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in web-advertising (npm)

MAL-2026-14440
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall web-advertising

What this malware does

[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.

Malicious versions

2 flagged
999.9.15999.9.16

Indicators of compromise (SHA-256)

a6fb813ae0ff5bda702a6717b2f648ce16b4603550a9c5b864536f775eaf337c
bc7c0c1f060691740d5149c61d74f3ddd8f6e10107c7621d700ae0819a1e2237

Detection & response playbook

Credential / info stealer
  1. Find it

    Search your lockfiles and build artifacts for web-advertising (2 malicious versions).

  2. If you installed it — respond

    web-advertising is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.

  3. Did it already run?

    If web-advertising was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.

Frequently asked questions

No. web-advertising on npm has been identified as a malicious package (versions 999.9.15, 999.9.16 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-018628IN-MAL-2026-018629

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks web-advertising-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.

Explore

web-advertising (npm) malicious package — MAL-2026-14440 | O3 Security