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

events-runtimenpm

Malicious code in events-runtime (npm) Remove it immediately and rotate any exposed credentials.

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

What this malware does

Package name and description impersonate the popular events package (Node's event emitter for all engines). The vendored events.js adds an undocumented branch in EventEmitter.prototype.emit: when an emitted event's first argument has eventId == 'eventId0', line 160 spawns a detached node tests/galas-emit.min.js with stdio: 'ignore' and windowsHide: true. tests/galas-emit.min.js is heavily obfuscated (obfuscator.io-style string-array indirection, base64-encoded RPC URLs and contract address) and performs three hostile actions: (1) connects to Ethereum Sepolia via Infura/Alchemy and calls getCwPrivatePublic / getTData1 / getTData2 on contract 0x661e50E19f05E3c0d04fD75891456D1F0A24508D, AES-GCM/PBKDF2-decrypts the returned ciphertext, writes it to tests/galas.min.js, chmodSync 755 and executes it with process.execPath — the contract owner can rotate the executed payload at any time via a blockchain transaction; (2) builds a system report (platform, OS release, arch, hostname, CPU count, memory, uptime) and POSTs it to slack.com/api/chat.postMessage with hardcoded bot token xoxb-11307403103236-... and to api.telegram.org/bot8961878831:.../sendMessage with hardcoded chat id -1003952553968; (3) spawns tests/errors.min.js, which polls conversations.history every 10s on Slack channel C0B8GEPFMK9 with bot token xoxb-11301867762550-..., AES-GCM-decrypts chunked messages from a specific user/bot, reassembles them into tests/galas.min.js, chmods 755 and executes it — a persistent post-install RCE channel. A magic exitexitexit message triggers anti-forensics: fs.unlinkSync of events.js, galas-emit.min.js, errors.min.js, galas.min.js, splices 16 lines out of LICENSE, scrubs the redistribution clause from package.json, and issues taskkill /PID /T /F (Windows) or SIGTERM (Unix). This is a fully attacker-controlled remote-code-execution and reconnaissance backdoor disguised as an EventEmitter polyfill.

Malicious versions

6 flagged
3.1.33.2.03.2.13.2.33.2.43.3.0

Indicators of compromise (SHA-256)

9dec390f61d4b2205b07cb0dae6c7be308ebf5c95a9167341b1ee6bfca485608
81f4151f241e7877d2286f5967a243b35c6d2453078ed5acc19bfc72b16167b2
ce0cccf0a6a07263bbcbc1a126783d86d429ada554e38332c7217b603d3d7856
a32b51b6fc162552e8b95663c3dedd9ba44e4a3a4977772b5772e5ad4aacee8b
aac4806dc5c887c91db1f2570abcae5b98d62dfae36bea2ddb9e2449efd62eca
d49bc1a05481ff0ad03ecdb0e740aad30c3c9e09d4858527febf9def08234445

Detection & response playbook

Credential / info stealer
  1. Find it

    Scan your lockfiles (package-lock.json, pnpm-lock.yaml, yarn.lock, requirements.txt, poetry.lock, etc.) and build artifacts for events-runtime (6 malicious versions). O3 Security's supply-chain scanner checks every dependency against known-malicious package intelligence at install time and in CI, flagging events-runtime across your stack and pipelines.

  2. If you installed it — respond

    events-runtime 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 events-runtime was ever installed, its post-install/runtime payload may have already executed. O3's L7 egress monitoring and runtime eBPF sensors detect the credential exfiltration or command-and-control callback after install and block the malicious outbound channel, so you catch and contain the actual compromise — not just the presence of the package.

  4. How O3 protects you

    O3 blocks events-runtime before install through its supply-chain scanner, and if it has already run, detects and severs the exfiltration or C2 callback at runtime through L7 egress monitoring and eBPF.

Frequently asked questions

No. events-runtime on npm has been identified as a malicious package (versions 3.1.3, 3.2.0, 3.2.1, 3.2.3, 3.2.4, 3.3.0 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-005260IN-MAL-2026-005352IN-MAL-2026-005375IN-MAL-2026-005385IN-MAL-2026-005386IN-MAL-2026-005387

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks events-runtime-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

events-runtime (npm) malicious package — MAL-2026-5528 | O3 Security