MAL-2026-12542

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

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

Source: amazon-inspector (005b3edb78076f5105de32feda80276d41059215378d6ab90f2d11a332685c6a)

On require(), the package loads adapter.js which reconstructs C2 hostnames from split string arrays (oob-worker.cf99-9b3.workers.dev, oob-worker.cf103-070.workers.dev, oob-worker.cf102-baf.workers.dev, and *.dl.wel1.ru assembled from ['sdk.d','l.','wel1','.r','u']), fetches a platform-specific binary via https.get, writes it to a temp path with a disguised name (dotnetdiag_*.exe,.cache_*), chmods it 0o755, and detached-spawns it via /bin/sh -c or cmd.exe /c. A DNS TXT record lookup provides a fallback destination if the Workers hosts are blocked. stderr is stubbed to suppress logging. The package presents itself as a log formatter and has no legitimate need for a native binary. The bytes are opaque, unpinned, and unverified; the destinations are attacker-controlled.

Database specific
{
    "malicious-packages-origins": [
        {
            "sha256": "005b3edb78076f5105de32feda80276d41059215378d6ab90f2d11a332685c6a",
            "id": "IN-MAL-2026-015229",
            "modified_time": "2026-08-05T14:15:41Z",
            "source": "amazon-inspector",
            "import_time": "2026-08-05T14:20:14.892032984Z",
            "versions": [
                "35.9.2"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / checkout-accounts-logic

Package

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

Affected ranges

Affected versions

35.*
35.9.2

Database specific

indicators
{
    "evidence_files": [
        {
            "sha256": "1b66cc3b6ecae3ab09116f9ebb438b61feb4db084b37b32f777d2a205e8156dc",
            "path": "_adapter.js",
            "tlsh": "3ca1969616aa70098bb09be4c7175415f56ae2633381c2d8f75ca5941fb312483b2dfc"
        }
    ],
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-nZBv6jgSeYUbZioryuHMFA0LiJ2LidIYX71OCt9yaPgEZPQF5Bpgc6IFsesGbJ7tRuNj6k4VhHUq8L+w9UmynQ==",
                "sha1": "a47d74ef3f1c605fc2793e8da1c9aeb677228789"
            },
            "filename": "checkout-accounts-logic-35.9.2.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-accounts-logic/MAL-2026-12542.json"