LWA-2026-4463 MAL-2026-5791 ↗ confirmed malware

mddriver@1.8.6

Malicious code in mddriver (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1105 · Ingress Tool TransferT1071.001 · Web Protocols

Analysis

mddriver@1.8.6 is a combosquat posing as a MongoDB driver (its README documents a mongo-driver API). The actual index.js is Node's path module with a malicious block injected: it base64-decodes a URL to jsonkeeper[.]com/b/C4H0M, fetches it via fetch() at require-time, and evaluates the response with the Function constructor. The module re-exports the path API to mask the payload, so the malicious fetch is invisible to a consumer who only uses the exported functions.

analyzed by
Leitwacht
first seen
Jun 11, 2026, 10:01 PM
analyzed
Jun 11, 2026, 10:02 PM

Related advisories

browse all confirmed advisories →

Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.