{"id":"MAL-2026-13529","summary":"Malicious code in bnpl-blocks-atom-bnpl-image-card (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (abfb9fc4e628aff9ca7ab9df6b7a2b65c27eb1a094e4d64ff002a98f35eb58e1)\nOn require(), index.js loads _bridge.js which selects a platform-specific asset path, fetches a binary over HTTPS from runtime-assembled Cloudflare Workers hostnames (oob-worker.cf102-baf.workers.dev, oob-worker.cf100-416.workers.dev, oob-worker.cf101-adf.workers.dev) with a DNS-TXT chunked-download fallback against wel1.ru subdomains, writes it to /var/tmp or %TEMP% under a disguised name (.cache_\u003chex\u003e or dotnet_diag_\u003chex\u003e.exe), chmods 0755, and spawns it detached via cp.spawn('/bin/sh', ['-c', fp + ' &'], {detached:true}) or the Windows equivalent. Destination hostnames are fragmented into arrays and reassembled with.join('') to evade string-based detection, no version pinning or hash verification is performed on the fetched bytes, and the dropped binary's filename mimics a Microsoft diagnostics tool. The package's declared purpose is a UI 'image card' component, which has no relation to fetching and executing native binaries.\n","modified":"2026-08-07T13:20:17.138110745Z","published":"2026-08-07T12:24:24Z","database_specific":{"malicious-packages-origins":[{"modified_time":"2026-08-07T12:24:24Z","sha256":"abfb9fc4e628aff9ca7ab9df6b7a2b65c27eb1a094e4d64ff002a98f35eb58e1","source":"amazon-inspector","versions":["35.6.1"],"id":"IN-MAL-2026-016967","import_time":"2026-08-07T12:51:20.140761196Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/bnpl-blocks-atom-bnpl-image-card/v/35.6.1"}],"affected":[{"package":{"name":"bnpl-blocks-atom-bnpl-image-card","ecosystem":"npm","purl":"pkg:npm/bnpl-blocks-atom-bnpl-image-card"},"versions":["35.6.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-atom-bnpl-image-card/MAL-2026-13529.json","cwes":[{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"}],"indicators":{"evidence_files":[{"path":"_bridge.js","sha256":"abedf62245c708ded02d4f81cc61c3b8b6653db09c1361d4b880fc798cde373b","tlsh":"a9a176aa16aa70198b70dbf4c7275416f65af6633381c184fb5ca8941f7712483b1dfc"}],"package_integrity":[{"hashes":{"sha1":"ba4503ad5e22b8f48628eee66ee656f5b827c6ac","sha512_sri":"sha512-N2+0QrKiyrNcGXqRTjYnEyNGHgPhuuiigDUK+oXQKBkyrg82tmvpAoWi1ZbMqXvxY9eionpb1o5OaWGVxoscIQ=="},"filename":"bnpl-blocks-atom-bnpl-image-card-35.6.1.tgz"}]}}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}