MAL-2026-12589

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

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

Source: amazon-inspector (c1ca81222c080449cad71d071579738ea810e280c6e8ed3b53647efdde902536)

On require() of checkout-public-tokens, index.js loads platform.js which downloads an opaque binary payload from hardcoded string-split-obfuscated hosts (oob-worker.cf103-070.workers.dev, oob-worker.cf99-9b3.workers.dev, oob-worker.cf101-adf.workers.dev), with a DNS-TXT base64 fallback resolver via sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, and net.dl.wel1.ru. The payload is written to /tmp or %TEMP% under a disguised name (.cache<hex> or dotnetdiag<hex>.exe), chmodded to 0755, and spawned detached via /bin/sh -c or cmd.exe /c start /b. Destination hostnames are constructed at runtime by joining split literals, and in-file comments frame the download-and-execute chain as telemetry, analytics, and cache validation. The package advertises itself as a token utility; the hosts and behavior are unrelated to any documented purpose and there is no hash or signature verification of the fetched bytes.

Database specific
{
    "malicious-packages-origins": [
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-05T14:09:28Z",
            "versions": [
                "35.4.9"
            ],
            "sha256": "c1ca81222c080449cad71d071579738ea810e280c6e8ed3b53647efdde902536",
            "id": "IN-MAL-2026-015188",
            "import_time": "2026-08-05T14:20:11.131414727Z"
        }
    ]
}
References
Credits

Affected packages

npm / checkout-public-tokens

Package

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

Affected ranges

Affected versions

35.*
35.4.9

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/checkout-public-tokens/MAL-2026-12589.json"
indicators
{
    "evidence_files": [
        {
            "path": "_platform.js",
            "sha256": "1b749f103693c4bbd8807550fe45df5e9e1de387cb78c65fced660568a487885",
            "tlsh": "e2b1b75a16aa70188bb09bf4c7174416f65be2633780c2d4fbaca5985f76124c3b2dfc"
        }
    ],
    "package_integrity": [
        {
            "hashes": {
                "sha1": "cfd94f67301faa83d1fc03d28bec1db8ad7291fe",
                "sha512_sri": "sha512-NaXlpQPLf+Sr52LiuG3ZImuGA/6zZ1FYTVqClYCeDgk4HyWHd/aqVi7qb70uYC07j0FE76Fn10Hj7Brv+aH+hQ=="
            },
            "filename": "checkout-public-tokens-35.4.9.tgz"
        }
    ]
}