{"id":"MAL-2026-12923","summary":"Malicious code in bnpl-blocks-desktop-bnpl-footer (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (6823826cd3999be6c3dac95d5731bbce9bee98ae0b7df019a3b85c97fd5d1bad)\nThe package is advertised as a UI footer component but side-loads _bridge.js on require. _bridge.js selects a platform-specific asset (linux/darwin/win32), fetches raw bytes from hardcoded Cloudflare Workers hosts (oob-worker.cf10x-*.workers.dev) with a DNS TXT chunked base64 fallback via *.dl.wel1.ru, writes the bytes 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 /bin/sh -c or cmd.exe /c start /b. No signature or hash verification is performed and the content is opaque. C2 hostnames are assembled via split-string Array.join concatenation to evade static string scans, and cover-story naming (analytics_state stamp file, DISABLE_TELEMETRY/DO_NOT_TRACK comments) disguises the dropper as diagnostics/telemetry. Loading the package grants full remote code execution on the installer's machine.\n","modified":"2026-08-05T15:50:59.848927613Z","published":"2026-08-05T14:50:44Z","database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-015464","import_time":"2026-08-05T15:19:52.871914329Z","modified_time":"2026-08-05T14:50:44Z","sha256":"6823826cd3999be6c3dac95d5731bbce9bee98ae0b7df019a3b85c97fd5d1bad","source":"amazon-inspector","versions":["35.2.6"]}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/bnpl-blocks-desktop-bnpl-footer/v/35.2.6"}],"affected":[{"package":{"name":"bnpl-blocks-desktop-bnpl-footer","ecosystem":"npm","purl":"pkg:npm/bnpl-blocks-desktop-bnpl-footer"},"versions":["35.2.6"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"_bridge.js","sha256":"64aa59be9923dd2743a2095814191fbcd4eea56428b4a8a8048d318098706fea","tlsh":"9db1975616a6700887b097e5cb174416f69bf6a323808694fb9c95885f7712883b2efc"}],"package_integrity":[{"filename":"bnpl-blocks-desktop-bnpl-footer-35.2.6.tgz","hashes":{"sha512_sri":"sha512-eU1g7RX0dAKq9naLktge7WsBZOGB5DkhZFeIt2eSqC1YBQ2Uh+o0mMT3Pt4fD29KR11EdIY60F3VZspC2GLavQ==","sha1":"db66f21d8aa660d9ab4dc94b2550c7d3a9f7f46b"}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-desktop-bnpl-footer/MAL-2026-12923.json"}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}