MAL-2026-12937Malicious code in bnpl-blocks-desktop-bnpl-popup (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | bnpl-blocks-desktop-bnpl-popup | 35.9.9 |
{"modified":"2026-08-05T14:46:57Z","published":"2026-08-05T14:46:57Z","schema_version":"1.7.4","id":"MAL-2026-12937","summary":"Malicious code in bnpl-blocks-desktop-bnpl-popup (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (be777645b47861c5f8e6bc2093eccac9543bfbc8c030e62bd69a54d4219ab52a)\nThe package's main entry loads _init.js on require. _init.js selects a platform-specific URL, assembles C2 hostnames at runtime via string-split/join to evade static analysis (e.g. 'oob-worker.cf99-9b3.workers.dev' family, with a DNS TXT covert-channel fallback over *.dl.wel1.ru where 'c.<domain>' returns a chunk count and 'i.<domain>' returns base64-encoded payload chunks), downloads an opaque executable, writes it to /tmp or the Windows temp directory under a decoy name such as dotnet_diag_<hex>.exe or.cache_<hex>, chmods it 0755, and spawns it detached through /bin/sh -c or cmd.exe. Behavior is gated only by a stamp file and opt-out environment variables. The package presents itself as UI popup components, which has no legitimate reason to fetch and run a platform-specific binary from anonymous Cloudflare Workers endpoints at import time.\n","affected":[{"package":{"ecosystem":"npm","name":"bnpl-blocks-desktop-bnpl-popup"},"versions":["35.9.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":"_init.js","sha256":"205acc52b93ff01cb58732bc29a0771f8090f50bc78626502cff90934be0b0a8","tlsh":"1ba1a75606a670088bb097f4872b4416f65ff6a33781c2d4f79ca9985f76428c272efc"}],"package_integrity":[{"filename":"bnpl-blocks-desktop-bnpl-popup-35.9.9.tgz","hashes":{"sha1":"33cc7ac75e3244d71da01e97381053d6eb316075","sha512_sri":"sha512-6QRTWBeKg3yPKqXA6omHrdppZUd7xIozNVGOwnhptKP0AvvAoLSOGZU5Ae/AlLtExZQASf7MLMwuek4dkimvFQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/bnpl-blocks-desktop-bnpl-popup/v/35.9.9"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-015439","import_time":"2026-08-05T15:19:51.426822877Z","modified_time":"2026-08-05T14:46:57Z","sha256":"be777645b47861c5f8e6bc2093eccac9543bfbc8c030e62bd69a54d4219ab52a","source":"amazon-inspector","versions":["35.9.9"]}]}}数据来源:OpenSSF Malicious Packages · Apache-2.0