MAL-2026-12643

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/claims-should-retry/MAL-2026-12643.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12643
Published
2026-08-05T14:02:50Z
Modified
2026-08-05T14:36:04.566155622Z
Summary
Malicious code in claims-should-retry (npm)
Details

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

Source: amazon-inspector (dfeb9953f0f268a6f342f7c5b8d31292bf0f0855b736149d56df7eab1e119ebd)

On require of the package, index.js loads platform.js, which reconstructs destination hosts from split string arrays (e.g. Cloudflare Workers subdomains under oob-worker.cf*-*.workers.dev) via.join("") to hide them from static inspection, downloads a platform-specific binary, writes it to /tmp or %TEMP% under a misleading name (dotnetdiag_*.exe or.cache_*), chmods it 0755, and spawns it detached with stdio ignored via childprocess spawn against /bin/sh or cmd. If HTTP fetch fails, a DNS-TXT covert-channel fallback enumerates numbered TXT records under reconstructed *.dl.wel1.ru subdomains, base64-decodes and concatenates them into an executable buffer that is written and executed the same way. A.analyticsstate / analyticsstate marker file suppresses re-execution, opt-out environment variables (DISABLETELEMETRY, ANALYTICSOPTOUT, DONOTTRACK) provide a telemetry cover story, and a no-op logger overwrites console output to suppress traces. The package is advertised as a claims-retry library and has no relation to fetching or executing platform binaries.

Database specific
{
    "malicious-packages-origins": [
        {
            "sha256": "dfeb9953f0f268a6f342f7c5b8d31292bf0f0855b736149d56df7eab1e119ebd",
            "id": "IN-MAL-2026-015142",
            "modified_time": "2026-08-05T14:02:50Z",
            "source": "amazon-inspector",
            "import_time": "2026-08-05T14:20:06.382909289Z",
            "versions": [
                "35.6.8"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / claims-should-retry

Package

Name
claims-should-retry
View open source insights on deps.dev
Purl
pkg:npm/claims-should-retry

Affected ranges

Affected versions

35.*
35.6.8

Database specific

indicators
{
    "evidence_files": [
        {
            "sha256": "a187cd2a583e0835e6dfb2c85caa99f7ef2b8380b75ee41fcca6952281b06db4",
            "path": "_platform.js",
            "tlsh": "4ca1989a05a670194bb09be48b275416f56bf6633380c2d4fb5cb5881f7712483b2efc"
        }
    ],
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-3+oIKJ6J74inigFIE5W1Yms71nBQQ2T9iizZML4rfULSc80446HOvaUqCApPsBc/oXmyuh/TsaYLQ11DUwSNiw==",
                "sha1": "49468fe661045c1d7f5c169688035dcb84d05ea8"
            },
            "filename": "claims-should-retry-35.6.8.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/claims-should-retry/MAL-2026-12643.json"