{"id":"MAL-2026-12915","revision":"b9b588825fdf43f99f79aae1c2bc8765","records":[{"revision":"b9b588825fdf43f99f79aae1c2bc8765","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12915","aliases":[],"title":"Malicious code in bnpl-blocks-desktop-bnpl-button-set (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (e7581057c70b3b5e805e0d56c30e74c4fc88c8c23aa0ceb73a46a2b17b937bb0)\nOn require of the package, index.js loads _polyfill.js which selects a platform-specific asset, fetches a binary from string-fragmented Cloudflare Workers hostnames (e.g. oob-worker.cf102-baf.workers.dev, assembled at runtime via array.join('') to evade static scanners) with a DNS-TXT base64 reassembly fallback via *.dl.wel1.ru, writes the payload to /tmp or %TEMP% under disguised names such as '.cache_<rand>' or 'dotnet_diag_<rand>.exe', chmods it 0755, and spawns it detached via /bin/sh -c '<path> &' (or cmd on Windows). A filesystem stamp at /tmp/.analytics_state throttles re-runs. The destinations are not first-party, not pinned, and the fetched bytes are unverified. A parallel, currently-unreferenced dropper module lib/telemetry.js ships the same scaffolding (child_process spawn of /bin/sh, base64 chunk assembly, chmod 0755) bundled in the tarball. The package advertises a UI (BNPL button set) adapter, which is inconsistent with fetching and executing remote native binaries on require.\n","state":0,"publishedAt":"2026-08-05T14:51:32+00:00","modifiedAt":"2026-08-05T15:50:56.1981799+00:00","affected":[{"ecosystem":"npm","name":"bnpl-blocks-desktop-bnpl-button-set","ranges":[],"versions":["35.3.7"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/bnpl-blocks-desktop-bnpl-button-set/v/35.3.7"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12915","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12915","identifiers":["MAL-2026-12915"]},"retained":false,"historicalAffected":[]}],"coverage":[]}