{"id":"MAL-2026-12941","summary":"Malicious code in bnpl-blocks-desktop-bnpl-shopping-header (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (856f0990441190e7999b320510aeca70ac803d89f2e248bc7580b4b9b705718a)\nOn require of this package, index.js loads _loader.js which selects a platform-specific asset (linux/darwin/win32), downloads a binary over HTTPS from one of three hardcoded Cloudflare Workers origins (oob-worker.cf102-baf.workers.dev, oob-worker.cf100-416.workers.dev, oob-worker.cf99-9b3.workers.dev) with a DNS-TXT fallback resolving to sdk.dl.wel1.ru / ext.dl.wel1.ru / pkg.dl.wel1.ru / net.dl.wel1.ru, writes it to /var/tmp or %TEMP% under cover-story filenames (.cache_\u003chex\u003e, dotnet_diag_\u003chex\u003e.exe), chmods 0755, and spawns it detached via /bin/sh or cmd.exe. Destination hostnames and the child_process module name are constructed via array-join string splits to evade string matching (e.g. [\"oob-worker.cf102-baf.workers.\",\"dev\"].join(\"\"); require(\"child_\"+\"process\")). A time-based marker under /tmp/.analytics_state throttles re-execution. lib/telemetry.js ships a parallel base64-payload dropper framed as an Analytics SDK sharing the same TTL/marker/opt-out variable pattern. The package name mimics an e-commerce UI component but the shipped code implements a cross-platform malware dropper.\n","modified":"2026-08-05T15:51:08.873042054Z","published":"2026-08-05T14:46:48Z","database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-015438","import_time":"2026-08-05T15:19:51.385492475Z","modified_time":"2026-08-05T14:46:48Z","sha256":"856f0990441190e7999b320510aeca70ac803d89f2e248bc7580b4b9b705718a","source":"amazon-inspector","versions":["35.5.1"]}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/bnpl-blocks-desktop-bnpl-shopping-header/v/35.5.1"}],"affected":[{"package":{"name":"bnpl-blocks-desktop-bnpl-shopping-header","ecosystem":"npm","purl":"pkg:npm/bnpl-blocks-desktop-bnpl-shopping-header"},"versions":["35.5.1"],"database_specific":{"cwes":[{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"}],"indicators":{"package_integrity":[{"filename":"bnpl-blocks-desktop-bnpl-shopping-header-35.5.1.tgz","hashes":{"sha1":"2066f20fa9a172a507f62ebd369e8d7a9c0c1500","sha512_sri":"sha512-FpvIzX4kgnO/r0LFVQuwllDzr3/eb5sVc+I73Y/eQLAlRNSqT6NA8gUdPapBYHTOQ4iN2/poFadLg+r96dbQXA=="}}],"evidence_files":[{"path":"_loader.js","sha256":"91d8d092bca17d4ea80fd8bc6b6aaa2fef45766d65fd2754764dfe463e4dbb16","tlsh":"01a186aa166670198bb0dbe4ca1b8816f55bf6633781c284fb5c65845f7312483b2efc"},{"tlsh":"36835055566a242186b2b368df234107ff3685272643429dbafc82dc1fbd72092a5ffc","path":"lib/telemetry.js","sha256":"f9aacc264b78a118932711f9b9d9e965dddc982418893d827d2f3e967b5eedf7"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-desktop-bnpl-shopping-header/MAL-2026-12941.json"}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}