VYPR

npm · Malicious package advisory

Malware

mxdriver

GHSA-5hjc-6hw8-375j

Malicious code in mxdriver (npm)

Details

**Severity:** Critical

**Affected versions:** `= 0.0.2`

## Source: amazon-inspector (2f3ed1442f0588fda7bc378a0fe79c7170864472c6cca93b8ec6629645b1add0)
The npm package [email protected] ships obfuscator.io-style string-array-obfuscated preinstall and postinstall scripts (scripts/preinstall.js, scripts/postinstall.js). On npm install, the decoded scripts fetch remote content from api.imghippo.com (an anonymous third-party image host, e.g. https://api.imghippo.com/files/hOG8244hc.png) and a second URL under www.image.com/, write the bytes into the package directory as gldriver_pre_asset.exe and gldriver_pre_core.exe, then invoke a platform-specific opener against the.exe path via child_process.exec (`mspaint "..."` on win32, `open "..."` on darwin, `xdg-open "..."` on linux), and delete the files. The README frames the package as a Google APIs wrapper, which does not correspond to downloading and opening.exe files at install time. The delivery source is mutable and non-publisher, no hash or signature is verified, the destination filename is an executable extension, and the URLs, filenames, and shell commands are all hidden behind a rotated string-array accessor (`_0x5c7e`) — a classic install-time dropper pattern whose payload can be swapped at any time by whoever controls the imghippo asset.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/bac0e4e252a3c5e712237c271dacc3ef1ff1cf55/osv/malicious/npm/mxdriver/MAL-2026-16383.json))

**References:**
- https://github.com/ossf/malicious-packages/blob/bac0e4e252a3c5e712237c271dacc3ef1ff1cf55/osv/malicious/npm/mxdriver/MAL-2026-16383.json
- https://www.npmjs.com/package/mxdriver/v/0.0.1
- https://www.npmjs.com/package/mxdriver/v/0.0.2
- https://github.com/advisories/GHSA-5hjc-6hw8-375j

Compromised versions (1)

  • = 0.0.2

Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.