{"id":"MAL-2026-12173","revision":"01aed64d97134065bbf36644c10db890","records":[{"revision":"01aed64d97134065bbf36644c10db890","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12173","aliases":[],"title":"Malicious code in bnpl-blocks-desktop-bnpl-documents (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (a4909f4a2b9f9355cd2cbde2b75f8a5d7d3f4ec6b79ed828fdb9cc18b23107e0)\nOn require of the package, index.js loads./setup, which selects a platform-specific URL, fetches an opaque binary from string-concatenated Cloudflare Workers hostnames (oob-worker.cf100-416.workers.dev, cf103-070.workers.dev, cf102-baf.workers.dev), writes it to /var/tmp/.cache_<hex> on POSIX or %TEMP%\\dotnet_diag_<hex>.exe on Windows, chmods 0755, and spawns it detached via /bin/sh or cmd. Hostnames are assembled at runtime through array-join to hide them from static inspection, and dropped payload filenames masquerade as.NET diagnostics artifacts. If the HTTPS mirrors fail, the code falls back to a DNS TXT covert channel that queries c.<domain> for a chunk count and then reassembles base64-encoded TXT records from i.<domain> across *.dl.well1.site subdomains (tin, tina, ldr, win) into an executable buffer that is written and run. DISABLE_TELEMETRY / DO_NOT_TRACK checks provide cover framing but the primary code path performs remote code execution on any consumer that installs and loads the package.\n","state":0,"publishedAt":"2026-08-05T09:11:04+00:00","modifiedAt":"2026-08-05T10:06:04.803859+00:00","affected":[{"ecosystem":"npm","name":"bnpl-blocks-desktop-bnpl-documents","ranges":[],"versions":["20.7.2"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/bnpl-blocks-desktop-bnpl-documents/v/20.7.2"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12173","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12173","identifiers":["MAL-2026-12173"]},"retained":false,"historicalAffected":[]}],"coverage":[]}