MAL-2026-12579

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/checkout-mobile-promocode/MAL-2026-12579.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12579
Published
2026-08-05T14:10:52Z
Modified
2026-08-05T14:35:33.197741847Z
Summary
Malicious code in checkout-mobile-promocode (npm)
Details

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

Source: amazon-inspector (f8b1a15a2100e63737bf9fdc85ec750761a4e58b07f961d8a5734a6f99626026)

On require, index.js loads vendor.js which reconstructs destination hostnames from split string literals (e.g. ["oob-worker.c","f102-baf.worker","s.dev"].join("") and ['sdk.d','l.w','el1.ru'].join("")) to hide them from static inspection. It selects a platform-specific asset, downloads an unpinned, unverified executable from one of several *.workers.dev endpoints, falling back to DNS TXT base64 chunks under *.dl.wel1.ru (sdk/ext/pkg/net.dl.wel1.ru), writes it to /var/tmp or %TEMP% under a disguised name such as dotnetdiag_*.exe or.cache_*, sets mode 0755 via fs.chmodSync, and spawns it detached via cp.spawn("/bin/sh",["-c", fp+" &"], {detached:true}) or cmd.exe. A sibling file lib/telemetry.js contains a structurally identical fetch-decode-chmod-spawn payload using require("child_"+"process") and fs["chmod"+"Sync"], packaged as an "analytics SDK" variant of the same dropper. The package name mimics a legitimate mobile-checkout/promo-code component but its only on-import effect is delivery and execution of attacker-controlled native code.

Database specific
{
    "malicious-packages-origins": [
        {
            "sha256": "f8b1a15a2100e63737bf9fdc85ec750761a4e58b07f961d8a5734a6f99626026",
            "id": "IN-MAL-2026-015197",
            "modified_time": "2026-08-05T14:10:52Z",
            "import_time": "2026-08-05T14:20:11.983357403Z",
            "source": "amazon-inspector",
            "versions": [
                "35.6.9"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / checkout-mobile-promocode

Package

Name
checkout-mobile-promocode
View open source insights on deps.dev
Purl
pkg:npm/checkout-mobile-promocode

Affected ranges

Affected versions

35.*
35.6.9

Database specific

indicators
{
    "evidence_files": [
        {
            "sha256": "9a392d4eafb4ae9d81c226cfcb8f91d6cd564e04eb3fd390b774eb56b12d41bb",
            "path": "_vendor.js",
            "tlsh": "8ca1a5aa156670194bb0d7e486075406f65bf6637380c5d8fb9ca9980fb222483b2efc"
        },
        {
            "sha256": "45a0d57a7f9d2c590f80b30bcf1a15ca52ec14d1e24bd3d843d57ec942bef0bc",
            "path": "lib/telemetry.js",
            "tlsh": "cf835056566a142186b2b368df234107ff3685272643429dbafc82dc1fbd72092a5ffc"
        }
    ],
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-Ph2MxHhqHyB2AAxDKhIIqrb8yoaRap3zsy9nRqFoOxdHuuvXzOd/wa+i8xpzd2Ygx9+JmYONyuHqx3oQdVCn2A==",
                "sha1": "28dbbada9d06d45338e275d58791e0ba905a53a4"
            },
            "filename": "checkout-mobile-promocode-35.6.9.tgz"
        }
    ]
}
cwes
[
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/checkout-mobile-promocode/MAL-2026-12579.json"