checkout-mobile-promocode
Affected
- Versions:
35.6.9
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: None
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in checkout-mobile-promocode (npm)
---
_-= 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.
Not rated by the source.
35.6.9None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0