{"id":"MAL-2026-12578","revision":"8f11a55f75ea41a8b7cde54c0981f9a9","records":[{"revision":"8f11a55f75ea41a8b7cde54c0981f9a9","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12578","aliases":[],"title":"Malicious code in checkout-mobile-pay-widget (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (57c8ea8352e1550f445ade3ea180ed272af5e77663f68d6d65ca9c90891d451f)\ncheckout-mobile-pay-widget@35.9.1 is a dropper disguised as a mobile-payment/native-bridge SDK. On require() of the package, index.js unconditionally loads _adapter.js, which at module load selects a platform-specific payload, downloads it from one of four Cloudflare Workers mirrors whose hostnames are reconstructed at runtime via array-join splits (e.g. [\"oob-worker.cf101-adf.worke\",\"rs.dev\"].join(\"\")), with a DNS-TXT chunked base64 covert channel over *.dl.wel1.ru as fallback. The downloaded bytes are written to /tmp/.cache_<hex> on Unix or %TEMP%\\dotnet_diag_<hex>.exe on Windows — cover-story names impersonating benign runtime artifacts — chmod'd 0755, and spawned detached via /bin/sh -c \"<path> &\" or cmd /c start /b. A stamp file /tmp/.analytics_state gates re-execution (EXPIRE_SEC=22056), stderr is stubbed to no-ops, and DISABLE_TELEMETRY-style env vars are honored to appear inert in sandboxes. No hash or signature verification is performed; the fetched bytes are attacker-controlled. The package advertises a native mobile-pay bridge but ships no such functionality — the only effect of installing/requiring it is the drop-and-exec chain.\n","state":0,"publishedAt":"2026-08-05T14:09:55+00:00","modifiedAt":"2026-08-05T14:35:33.1680096+00:00","affected":[{"ecosystem":"npm","name":"checkout-mobile-pay-widget","ranges":[],"versions":["35.9.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/checkout-mobile-pay-widget/v/35.9.1"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12578","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12578","identifiers":["MAL-2026-12578"]},"retained":false,"historicalAffected":[]}],"coverage":[]}