Skip to main content
MalwarePublished Updated

events-runtime (npm) · Malicious Code

Affects events-runtimeSource GCVE Database

0

Malicious package : remove events-runtime and rotate any secrets on hosts that installed it.

Data as of 16 Nov 2026, 20:06 UTC

Classification

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

ProductAffectedFixed in
npmevents-runtimeAffected
  • 3.1.3 – 3.3.0
6 affected builds
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

Community reviews

Loading reviews…