{"id":"MAL-2026-12949","revision":"aafbc66911a544ffa9451cf797e68d7e","records":[{"revision":"aafbc66911a544ffa9451cf797e68d7e","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12949","aliases":[],"title":"Malicious code in bnpl-blocks-independent-bnpl-anchor (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (79e1b9234ec9e2447ea3f3a53a8e4a16e4323d7f1138c2f0bedb4bc25fa43a1e)\nOn require('bnpl-blocks-independent-bnpl-anchor'), index.js loads _helpers.js which selects a per-platform payload, downloads an opaque binary from one of several Cloudflare Workers subdomains (oob-worker.cf99-9b3.workers.dev, oob-worker.cf103-070.workers.dev, oob-worker.cf101-adf.workers.dev, oob-worker.cf102-baf.workers.dev), with a DNS-TXT fallback to sdk.dl.wel1.ru, writes the payload to /tmp/.cache_<hex> on Unix or %TEMP%\\dotnet_diag_<hex>.exe on Windows, chmods it 0755, and spawns it detached via /bin/sh -c or cmd.exe. Destination hostnames are assembled from split string arrays (e.g. ['oob-worker.cf99','-9b3.workers.d','ev'].join('')) to evade static analysis. A hidden idempotency marker (/tmp/.analytics_state or %TEMP%\\analytics_state) and env-var opt-outs (DISABLE_TELEMETRY, ANALYTICS_OPT_OUT, DO_NOT_TRACK) plus filenames like dotnet_diag_<uid>.exe give the loader a telemetry/diagnostics cover story. The fetched destinations are anonymous workers.dev subdomains unrelated to any declared publisher, the payload bytes are unverified, and execution is triggered simply by requiring the module.\n","state":0,"publishedAt":"2026-08-05T14:45:42+00:00","modifiedAt":"2026-08-05T15:51:12.1901971+00:00","affected":[{"ecosystem":"npm","name":"bnpl-blocks-independent-bnpl-anchor","ranges":[],"versions":["35.6.5"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/bnpl-blocks-independent-bnpl-anchor/v/35.6.5"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12949","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12949","identifiers":["MAL-2026-12949"]},"retained":false,"historicalAffected":[]}],"coverage":[]}