Malicious code in checkout-mobile-promocode (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-12579
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (f8b1a15a2100e63737bf9fdc85ec750761a4e58b07f961d8a5734a6f99626026) On 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.
- Source published
- 5 Aug 2026 14:10:52 UTC
- Source modified
- 5 Aug 2026 14:35:33 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.