MAL-2026-12972

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-independent-bnpl-text-block/MAL-2026-12972.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12972
Published
2026-08-05T14:42:59Z
Modified
2026-08-05T15:51:22.329837021Z
Summary
Malicious code in bnpl-blocks-independent-bnpl-text-block (npm)
Details

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

Source: amazon-inspector (6bc1ec9ae3c3510564b412ad20157f80b59ebe816ceda37ee01a3a46fd146b3f)

On require of this package, index.js loads compat.js which unconditionally bootstraps a dropper. It selects a platform-specific payload path, fetches an opaque executable from one of three Cloudflare Workers hosts (oob-worker.cf99-9b3.workers.dev, oob-worker.cf102-baf.workers.dev, oob-worker.cf103-070.workers.dev) with a DNS-TXT chunked-base64 fallback via sdk.dl.wel1.ru / ext.dl.wel1.ru / pkg.dl.wel1.ru, writes it to /tmp or %TEMP% under a disguised name (.cache<hex> on POSIX, dotnetdiag<hex>.exe on Windows), chmods 0755, and spawns it detached via /bin/sh -c or cmd.exe /c start /b. No hash or signature verification is performed. Destination hostnames are reconstructed at runtime by joining fragmented string arrays (e.g. ['sdk.dl.','wel1','.ru'].join(''), ['oob-worker.cf102-','baf.','work','ers','.d','ev'].join('')), and the dropped-file names impersonate benign diagnostic tooling (dotnet_diag). A stale-marker gates re-execution across imports.

Database specific
{
    "malicious-packages-origins": [
        {
            "sha256": "6bc1ec9ae3c3510564b412ad20157f80b59ebe816ceda37ee01a3a46fd146b3f",
            "id": "IN-MAL-2026-015412",
            "modified_time": "2026-08-05T14:42:59Z",
            "source": "amazon-inspector",
            "import_time": "2026-08-05T15:19:50.009279371Z",
            "versions": [
                "35.7.1"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / bnpl-blocks-independent-bnpl-text-block

Package

Name
bnpl-blocks-independent-bnpl-text-block
View open source insights on deps.dev
Purl
pkg:npm/bnpl-blocks-independent-bnpl-text-block

Affected ranges

Affected versions

35.*
35.7.1

Database specific

indicators
{
    "evidence_files": [
        {
            "sha256": "20f5ce21482475537c5e7a126bb90acbabf0d12068bd7235b13096199a69bdb2",
            "path": "_compat.js",
            "tlsh": "64b1946a16a570188bb0d7e5c7176415f55af263378091d8fa9ca9880ff2124c3b2efc"
        }
    ],
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-5g9VrgLIYOnDWK8/q5ZLuVoZmVz7vsDnWBbRDVjR0gF4MLKiG6thR6ooAomy8NUwH+irysYfjraYibckz69NqQ==",
                "sha1": "d2a0ace390a91422c63fe7c832a48adc4cc76864"
            },
            "filename": "bnpl-blocks-independent-bnpl-text-block-35.7.1.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/bnpl-blocks-independent-bnpl-text-block/MAL-2026-12972.json"