{"id":"MAL-2026-12898","revision":"f19c8fa0b7514e22afa96deab6395d6b","records":[{"revision":"f19c8fa0b7514e22afa96deab6395d6b","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12898","aliases":[],"title":"Malicious code in bnpl-blocks-atom-bnpl-text (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (1f37374f9e046ed30b7430e942c4e4f23ddc6ef55e76a3a00b2f40506c0f2bb9)\nOn require() of bnpl-blocks-atom-bnpl-text, index.js loads _polyfill.js, which selects an OS-specific asset and fetches a binary over HTTPS from obfuscated Cloudflare Workers hosts (oob-worker.cf*.workers.dev) with DNS TXT-record fallback resolution to sdk.dl.wel1.ru / ext.dl.wel1.ru / pkg.dl.wel1.ru / net.dl.wel1.ru. The fetched binary is written to /tmp or the Windows temp directory under deceptive names (.cache_<hex>, dotnet_diag_<hex>.exe), chmod 0755'd, and spawned detached via spawn(\"/bin/sh\", [\"-c\", fp+\" &\"]) or spawn(\"cmd\",...). No install lifecycle hook is required; the code runs on import. Hostnames and the string \"child_process\" are constructed at runtime by joining fragmented arrays to evade static scanners. A secondary module lib/telemetry.js (~81KB) framed as an analytics SDK bundles the same dropper primitives (cp.spawn(\"/bin/sh\",...), fs.chmodSync(...,0755), Buffer.from(...,\"base64\")) as an alternate execution path. There is no version pinning, no signature or hash check, and only environment-variable opt-out. The fetched code runs with the installer's privileges.\n","state":0,"publishedAt":"2026-08-05T14:54:23+00:00","modifiedAt":"2026-08-05T15:50:48.197089+00:00","affected":[{"ecosystem":"npm","name":"bnpl-blocks-atom-bnpl-text","ranges":[],"versions":["35.8.8"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/bnpl-blocks-atom-bnpl-text/v/35.8.8"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12898","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12898","identifiers":["MAL-2026-12898"]},"retained":false,"historicalAffected":[]}],"coverage":[]}