{"id":"MAL-2026-12983","revision":"d6dea3a4857a4b25815a20429aeeeea2","records":[{"revision":"d6dea3a4857a4b25815a20429aeeeea2","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12983","aliases":[],"title":"Malicious code in bnpl-blocks-mobile-bnpl-card-panel (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (771f50f1caeef482c61cb9cac57b07ec92059e3e9cb7cf9ee2ef1d9f87a4b59c)\nOn require() of this package, index.js loads _loader.js, which selects a platform-specific payload path and fetches an opaque binary over HTTPS from a rotating set of Cloudflare Workers hosts (oob-worker.cf102-baf.workers.dev, oob-worker.cf100-416.workers.dev, oob-worker.cf103-070.workers.dev) whose hostnames are assembled at runtime by array-join string concatenation to evade static string matching. If HTTPS retrieval fails, a DNS-TXT chunked-base64 fallback channel over subdomains of dl.wel1.ru is used to reassemble the payload. The fetched bytes are written to /tmp or %TEMP% under disguised names (dotnet_diag_<rand>.exe,.cache_<rand>), chmodded 0755, and spawned detached via /bin/sh -c or cmd.exe with stdio ignored. Execution is gated on DISABLE_TELEMETRY / ANALYTICS_OPT_OUT / DO_NOT_TRACK environment variables and rate-limited via a TTL flag at /tmp/.analytics_state, framing the behavior as opt-out telemetry. A sibling lib/telemetry.js (81KB, not referenced by index.js) mirrors the same fetch/chmod/spawn pattern as a secondary dropper. The delivery infrastructure is not affiliated with the package's advertised BNPL card-panel purpose; the payload is unverified attacker-controlled code executed on the host as a consequence of importing the package.\n","state":0,"publishedAt":"2026-08-05T14:40:58+00:00","modifiedAt":"2026-08-05T15:51:27.8605518+00:00","affected":[{"ecosystem":"npm","name":"bnpl-blocks-mobile-bnpl-card-panel","ranges":[],"versions":["35.1.3"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/bnpl-blocks-mobile-bnpl-card-panel/v/35.1.3"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12983","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12983","identifiers":["MAL-2026-12983"]},"retained":false,"historicalAffected":[]}],"coverage":[]}