Advisory

MAL-2026-2914

Also known as: GHSA-wwr2-883g-52c2

Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.

Summary

Malicious code in modern-events (npm)

Details

modern-events is a malicious npm package that when imported and using the function EventEmitter.emit(...) in file events.js exfiltrates local system information via telegram and slack and downloads a backdoor (Win64/FaxedCook) to C:/ProgramData/Policy/PublisherPolicy.tms.

---
_-= Per source details. Do not edit below this line.=-_

Source: amazon-inspector (a97f17bfce91fabb0e7466807108d6b07b39eacee5166a4020065cae4b8b98f2)
The package modern-events was found to contain malicious code.

Source: ghsa-malware (0a4d82014ce8355f8f1cde7a537ad359cd49981916ccc325e4a8a2128f7fff6b)
Any 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.

Severity

Not rated by the source.

Dates

Published
2026-04-16 15:24 UTC
Modified
2026-07-23 07:51 UTC

Affected packages and fixes

modern-events

npm · All systems

Affected

  • introduced 0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: OpenSSF Malicious Packages · Apache-2.0

Sources & licences