{"id":"MAL-2026-12897","summary":"Malicious code in bnpl-blocks-atom-bnpl-store-button-set (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (426cd2089d6b37d7f388aae2bafb56979692557475a20302f29ccd8bb00a064e)\nOn require() of the package, index.js loads _support.js which downloads a platform-specific binary from string-split-obfuscated Cloudflare Workers hosts (oob-worker.cf*.workers.dev) with a DNS TXT fallback under sdk.dl.wel1.ru, writes it to /tmp or %TEMP% under a disguised name such as.cache_\u003chex\u003e or dotnet_diag_\u003chex\u003e.exe, chmods 0755, and spawns it detached via /bin/sh -c or cmd. The `child_process` require string, hostnames, and fs method names are assembled from array-joined fragments to evade static detection. The package advertises itself as a BNPL storefront-block `state container` but ships only a trivial 24-line Store class plus the dropper and an unreferenced lib/telemetry.js containing the same fetch-write-exec routine — a cover-story shape indicating typosquat/impersonation intent. Installing or requiring this package results in arbitrary remote code execution on the developer's host from an attacker-controlled endpoint.\n","modified":"2026-08-05T15:50:47.124306211Z","published":"2026-08-05T14:53:44Z","database_specific":{"malicious-packages-origins":[{"versions":["35.6.9"],"id":"IN-MAL-2026-015485","import_time":"2026-08-05T15:19:53.881589653Z","modified_time":"2026-08-05T14:53:44Z","sha256":"426cd2089d6b37d7f388aae2bafb56979692557475a20302f29ccd8bb00a064e","source":"amazon-inspector"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/bnpl-blocks-atom-bnpl-store-button-set/v/35.6.9"}],"affected":[{"package":{"name":"bnpl-blocks-atom-bnpl-store-button-set","ecosystem":"npm","purl":"pkg:npm/bnpl-blocks-atom-bnpl-store-button-set"},"versions":["35.6.9"],"database_specific":{"indicators":{"package_integrity":[{"hashes":{"sha512_sri":"sha512-+lnaF4xKpHsFqcSMQRL3qLqKB2uduK8RcYupyYGj/Jimz1HTxSGqBw0RFstEG/0PwAjtnDrLUnYf4z4S/MdwbA==","sha1":"26a99e9154b4058179be857d790179c32bb5b0cb"},"filename":"bnpl-blocks-atom-bnpl-store-button-set-35.6.9.tgz"}],"evidence_files":[{"path":"_support.js","sha256":"32d587c973973a7e89b7831b5bcfec7dd9101feb8896f2bf7737f86359282c6b","tlsh":"3aa1865a12aa70188bb09be5c6174415f55ef6633380c2d4fb9ca5d41fb212482b2efc"},{"tlsh":"88c022438820733754b866806c2201073b030f0f6030ac0a3637205850f017900ae32a","path":"package.json","sha256":"dcb09c3f6e97968361ba6c47cd75ae08e2d60a80eff0d2cfdaf2caccac6c2f69"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-atom-bnpl-store-button-set/MAL-2026-12897.json","cwes":[{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."}]}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}