{"id":"MAL-2026-12976","revision":"c2ccaad9b69f401cb5ffeaa9c43c573a","records":[{"revision":"c2ccaad9b69f401cb5ffeaa9c43c573a","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12976","aliases":[],"title":"Malicious code in bnpl-blocks-markdown (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (161162281afaf68fd193e2521beaf60d32c850e29cc276192497eee09646a55a)\nOn require('bnpl-blocks-markdown'), index.js loads _bootstrap.js which downloads a platform-specific binary from runtime-assembled Cloudflare Workers hosts (strings such as ['oob-worker.cf100-416.workers','.d','ev'].join('') and ['sdk.dl.','wel','1.r','u'].join('')), with a base64-over-DNS-TXT fallback channel via wel1.ru subdomains. The fetched bytes are written to /tmp or %TEMP% under disguised filenames mimicking system tools (e.g..cache_<hex>, dotnet_diag_<hex>.exe), chmod 0755'd, and spawned detached via /bin/sh -c or cmd. Env-var names DISABLE_TELEMETRY / ANALYTICS_OPT_OUT / DO_NOT_TRACK and filenames like analytics_state are cover-story framing; the package's advertised purpose is a markdown utility, which has no need to fetch and execute an arch-specific native binary from obfuscated hosts at import time. This is a classic import-time dropper with attacker-controlled code execution on the installer's host.\n","state":0,"publishedAt":"2026-08-05T14:42:16+00:00","modifiedAt":"2026-08-05T15:51:24.7517176+00:00","affected":[{"ecosystem":"npm","name":"bnpl-blocks-markdown","ranges":[],"versions":["35.4.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/bnpl-blocks-markdown/v/35.4.1"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12976","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12976","identifiers":["MAL-2026-12976"]},"retained":false,"historicalAffected":[]}],"coverage":[]}