{"id":"MAL-2026-16383","summary":"Malicious code in mxdriver (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (2f3ed1442f0588fda7bc378a0fe79c7170864472c6cca93b8ec6629645b1add0)\nThe npm package mxdriver@0.0.2 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.\n","modified":"2026-09-22T15:31:45.233727917Z","published":"2026-09-22T14:52:04Z","database_specific":{"malicious-packages-origins":[{"versions":["0.0.2"],"id":"IN-MAL-2026-020289","import_time":"2026-09-22T15:18:37.887179868Z","modified_time":"2026-09-22T14:52:04Z","sha256":"2f3ed1442f0588fda7bc378a0fe79c7170864472c6cca93b8ec6629645b1add0","source":"amazon-inspector"},{"sha256":"b3f28dcf66d0ddadf35165f8fea52068c06dd69fc7397be12be489a4e297f7cc","source":"amazon-inspector","versions":["0.0.1"],"id":"IN-MAL-2026-020292","import_time":"2026-09-22T15:18:38.240303054Z","modified_time":"2026-09-22T14:52:34Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/mxdriver/v/0.0.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/mxdriver/v/0.0.1"}],"affected":[{"package":{"name":"mxdriver","ecosystem":"npm","purl":"pkg:npm/mxdriver"},"versions":["0.0.2","0.0.1"],"database_specific":{"cwes":[{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"package_integrity":[{"hashes":{"sha512_sri":"sha512-CLXFWsZdo83gZ9g+cHex6yo+61f4It+fKdYXXJCl9ZoaoFpD+s8EpFp9cFdHGlSiUTeBcSb5+XeYEUrIKR4dKA==","sha1":"8a808c7de108d5020a25067d55ba42802249e38b"},"filename":"mxdriver-0.0.2.tgz"}],"evidence_files":[{"tlsh":"5db1969250f0289333a38af6b66fe0d6e36fc5193196c983e41c69557f8d83dc5d2874","path":"scripts/postinstall.js","sha256":"b27a8f3afffea83cd0fdc686347ee070c633bec3ba6b99d77114c12214616ffb"},{"sha256":"cb8079965222d3191f6c592744cd0a6b1ff5bb4626561d539dc3443a699c46f7","tlsh":"2fb1959254f0289333a38af6b66fd0d5e36f851931d6ca83e41ca9563f8d83dc5e2874","path":"scripts/preinstall.js"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/mxdriver/MAL-2026-16383.json"}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}