MAL-2026-12906

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

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

Source: amazon-inspector (6112720c2d716ce25da42abf8ddd7ec3e27614102f343c283160f28d8b039ef7)

On require of the package, index.js loads./compat.js which selects a platform-specific asset and downloads a binary from split-string-obfuscated Cloudflare Workers hosts (oob-worker.cf100-416.workers.dev, oob-worker.cf101-adf.workers.dev, oob-worker.cf99-9b3.workers.dev), with a DNS-TXT covert-channel fallback under *.wel1.ru that reads a chunk count from c. and base64-reassembles the payload from numbered TXT records. The fetched bytes are written to /tmp or %TEMP% under a disguised name (.cache / dotnet_diag_.exe), chmod 0755, then executed detached via /bin/sh -c " &" on POSIX or cmd.exe /c start on Windows. The package's public API (class BnplBlocksBlock with init/version/configure) is a hollow shell with no real implementation; the sole effect of installing or importing this package is running the remotely fetched binary on the installer's host.

Database specific
{
    "malicious-packages-origins":  [
        {
            "id":  "IN-MAL-2026-015474",
            "import_time":  "2026-08-05T15:19:53.373314311Z",
            "modified_time":  "2026-08-05T14:52:06Z",
            "sha256":  "6112720c2d716ce25da42abf8ddd7ec3e27614102f343c283160f28d8b039ef7",
            "source":  "amazon-inspector",
            "versions":  [
                "35.8.9"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / bnpl-blocks-block

Package

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

Affected ranges

Affected versions

35.*
35.8.9

Database specific

cwes
[
    {
        "cweId":  "CWE-506",
        "description":  "The product contains code that appears to be malicious in nature.",
        "name":  "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files":  [
        {
            "path":  "_compat.js",
            "sha256":  "d4293d1d7b8d44735061fb7a4821bc26d90cf0630e2bfdd0f8f49a4519f5e8ac",
            "tlsh":  "39a1739616a6701d8bb0abf18717541af65be6633380c2c4fb5c64845f7266883b2efc"
        },
        {
            "path":  "index.js",
            "sha256":  "14edc7f7666f2b1f3f1fdeace913b1d812f05b190040ee33508bfe361d5a1959",
            "tlsh":  "4bf02b8a65feb463d6f0a3e7df724082f51295314e4b4154798890ee0fa4850029cfff"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "bnpl-blocks-block-35.8.9.tgz",
            "hashes":  {
                "sha1":  "bd62b9bce0f60038883b376966c497705b2f9cff",
                "sha512_sri":  "sha512-pS72vIMT+lhw/XPiWQlQcXIQY9KfXzlJVKxSasPQCQFd76zHeG/G+OiRQKDo9eS2tvWTR5Exc6yIj4aQufGmpg=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-block/MAL-2026-12906.json"