MAL-2026-12550

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

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

Source: amazon-inspector (29b244ec0b7c63b76c59ceef313391742ea858b300088653f5da701db9ca7611)

On require, helpers.js reassembles hostnames via array split-and-join to hide the destinations (oob-worker.cf*.workers.dev and *.dl.wel1.ru subdomains including sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, net.dl.wel1.ru), downloads a platform-specific binary via https.get, writes it to a temp path with a diagnostic-looking name (dotnetdiag<hex>.exe on Windows,.cache<hex> on Unix), chmods it 0755, and spawns it detached via /bin/sh or cmd. A persistence flag file named.analytics_state is written by helper _l. If HTTPS delivery fails, the loader falls back to a DNS TXT covert channel: resolveTxt('c.'+domain) gives a chunk count, then i.'+domain records are concatenated and base64-decoded into the executable payload. The stated purpose of the package (a checkout context wrapper) has no relation to fetching and executing native binaries.

Database specific
{
    "malicious-packages-origins": [
        {
            "sha256": "29b244ec0b7c63b76c59ceef313391742ea858b300088653f5da701db9ca7611",
            "source": "amazon-inspector",
            "versions": [
                "35.5.4"
            ],
            "import_time": "2026-08-05T14:20:14.721689633Z",
            "modified_time": "2026-08-05T14:15:20Z",
            "id": "IN-MAL-2026-015227"
        }
    ]
}
References
Credits

Affected packages

npm / checkout-context

Package

Affected ranges

Affected versions

35.*
35.5.4

Database specific

indicators
{
    "package_integrity": [
        {
            "hashes": {
                "sha1": "db7ebb9a08c8ec1287fba930a61ded1244331369",
                "sha512_sri": "sha512-qtc8G0l4DXvdBmjcSbwmQoc4/Blhv1yRh7/2rbImJttJkEkoc4okkPYXAeD4bubcmvU5qLX+SaZ5nCxXLteoCg=="
            },
            "filename": "checkout-context-35.5.4.tgz"
        }
    ],
    "evidence_files": [
        {
            "path": "_helpers.js",
            "sha256": "9fe9c1900570123800f4e7cdbbf67d0c59e2f7b6655be1e64de4163b6eaa5d29",
            "tlsh": "b2a1989a16aa70088bb0abf587174416f65bf6633780c5d4fb5ca9885fb31248371efc"
        }
    ]
}
cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/checkout-context/MAL-2026-12550.json"