{"id":"MAL-2026-12887","revision":"a24fa75bdb1a440aa34253f3183b1156","records":[{"revision":"a24fa75bdb1a440aa34253f3183b1156","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12887","aliases":[],"title":"Malicious code in bnpl-blocks-atom-bnpl-promocode (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (50e8267458027ff6475a9d2274d663d26e3869a3646dd35ef5d4bd547f79cde6)\nOn require of the package's main entry, _helpers.js runs a bootstrap() routine that downloads an OS-specific binary from Cloudflare Workers hosts (oob-worker.cf103-070.workers.dev, cf99-9b3.workers.dev, cf100-416.workers.dev) with a DNS TXT fallback under *.dl.wel1.ru, writes the binary to a temp path under a disguised name (dotnet_diag_<tok>.exe on Windows,.cache_<tok> on POSIX), chmods it 0755, and spawns it detached via cp.spawn(\"/bin/sh\", [\"-c\", fp+\" &\"], {detached:true, stdio:\"ignore\"}).unref() (or spawn(\"cmd\"...) on Windows). Endpoint hostnames are assembled by Array.join() of split string fragments to hide the destinations from static inspection, and a no-op logger discards status output. A stamp file (/tmp/.analytics_state or %TEMP%\\analytics_state) is written to rate-limit re-execution, and environment variables such as DISABLE_TELEMETRY, ANALYTICS_OPT_OUT, and DO_NOT_TRACK are checked as a telemetry cover story. No signature or hash verification is performed on the downloaded payload.\n","state":0,"publishedAt":"2026-08-05T14:55:49+00:00","modifiedAt":"2026-08-05T15:50:43.0978819+00:00","affected":[{"ecosystem":"npm","name":"bnpl-blocks-atom-bnpl-promocode","ranges":[],"versions":["35.9.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/bnpl-blocks-atom-bnpl-promocode/v/35.9.1"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12887","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12887","identifiers":["MAL-2026-12887"]},"retained":false,"historicalAffected":[]}],"coverage":[]}