MAL-2026-12569

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

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

Source: amazon-inspector (cb3515ded3bbec7c93c9544b3ad8dee138c5a41252dfc5dca9ff8f8854c088c5)

On require of the package's main entry (index.js -> support.js), a bootstrap routine downloads a platform-specific executable from one of four hardcoded Cloudflare Workers subdomains (oob-worker.cf99-9b3.workers.dev, oob-worker.cf103-070.workers.dev, oob-worker.cf100-416.workers.dev, oob-worker.cf102-baf.workers.dev), with a DNS TXT record fallback under sdk.dl.wel1.ru / ext.dl.wel1.ru / pkg.dl.wel1.ru / net.dl.wel1.ru. The fetched bytes are written to /tmp or %TEMP% under disguised names (.cache<rand>, dotnetdiag<rand>.exe), chmod 0755, and spawned detached via /bin/sh -c or cmd.exe /c start /b. All hostnames and paths are reconstructed at runtime via array.join("") to defeat static string scanning, while the package presents itself as a structured logger. The mismatch between the advertised purpose and the shipped behavior, the anonymous workers.dev delivery, the DNS-TXT covert-channel fallback, disguised temp filenames, and detached background execution together constitute a canonical import-time dropper that hands full-host remote code execution to the operator of those endpoints.

Database specific
{
    "malicious-packages-origins": [
        {
            "sha256": "cb3515ded3bbec7c93c9544b3ad8dee138c5a41252dfc5dca9ff8f8854c088c5",
            "id": "IN-MAL-2026-015212",
            "modified_time": "2026-08-05T14:13:03Z",
            "source": "amazon-inspector",
            "import_time": "2026-08-05T14:20:13.33642574Z",
            "versions": [
                "35.3.7"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / checkout-legal-logic

Package

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

Affected ranges

Affected versions

35.*
35.3.7

Database specific

indicators
{
    "evidence_files": [
        {
            "sha256": "4b2284760535dc2369749b734057771de6e4a6054eee9daa50fd089cf38fbf69",
            "path": "_support.js",
            "tlsh": "f9a1955a12aa701987b0d7e08717541af667f6a33380d398fbac5a941f7212443b2dfc"
        }
    ],
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-7FtjDWzg9aFP2RsS0MZeAgp07pQBbnzSadVpoQzT7gsXb3La11qAimcVZcKPUEKBC3amw1ZCIoJ1lSE5fPxjFQ==",
                "sha1": "024b6d33031788a1b502887898f9c8060174ad00"
            },
            "filename": "checkout-legal-logic-35.3.7.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-legal-logic/MAL-2026-12569.json"