Skip to main content
MalwarePublished Updated

modern-events (npm) · Malicious Code

Affects modern-eventsSource GCVE Database

0

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

Data as of 25 Nov 2026, 11:58 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-2914

What to do

Remove modern-events 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
npmmodern-eventsAffected
  • 1.3.0 – 1.5.2
13 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 npm package 'modern-events' contains malicious code that exfiltrates local system information via Telegram and Slack when the EventEmitter.emit(...) function is used. It also downloads a Win64 backdoor (FaxedCook) to a specific path on the infected system. Systems with this package installed should be considered fully compromised, and all secrets and keys should be rotated from a different machine.

References

Community reviews

Loading reviews…