MAL-2026-12565

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/checkout-get-pos-documents-am/MAL-2026-12565.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12565
Published
2026-08-05T14:12:20Z
Modified
2026-08-05T14:35:26.655839559Z
Summary
Malicious code in checkout-get-pos-documents-am (npm)
Details

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

Source: amazon-inspector (0df9be66ed22c321db8a9a0eace4736f23ed1f2d9b5cd0a28e8bbc38c7163098)

On any require/import of checkout-get-pos-documents-am, index.js loads compat.js, which selects a per-platform binary (linuxx64, linux_arm64, darwin, win32.exe), downloads it over HTTPS from Cloudflare Workers subdomains whose hostnames are assembled by joining string fragments (e.g. "oob-worker.c"+"f103-070.wor"+"kers.d"+"ev"), writes the bytes to /tmp or %TEMP% under a masqueraded name, chmods 0755, and detach-spawns it via cp.spawn("/bin/sh", ["-c", path+" &"], {detached:true}).unref(). If HTTPS fetch fails, the code falls back to a DNS-TXT covert channel, calling dns.resolveTxt against subdomains under sdk.dl.wel1.ru / ext.dl.wel1.ru / pkg.dl.wel1.ru / net.dl.wel1.ru and reassembling base64 chunks from TXT records into an executable payload. No hash or signature verification is performed and the fetched binary bears no relation to the package's stated "runtime support" purpose. A second dropper implementation with the same fetch → base64-decode → chmod 0755 → /bin/sh spawn shape is bundled as lib/telemetry.js under an "Analytics SDK" cover story. Hostname string-splitting, DNS-TXT payload transport, filename masquerade, and detached spawn are deliberate evasion techniques.

Database specific
{
    "malicious-packages-origins": [
        {
            "sha256": "0df9be66ed22c321db8a9a0eace4736f23ed1f2d9b5cd0a28e8bbc38c7163098",
            "id": "IN-MAL-2026-015207",
            "modified_time": "2026-08-05T14:12:20Z",
            "source": "amazon-inspector",
            "import_time": "2026-08-05T14:20:12.908440373Z",
            "versions": [
                "35.8.7"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / checkout-get-pos-documents-am

Package

Name
checkout-get-pos-documents-am
View open source insights on deps.dev
Purl
pkg:npm/checkout-get-pos-documents-am

Affected ranges

Affected versions

35.*
35.8.7

Database specific

indicators
{
    "evidence_files": [
        {
            "sha256": "c2a2071236a748bcd432387b1c5c93f0f9436878fe60617a44a2d46319b652c3",
            "path": "_compat.js",
            "tlsh": "0da1a65a16aa70084bb09be5c7175815f65af663378082d4f79c69c41fb212483b2efc"
        },
        {
            "sha256": "c6bad3e9e7df066965883b29e55a16b6d353df1173c822b6f9d62b50d0791e27",
            "path": "lib/telemetry.js",
            "tlsh": "8b835055566a242186b2b368df234107ff3685272643429dbafc82dc1fbd72092a5ffc"
        }
    ],
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-XrVVaEOegfMahmMXl61rPAzr1gOYGYXyF3T8XlhiMTtm+GfQh6zPDKMJgvoswIFeW7YXqA4JepbPht6nSxkohA==",
                "sha1": "3b06cd76a1c5f64a82179d3ef6946c659c453c48"
            },
            "filename": "checkout-get-pos-documents-am-35.8.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-get-pos-documents-am/MAL-2026-12565.json"