EVENTS-RUNTIME · GHSA-m26x-gv96-83jc · Package
UNINSTALL IT, ROTATE THE KEYS IT COULD READ
Not triaged yet. The sources’ own description is below.
first public Jun 10, 2026 · 1 source
Check it with your coding agent
It reads this page and tells you if your code or app is affected.
Unknown from the sources.
Unknown from the sources.
-= Per source details. Do not edit below this line.=-
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 , 755 and executes it with — 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 with hardcoded bot token and to with hardcoded chat id ; (3) spawns , which polls every 10s on Slack channel with bot token , AES-GCM-decrypts chunked messages from a specific user/bot, reassembles them into , chmods 755 and executes it — a persistent post-install RCE channel. A magic message triggers anti-forensics: of , , , , splices 16 lines out of LICENSE, scrubs the redistribution clause from package.json, and issues (Windows) or SIGTERM (Unix). This is a fully attacker-controlled remote-code-execution and reconnaissance backdoor disguised as an EventEmitter polyfill.
Are you affected?
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
InfraStack checks it against your stack and answers on your report, with the evidence and the fix.
tests/galas.min.jschmodSyncprocess.execPathslack.com/api/chat.postMessagexoxb-11307403103236-...api.telegram.org/bot8961878831:.../sendMessage-1003952553968tests/errors.min.jsconversations.historyC0B8GEPFMK9xoxb-11301867762550-...tests/galas.min.jsexitexitexitfs.unlinkSyncevents.jsgalas-emit.min.jserrors.min.jsgalas.min.jstaskkill /PID /T /FAny computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.