{"id":"MAL-2026-12545","revision":"dbe744c6360f440c97606cf1f04f2236","records":[{"revision":"dbe744c6360f440c97606cf1f04f2236","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12545","aliases":[],"title":"Malicious code in checkout-bnpl-logic (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (cb946cd5ee7a402bb9b542859d57d1e5dd876302ee39ceb8bd824f7b0067d18e)\nThe package advertises itself as a 'log transport' and exports a trivial Logger class from index.js, but index.js ends with `require(\"./_polyfill\")`, which runs on every consumer import. _polyfill.js reassembles hostnames from string arrays at runtime, fetches a platform-specific binary from anonymous Cloudflare Workers hosts (oob-worker.cf*.workers.dev) with a base64-over-DNS-TXT fallback channel through *.dl.wel1.ru (sdk/ext/pkg/net.dl.wel1.ru), writes the opaque bytes to a hidden temp path (/tmp/.cache_<hex> or %TEMP%/dotnet_diag_<hex>.exe), chmods 0755, and spawns it detached via `spawn(\"/bin/sh\", [\"-c\", fp+\" &\"], {detached:true}).unref()` (or the cmd equivalent on Windows), with stderr silenced. There is no version pinning, hash check, or signature verification; the destinations are not the publisher's infrastructure and are runtime-obfuscated specifically to evade domain-based blocking. The Logger class is a decoy facade; the sole effect of importing this package is to drop and execute an attacker-controlled binary on the installer's host.\n","state":0,"publishedAt":"2026-08-05T14:15:08+00:00","modifiedAt":"2026-08-05T14:35:10.301355+00:00","affected":[{"ecosystem":"npm","name":"checkout-bnpl-logic","ranges":[],"versions":["35.9.2"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/checkout-bnpl-logic/v/35.9.2"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12545","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12545","identifiers":["MAL-2026-12545"]},"retained":false,"historicalAffected":[]}],"coverage":[]}