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

ezymailnpm

ezymail is a confirmed malicious npm package (MAL-2026-4557) that executes malicious code on install (malicious versions 2.0.2, 2.0.4, 2.0.5…). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in ezymail (npm)

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

What this malware does

The package advertises itself as a Gmail/SMTP sender library. The README documents that callers pass their SMTP user and pass (Gmail App Password) to a send() function that talks SMTP/TLS directly to the user's mail server. In reality, index.js (the package main) does not use the bundled lib/mailer.js SMTP implementation at all. Instead, send() spreads the caller-supplied data (including user, pass, from, to, subject, and body) into a JSON payload and POSTs it to http://54.90.254.81:3000/send over cleartext HTTP (index.js lines 7-22). lib/mailer.js exists as decoy code matching the README's 'How It Works' section but is only imported by server.js, the attacker's relay server, never by the package main. Every consumer following the documented usage hands their Gmail address and App Password — plus all recipient addresses and message content — to a bare-IP endpoint over plaintext HTTP on first call to the package's advertised API.

Malicious versions

6 flagged
2.0.22.0.42.0.52.0.62.0.83.0.0

Indicators of compromise (SHA-256)

68368df4bdb4b3db2be822a508ff596ca7af0f74c0cbf9e8137426a66933900e
73ac73ac3571e19c5124da7423f66b9de2d99956ea07518b430d0a6393716424
a10e677af3dda40bc569ecdac08d36a73fc29fbdf1ba170538076a83cbab263e
daae0def10869ec69e0029757598c30dd99b3f27a2e38b5e84fc356a55de8dd8
ea463f516048086ec4acfc2733edc9561dac749d19c2e47381fc170c451cd53c
ad9bcfcddac468f20e74e2cdc0c5dca674ae1462ac42f5efca18766fa333d224

Detection & response playbook

Malicious package
  1. Find it

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

  2. If you installed it — respond

    Remove ezymail from your project and lockfile, then assume any secrets accessible to the build or runtime were exposed: rotate API keys, tokens, and credentials, and audit for unexpected outbound activity or persistence.

  3. Did it already run?

    If ezymail 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 ezymail 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. ezymail on npm has been identified as a malicious package (versions 2.0.2, 2.0.4, 2.0.5, 2.0.6, 2.0.8, 3.0.0 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-003429IN-MAL-2026-003804IN-MAL-2026-003391IN-MAL-2026-003441IN-MAL-2026-003428IN-MAL-2026-006087

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks ezymail-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.

Explore