MAL-2026-16383

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/mxdriver/MAL-2026-16383.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-16383
Published
2026-09-22T14:52:04Z
Modified
2026-09-22T15:31:45Z
Summary
Malicious code in mxdriver (npm)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (2f3ed1442f0588fda7bc378a0fe79c7170864472c6cca93b8ec6629645b1add0)

The 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.

Database specific
{
    "malicious-packages-origins":  [
        {
            "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",
            "versions":  [
                "0.0.2"
            ]
        },
        {
            "id":  "IN-MAL-2026-020292",
            "import_time":  "2026-09-22T15:18:38.240303054Z",
            "modified_time":  "2026-09-22T14:52:34Z",
            "sha256":  "b3f28dcf66d0ddadf35165f8fea52068c06dd69fc7397be12be489a4e297f7cc",
            "source":  "amazon-inspector",
            "versions":  [
                "0.0.1"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / mxdriver

Package

Affected ranges

Affected versions

0.*
0.0.1
0.0.2

Database specific

cwes
[
    {
        "cweId":  "CWE-506",
        "description":  "The product contains code that appears to be malicious in nature.",
        "name":  "Embedded Malicious Code"
    },
    {
        "cweId":  "CWE-506",
        "description":  "The product contains code that appears to be malicious in nature.",
        "name":  "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files":  [
        {
            "path":  "scripts/postinstall.js",
            "sha256":  "b27a8f3afffea83cd0fdc686347ee070c633bec3ba6b99d77114c12214616ffb",
            "tlsh":  "5db1969250f0289333a38af6b66fe0d6e36fc5193196c983e41c69557f8d83dc5d2874"
        },
        {
            "path":  "scripts/preinstall.js",
            "sha256":  "cb8079965222d3191f6c592744cd0a6b1ff5bb4626561d539dc3443a699c46f7",
            "tlsh":  "2fb1959254f0289333a38af6b66fd0d5e36f851931d6ca83e41ca9563f8d83dc5e2874"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "mxdriver-0.0.2.tgz",
            "hashes":  {
                "sha1":  "8a808c7de108d5020a25067d55ba42802249e38b",
                "sha512_sri":  "sha512-CLXFWsZdo83gZ9g+cHex6yo+61f4It+fKdYXXJCl9ZoaoFpD+s8EpFp9cFdHGlSiUTeBcSb5+XeYEUrIKR4dKA=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/mxdriver/MAL-2026-16383.json"