MAL-2026-12906Malicious code in bnpl-blocks-block (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | bnpl-blocks-block | 35.8.9 |
{"modified":"2026-08-05T14:52:06Z","published":"2026-08-05T14:52:06Z","schema_version":"1.7.4","id":"MAL-2026-12906","summary":"Malicious code in bnpl-blocks-block (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (6112720c2d716ce25da42abf8ddd7ec3e27614102f343c283160f28d8b039ef7)\nOn 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.<domain> and base64-reassembles the payload from numbered TXT records. The fetched bytes are written to /tmp or %TEMP% under a disguised name (.cache_<hex> / dotnet_diag_<hex>.exe), chmod 0755, then executed detached via /bin/sh -c \"<path> &\" 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.\n","affected":[{"package":{"ecosystem":"npm","name":"bnpl-blocks-block"},"versions":["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=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/bnpl-blocks-block/v/35.8.9"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"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"]}]}}数据来源:OpenSSF Malicious Packages · Apache-2.0