events-runtime (npm) · Malicious Code
Affects events-runtimeSource GCVE Database
Malicious package : remove events-runtime and rotate any secrets on hosts that installed it.
Data as of 16 Nov 2026, 20:06 UTC
Malicious package
Published to npm · OSV MAL-2026-5528
What to do
Remove events-runtime 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 |
|---|---|---|
| npmevents-runtime | 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 events-runtime npm package is a malicious backdoor disguised as a polyfill for Node.js EventEmitter. It executes obfuscated code fetched dynamically from an Ethereum smart contract, enabling attacker-controlled remote code execution. The malware collects system information and exfiltrates it via Slack and Telegram using hardcoded credentials. It also maintains persistent command-and-control by polling Slack messages, decrypting and executing payloads. A special command triggers anti-forensic cleanup to remove traces. Any system with this package installed is considered fully compromised.
References
- npmjs.com/package/events-runtime/v/3.3.0 (opens in a new tab)
- npmjs.com/package/events-runtime/v/3.2.4 (opens in a new tab)
- npmjs.com/package/events-runtime/v/3.2.3 (opens in a new tab)
- npmjs.com/package/events-runtime/v/3.2.0 (opens in a new tab)
- npmjs.com/package/events-runtime/v/3.2.1 (opens in a new tab)
- npmjs.com/package/events-runtime/v/3.1.3 (opens in a new tab)
- github.com/advisories/GHSA-m26x-gv96-83jc (opens in a new tab)