MAL-2026-12584

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

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

Source: amazon-inspector (9d4bf54bc4e3750c7e9bc6ef385108c37ee00b486858c0576585ef2f88780385)

On require, index.js invokes helpers.js which selects a per-OS payload path, fetches a native binary over HTTPS from string-split-obfuscated Cloudflare Workers hostnames (oob-worker.cf103-070.workers.dev, oob-worker.cf100-416.workers.dev, oob-worker.cf101-adf.workers.dev) with a DNS-TXT base64 fallback via sdk.dl.wel1.ru / ext.dl.wel1.ru / pkg.dl.wel1.ru / net.dl.wel1.ru, writes it to /tmp/.cache<hex> or %TEMP%\dotnetdiag<hex>.exe, chmods 0755, and detached-spawns it via /bin/sh -c or cmd.exe /c start /b. Destination hostnames and fallback resolvers are assembled by joining split string fragments to evade static scanners, and the dropped file uses cover-story names (analyticsstate, dotnetdiag). Reads DISABLETELEMETRY / ANALYTICSOPTOUT / DONOT_TRACK to mimic a legitimate telemetry opt-out. Behavior is unrelated to the package's stated purpose.

Database specific
{
    "malicious-packages-origins": [
        {
            "sha256": "9d4bf54bc4e3750c7e9bc6ef385108c37ee00b486858c0576585ef2f88780385",
            "id": "IN-MAL-2026-015193",
            "modified_time": "2026-08-05T14:10:14Z",
            "source": "amazon-inspector",
            "import_time": "2026-08-05T14:20:11.62831894Z",
            "versions": [
                "35.3.8"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / checkout-pay-button-logic

Package

Name
checkout-pay-button-logic
View open source insights on deps.dev
Purl
pkg:npm/checkout-pay-button-logic

Affected ranges

Affected versions

35.*
35.3.8

Database specific

indicators
{
    "evidence_files": [
        {
            "sha256": "c101e4dd9cfc5c0089a85620549d2e2849c063065e17074acefbd0e94eeb60ce",
            "path": "_helpers.js",
            "tlsh": "cda1a76a067ab0188b70dbe5c7175415f66bf663368081c4f75c99980f761348372efc"
        }
    ],
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-wul+WjEoM9i9Q6DCpHEGvCXaVPluEasee9uiFycxh7CN0aJaHCgybPUHIM8Tsb/JgSDcL2IVCVtLjOqqzJuKnw==",
                "sha1": "3fc4b55feeba9456d00362e5a54abcf907484129"
            },
            "filename": "checkout-pay-button-logic-35.3.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/checkout-pay-button-logic/MAL-2026-12584.json"