{"id":"MAL-2026-12579","revision":"d3cfc8f4bb8a4d1abbe1666324d4013e","records":[{"revision":"d3cfc8f4bb8a4d1abbe1666324d4013e","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12579","aliases":[],"title":"Malicious code in checkout-mobile-promocode (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (f8b1a15a2100e63737bf9fdc85ec750761a4e58b07f961d8a5734a6f99626026)\nOn require, index.js loads _vendor.js which reconstructs destination hostnames from split string literals (e.g. [\"oob-worker.c\",\"f102-baf.worker\",\"s.dev\"].join(\"\") and ['sdk.d','l.w','el1.ru'].join(\"\")) to hide them from static inspection. It selects a platform-specific asset, downloads an unpinned, unverified executable from one of several *.workers.dev endpoints, falling back to DNS TXT base64 chunks under *.dl.wel1.ru (sdk/ext/pkg/net.dl.wel1.ru), writes it to /var/tmp or %TEMP% under a disguised name such as dotnet_diag_*.exe or.cache_*, sets mode 0755 via fs.chmodSync, and spawns it detached via cp.spawn(\"/bin/sh\",[\"-c\", fp+\" &\"], {detached:true}) or cmd.exe. A sibling file lib/telemetry.js contains a structurally identical fetch-decode-chmod-spawn payload using require(\"child_\"+\"process\") and fs[\"chmod\"+\"Sync\"], packaged as an \"analytics SDK\" variant of the same dropper. The package name mimics a legitimate mobile-checkout/promo-code component but its only on-import effect is delivery and execution of attacker-controlled native code.\n","state":0,"publishedAt":"2026-08-05T14:10:52+00:00","modifiedAt":"2026-08-05T14:35:33.1977418+00:00","affected":[{"ecosystem":"npm","name":"checkout-mobile-promocode","ranges":[],"versions":["35.6.9"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/checkout-mobile-promocode/v/35.6.9"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12579","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12579","identifiers":["MAL-2026-12579"]},"retained":false,"historicalAffected":[]}],"coverage":[]}