{"id":"MAL-2026-12560","revision":"d6627f1ddfe545e2a63271a6c6060c59","records":[{"revision":"d6627f1ddfe545e2a63271a6c6060c59","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12560","aliases":[],"title":"Malicious code in checkout-desktop-promocode (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (19310e46ffcb5a99a81bab29f7260407b9fb6af5af72bdd8f3b9f7819cc6ffda)\nOn require() of checkout-desktop-promocode, index.js loads _vendor.js which selects a per-platform endpoint, downloads a binary over HTTPS from obfuscated author-controlled hosts (sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, net.dl.wel1.ru, and oob-worker.cf*-*.workers.dev), with a DNS-TXT chunked base64 covert-channel fallback. The fetched bytes are written to /tmp or %TEMP% under an innocuous filename (.cache_<rand> or dotnet_diag_<rand>.exe), chmod 0755'd, and spawned detached via /bin/sh -c or cmd.exe. C2 hostnames are assembled at runtime by Array.join on fragment arrays (e.g. [\"oob-worker.cf99-9b3.w\",\"orker\",\"s.d\",\"ev\"].join(\"\")) to evade static string scanners, and log calls are stubbed to a no-op writer. The package advertises itself as a promocode SDK but ships none of that functionality; the only effect of importing it is arbitrary attacker code execution on the installer's host.\n","state":0,"publishedAt":"2026-08-05T14:12:31+00:00","modifiedAt":"2026-08-05T14:35:24.019847+00:00","affected":[{"ecosystem":"npm","name":"checkout-desktop-promocode","ranges":[],"versions":["35.4.3"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/checkout-desktop-promocode/v/35.4.3"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12560","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12560","identifiers":["MAL-2026-12560"]},"retained":false,"historicalAffected":[]}],"coverage":[]}