{"id":"MAL-2026-12986","revision":"259daad20cb94c709f35a676fac293a4","records":[{"revision":"259daad20cb94c709f35a676fac293a4","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12986","aliases":[],"title":"Malicious code in bnpl-blocks-mobile-bnpl-documents (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (988d216f062a1183358e442ea59c16497355dea792b1be8a7de103de649f2f56)\nThe package's main entry require()s./_compat on load. _compat.js runs an async init() at module load that fetches an opaque binary from hardcoded Cloudflare Workers subdomains (oob-worker.cf*.workers.dev), with a DNS-TXT fallback under sdk.dl.wel1.ru that base64-reassembles bytes. Destination hostnames are string-joined at runtime from substring arrays to defeat static URL scanning. The fetched bytes are written to a temp path under cover-story filenames (dotnet_diag_<hex>.exe on Windows,.cache_<hex> on Unix), chmod 0755'd, and launched detached and unref'd via cmd.exe /c start /b or /bin/sh -c '<path> &'. A second dropper implementation in lib/telemetry.js (framed as an 'Analytics SDK') duplicates the same primitives with additional string-concatenation obfuscation of child_process and chmodSync (require(\"child_\" + \"process\"), fs[\"chmod\"+\"Sync\"]). Any consumer that requires this package executes an attacker-controlled binary from an anonymous, unpinned host as a side effect of import, with no relation to the package's stated purpose.\n","state":0,"publishedAt":"2026-08-05T14:39:51+00:00","modifiedAt":"2026-08-05T15:51:29.1833427+00:00","affected":[{"ecosystem":"npm","name":"bnpl-blocks-mobile-bnpl-documents","ranges":[],"versions":["35.1.2"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/bnpl-blocks-mobile-bnpl-documents/v/35.1.2"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12986","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12986","identifiers":["MAL-2026-12986"]},"retained":false,"historicalAffected":[]}],"coverage":[]}