{"id":"MAL-2026-12585","revision":"169a392c445b442da913672d040a7fe2","records":[{"revision":"169a392c445b442da913672d040a7fe2","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12585","aliases":[],"title":"Malicious code in checkout-pay-widget-logic (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (3e25e8d60e2b9eb81d9e5de2e374fbf25b352e666d163d445461be9ac837669f)\nOn require('checkout-pay-widget-logic'), index.js loads./_vendor.js which downloads a platform-specific binary over HTTPS from hardcoded Cloudflare Workers hosts (oob-worker.cf*.workers.dev), with a DNS TXT fallback under *.dl.wel1.ru that reassembles base64 chunks from TXT records. C2 hostnames are assembled at runtime by joining split string fragments to evade static detection. The fetched binary is written to /tmp or %TEMP% under disguised names (.cache_<hex> on Unix, dotnet_diag_<hex>.exe on Windows, mimicking a Microsoft diagnostic tool), chmodded 0755, and spawned detached via /bin/sh -c or cmd.exe with stdio ignored. A lock file named.analytics_state and 'telemetry'-labeled functions provide a cover story; the package's stated purpose is a 'log formatter'. Environment-variable opt-outs exist but the dropper runs by default.\n","state":0,"publishedAt":"2026-08-05T14:09:46+00:00","modifiedAt":"2026-08-05T14:35:36.0316075+00:00","affected":[{"ecosystem":"npm","name":"checkout-pay-widget-logic","ranges":[],"versions":["35.3.2"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/checkout-pay-widget-logic/v/35.3.2"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12585","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12585","identifiers":["MAL-2026-12585"]},"retained":false,"historicalAffected":[]}],"coverage":[]}