{"id":"MAL-2026-12946","summary":"Malicious code in bnpl-blocks-desktop-large-bnpl-reviews (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (d52a16c390437bd38f791fca1380253d0e4e3056a1b1efd2af35f4fa95e22e28)\nOn require() of the package, index.js loads _bridge.js which detects OS/arch and downloads a platform-specific binary from Cloudflare Workers hosts whose names are reconstructed at runtime by joining split string arrays (e.g. 'oob-wo'+'rker.cf103-070'+'.workers.de'+'v'). If HTTPS mirrors fail, a DNS-TXT covert channel against hosts like sdk.dl.wel1.ru reassembles a base64 payload from a count record plus indexed TXT chunks. The fetched bytes are written to a masquerading path in /var/tmp or %TEMP% (.cache_\u003chex\u003e, dotnet_diag_\u003chex\u003e.exe), chmodded 0755 on POSIX, and spawned detached via cp.spawn('/bin/sh', ['-c', fp+' &'], {detached:true}) or the equivalent cmd invocation on Windows. There is no hash, signature, or publisher verification on the downloaded content. The package presents itself as a 'bnpl blocks' UI component, which does not correspond to fetching and executing an opaque native binary. Destination hosts are non-publisher anonymous workers.dev endpoints and a.ru DNS covert channel.\n","modified":"2026-08-05T15:51:11.441185758Z","published":"2026-08-05T14:47:51Z","database_specific":{"malicious-packages-origins":[{"import_time":"2026-08-05T15:19:51.832772684Z","modified_time":"2026-08-05T14:47:51Z","sha256":"d52a16c390437bd38f791fca1380253d0e4e3056a1b1efd2af35f4fa95e22e28","source":"amazon-inspector","versions":["35.8.2"],"id":"IN-MAL-2026-015445"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/bnpl-blocks-desktop-large-bnpl-reviews/v/35.8.2"}],"affected":[{"package":{"name":"bnpl-blocks-desktop-large-bnpl-reviews","ecosystem":"npm","purl":"pkg:npm/bnpl-blocks-desktop-large-bnpl-reviews"},"versions":["35.8.2"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-desktop-large-bnpl-reviews/MAL-2026-12946.json","cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"package_integrity":[{"filename":"bnpl-blocks-desktop-large-bnpl-reviews-35.8.2.tgz","hashes":{"sha512_sri":"sha512-6sAN/Fk8q1h+081wNgW6an8MExT3Yt8EgxMOmIYEonf8efXgas99zyHtvauU7/F8qcYaaYqST7ZnHxhHPZ4lwA==","sha1":"f8c38c8551fe42f094b5e61a26a0ae40bbd69563"}}],"evidence_files":[{"path":"_bridge.js","sha256":"2b9ae09639f88ab2e9591a640c57ba8e9de67ab46f2f2afef7e3b8f9c00d90da","tlsh":"53a1975a16aa700c8bb0dbe4c71b4416f65af2633380c6d4f75ca9885fb356482b1efc"}]}}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}