MAL-2026-12558

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

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

Source: amazon-inspector (67636a6aeed1ed70d1bfd731fb8a845f67279b3afa82aa45b8e7a8ac9fe41cee)

On require() of this package, index.js loads bootstrap.js which fetches a platform-specific binary from obfuscated Cloudflare Workers subdomains assembled via array-join concatenation (e.g. oob-worker.cf103-070.workers.dev), with a DNS-TXT-chunk fallback channel that reassembles a base64 payload from numbered TXT records under net.dl.wel1.ru. The downloaded bytes are written to /var/tmp or %TEMP% under disguised names such as dotnetdiag<rand>.exe or.cache<rand>, chmod'd to 0755, and spawned detached via /bin/sh -c or cmd.exe. The behavior is unrelated to the package's stated pay-button SDK purpose, and both the destination hostnames and the DNS discovery domain are reconstructed from split string fragments to evade static inspection. The name resembles a legitimate checkout/pay-button SDK, but the shipped code is an import-time dropper.

Database specific
{
    "malicious-packages-origins": [
        {
            "sha256": "67636a6aeed1ed70d1bfd731fb8a845f67279b3afa82aa45b8e7a8ac9fe41cee",
            "id": "IN-MAL-2026-015214",
            "modified_time": "2026-08-05T14:13:19Z",
            "source": "amazon-inspector",
            "import_time": "2026-08-05T14:20:13.492383581Z",
            "versions": [
                "35.5.4"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / checkout-desktop-pay-button

Package

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

Affected ranges

Affected versions

35.*
35.5.4

Database specific

indicators
{
    "evidence_files": [
        {
            "sha256": "38b38ad3dacdd5df85dd1d2744fe278bb825955aa1db19f1da3f7b5199bd0756",
            "path": "_bootstrap.js",
            "tlsh": "d2a1b75a066670194bb0abe4c71b8826f55bf6633781c284fb5c65889f73524c3b2efc"
        }
    ],
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-SIxu0UhzVCbmM8W2m5A0DzdE4W0yVQMcDXhWLLYuuxy2dMyvY9oQjUV+oAX2E71FIuP4etmLXr+UA1f/l/iUAw==",
                "sha1": "974502f87c6340c1c3488fea869cf19a691433be"
            },
            "filename": "checkout-desktop-pay-button-35.5.4.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-desktop-pay-button/MAL-2026-12558.json"