{"id":"MAL-2026-12950","summary":"Malicious code in bnpl-blocks-independent-bnpl-breadcrumbs (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (f1d442b520a1779845bf9dc5d8a0cd822606ec46e0a01850143b93e14658cfe9)\nOn require of the package, index.js unconditionally loads setup.js, which downloads an opaque binary from one of four hardcoded *.workers.dev endpoints (oob-worker.cf99-9b3.workers.dev, oob-worker.cf100-416.workers.dev, oob-worker.cf101-adf.workers.dev, oob-worker.cf102-baf.workers.dev) with a DNS-TXT base64 fallback via resolvers under dl.wel1.ru (sdk./ext./pkg./net.). Hostnames and resolver domains are assembled at runtime from split-string fragments to evade static analysis. The downloaded bytes are written to a temporary path under a deceptive name (`.cache_\u003chex\u003e` on Unix, `dotnet_diag_\u003chex\u003e.exe` on Windows), chmodded 0755, and detach-spawned via `/bin/sh -c \"\u003cpath\u003e &\"` or `cmd.exe /c start`. Cover-story environment variables (`DISABLE_TELEMETRY`, `ANALYTICS_OPT_OUT`) and cache/diagnostic naming disguise the dropper as telemetry. Reachable on first `require()` of the package; no user opt-in required.\n","modified":"2026-08-05T15:51:12.972841963Z","published":"2026-08-05T14:45:50Z","database_specific":{"malicious-packages-origins":[{"import_time":"2026-08-05T15:19:51.106875264Z","modified_time":"2026-08-05T14:45:50Z","sha256":"f1d442b520a1779845bf9dc5d8a0cd822606ec46e0a01850143b93e14658cfe9","source":"amazon-inspector","versions":["35.6.6"],"id":"IN-MAL-2026-015432"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/bnpl-blocks-independent-bnpl-breadcrumbs/v/35.6.6"}],"affected":[{"package":{"name":"bnpl-blocks-independent-bnpl-breadcrumbs","ecosystem":"npm","purl":"pkg:npm/bnpl-blocks-independent-bnpl-breadcrumbs"},"versions":["35.6.6"],"database_specific":{"indicators":{"package_integrity":[{"filename":"bnpl-blocks-independent-bnpl-breadcrumbs-35.6.6.tgz","hashes":{"sha1":"8a4964886b6e41c196bd95932321f11eda0d09f9","sha512_sri":"sha512-oPfuM71oejH0pVozzaJbDT9KdK5THNwUNlM9w5ObVAn6lzY1JdEyndGR1Q4csb7N8gZf/QMYhW+sAJ8LsdTfzA=="}}],"evidence_files":[{"sha256":"c1000d80651a76b1a21490b59d8850ba73697ebd6d1f4cc1e332bc3029cf17c6","tlsh":"4cb1a796176a70188b70dbf5c71b4415f657f66337808188f79c59981fb212483b2efc","path":"setup.js"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-independent-bnpl-breadcrumbs/MAL-2026-12950.json","cwes":[{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"}]}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}