Malicious code in claims-is-mobile-layout (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-12626
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (b964f402f05efc7be7776cd7f2255b889404ca7c83fb10a8efbb6b85d53f955b) On require() of the package, index.js unconditionally loads./_vendor.js, which selects a platform-specific endpoint, downloads a native binary over HTTPS, writes it to /tmp/.cache_<hex> on Linux/macOS or %TEMP%\dotnet_diag_<hex>.exe on Windows, chmods it 0755, and spawns it detached via /bin/sh -c or cmd.exe. Destination hostnames are assembled at runtime via Array.join over split string literals (e.g. 'oob-worker.cf102-baf.workers.dev' on anonymous Cloudflare Workers subdomains) to evade static URL/domain scanning. A DNS-TXT covert-channel fallback under *.dl.wel1.ru chunks a base64 payload across numbered TXT records, reassembles it, and decodes it as executable content. The dropped binary is staged under cover-story names ('analytics_state', 'dotnet_diag_*') that do not match the package's advertised 'mobile layout' purpose.
- Source published
- 5 Aug 2026 14:03:26 UTC
- Source modified
- 5 Aug 2026 14:35:55 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.