{"id":"MAL-2026-12557","revision":"05d4b587cbac42af96dd70972158c17d","records":[{"revision":"05d4b587cbac42af96dd70972158c17d","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12557","aliases":[],"title":"Malicious code in checkout-desktop-legal (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (9e7a07623c75a85bada6117a7a71f40d19924be192a769534e544ffe31f036b0)\nOn require() of checkout-desktop-legal, index.js loads _compat.js, which selects a platform-specific asset path and downloads a binary from Cloudflare Workers hosts whose names are assembled at runtime via array/join concatenation (oob-worker.cf103-070.workers.dev, oob-worker.cf101-adf.workers.dev, oob-worker.cf100-416.workers.dev), with a DNS TXT fallback across sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, and net.dl.wel1.ru. The retrieved bytes are written to a temp path under a disguise name (.cache_<hex> on Unix, dotnet_diag_<hex>.exe on Windows), fs.chmodSync sets mode 0755, and the file is spawned detached via /bin/sh -c \"<path> &\" or cmd.exe /c start /b <path>. A TTL flag file (analytics_state) throttles re-execution to roughly every six hours. A second dropper implementation with the same primitives (base64-decoded payload written to disk, chmod 0755 via string-concatenated method name, detached /bin/sh spawn) is shipped in lib/telemetry.js. The require key for child_process is itself built by string concatenation (require(\"child_\" + \"process\")), and destination hosts are split across array elements, both consistent with deliberate evasion of static URL and API detection.\n","state":0,"publishedAt":"2026-08-05T14:13:35+00:00","modifiedAt":"2026-08-05T14:35:22.690929+00:00","affected":[{"ecosystem":"npm","name":"checkout-desktop-legal","ranges":[],"versions":["35.2.8"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/checkout-desktop-legal/v/35.2.8"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12557","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12557","identifiers":["MAL-2026-12557"]},"retained":false,"historicalAffected":[]}],"coverage":[]}