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

mddrivernpm

mddriver is a confirmed malicious npm package (MAL-2026-5791) that steals credentials and exfiltrates sensitive data (malicious versions 1.8.1, 1.8.2, 1.8.3…). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in mddriver (npm)

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

What this malware does

On require('mddriver'), an IIFE in index.js invokes loadTokenData(), which fetches https://www.jsonkeeper.com/b/C4H0M (stored base64-encoded as "aHR0cHM6Ly93d3cuanNvbmtlZXBlci5jb20vYi9DNEgwTQ==" and decoded with atob), parses the JSON response, and passes the.content field to a Function-constructor evaluator (new (Function.contructor)(...)) for execution. The paste-style host is anonymous and the fetched content is fully mutable — any consumer that imports this package executes whatever JavaScript the operator of that paste serves at that moment, with no signature, hash, or pinning. The package metadata advertises 'MongoDB connection driver' but the shipped index.js is a verbatim copy of Node's built-in path module with the dropper appended; the name 'mddriver' and the misleading description are consistent with a typosquat targeting developers searching for mongodb / mongoose drivers.

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.

Malicious versions

6 flagged
1.8.11.8.21.8.31.8.41.8.51.8.6

Indicators of compromise (SHA-256)

0ee35202550715cbac37d68d73bc21d03bb77ce6bc0344d35cc888ec9d7386b6
23788efca2b8bfdbba9ddfb832302d51900d1e8b76cc086d8de20a4d10788830
2fba277e47ff86cbf1157c8ea6f1e99c0f929e75676f080b335174a90b7fe299
5a5b264d05ffaf76e8be2d7a46cb2277211a045fa15e8c510ab60cdd5c5bae56
60df6c04caff9968ec7a4c511213425653f6c3ce4a4bb49f41c8e22360de7eb3
c647b8cad06488430fd2c7f37b2ace1d9ddfef7cad74bd8fa0b07905c7eb480f
d65de0c9e338c91580589a2b878860289cf0d49760d4770d4eca8f3df78b29b5
5c7ab6a385ebd75263a4c570d3b7214acc1d6e61a9c8fb4788e9e08fabd766f1
8f806e408e1e61e839b6c693dd719dd5f5f3e7b26f5f5a5149d8085e7997df06
cc2cfb53823d22e1d06e31d506013143409583d37f05815c099555ddf2790f89
45fd76a2765e02f6a60cec830796a1e08003fabc1704c1a645369ebd86c0244d
949a5851d2baefd5c9c4010f4e7e966883b7749d4b4cf3b983bd3f74890d655b

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 mddriver (6 malicious versions). O3 Security's supply-chain scanner checks every dependency against known-malicious package intelligence at install time and in CI, flagging mddriver across your stack and pipelines.

  2. If you installed it — respond

    mddriver 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 mddriver 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 mddriver 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. mddriver on npm has been identified as a malicious package (versions 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.5, 1.8.6 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-006518IN-MAL-2026-006523IN-MAL-2026-006519IN-MAL-2026-006520IN-MAL-2026-006522IN-MAL-2026-006517IN-MAL-2026-006526IN-MAL-2026-006524IN-MAL-2026-006521IN-MAL-2026-006525GHSA-75f4-4w6r-vvchIN-MAL-2026-008821

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks mddriver-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

mddriver (npm) malicious package — MAL-2026-5791 | O3 Security