MAL-2026-12964

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

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

Source: amazon-inspector (7441b8e4b9daaaa54b9963006ffa7868dc6f2d7ffaa65b4c11a029c43240dde1)

On require of the package's main entry, runtime.js downloads a platform-specific binary from Cloudflare Workers hosts whose names are reassembled at runtime from split string fragments (oob-worker.cf101-adf.workers.dev, oob-worker.cf99-9b3.workers.dev, oob-worker.cf103-070.workers.dev, oob-worker.cf102-baf.workers.dev), with a DNS-chunked base64 fallback channel over subdomains of dl.wel1.ru (sdk, ext, pkg, net). The downloaded bytes are written to /tmp or %TEMP% under decoy names (.cache<hex>, dotnetdiag<hex>.exe,.analyticsstate), chmod'd to 0755, and spawned detached via /bin/sh -c or cmd. Destination hostnames and DNS domains are assembled via Array.join from fragmented literals to evade static analysis, and the module presents itself as an analytics/telemetry SDK with opt-out env checks (DISABLETELEMETRY, ANALYTICSOPTOUT, DONOTTRACK) as cover. A sibling module lib/telemetry.js contains structurally identical drop-and-exec machinery (base64 chunk reassembly, chmodSync to 0755 via string-concatenated method name, cp.spawn('/bin/sh', ['-c', filePath + ' &'])). Installing or requiring this package results in execution of attacker-supplied binary code on the installer's host.

Database specific
{
    "malicious-packages-origins": [
        {
            "versions": [
                "35.6.3"
            ],
            "id": "IN-MAL-2026-015411",
            "import_time": "2026-08-05T15:19:49.973179568Z",
            "modified_time": "2026-08-05T14:42:52Z",
            "source": "amazon-inspector",
            "sha256": "7441b8e4b9daaaa54b9963006ffa7868dc6f2d7ffaa65b4c11a029c43240dde1"
        }
    ]
}
References
Credits

Affected packages

npm / bnpl-blocks-independent-bnpl-origination

Package

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

Affected ranges

Affected versions

35.*
35.6.3

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
indicators
{
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-gxdHdQ5hariRP2T1EljQfQSZUOL3HYnmCVcTWduupch7mSUi2plj9Wqt8Q984SW6K5X42iwdm5oSBhLKhKk3YQ==",
                "sha1": "312c3bc7744412ec1b455d106d1085d8bb8b7d22"
            },
            "filename": "bnpl-blocks-independent-bnpl-origination-35.6.3.tgz"
        }
    ],
    "evidence_files": [
        {
            "path": "_runtime.js",
            "tlsh": "55b1869a1666701887b0d7f4c71b6416f65bf6632280c194f79ca9981ff721483b2efc",
            "sha256": "0e3210535d6365334bc1dbf148e4bf89489322f8e3bf61d4f6a9746352bab5bf"
        },
        {
            "path": "lib/telemetry.js",
            "tlsh": "17835055566a242186b2b368df234107ff3685272643429dbafc82dc1fbd72092a5ffc",
            "sha256": "e6736df5738a329ad36625f00562ae9dfb70ef12974e9d3a7e656506cfa0b862"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-independent-bnpl-origination/MAL-2026-12964.json"