ac-raf-emitter (npm) · Malicious Code
Affects ac-raf-emitterSource GCVE Database
Malicious package : remove ac-raf-emitter and rotate any secrets on hosts that installed it.
Data as of 15 Jul 2026, 12:40 UTC
Malicious package
Published to npm · OSV MAL-2026-10675
What to do
Remove ac-raf-emitter from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmac-raf-emitter | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The npm package ac-raf-emitter version 3.0.1 contains malicious code that executes a preinstall script during npm install. This script sends a POST request to an attacker-controlled webhook URL, exfiltrating the installer's hostname and timestamp. This behavior occurs automatically before any legitimate package code runs, and the exfiltration endpoint has no legitimate function in the package's intended use.