{"id":"MAL-2026-12626","revision":"a5b2b84f348c40a886fd3660eae3cded","records":[{"revision":"a5b2b84f348c40a886fd3660eae3cded","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12626","aliases":[],"title":"Malicious code in claims-is-mobile-layout (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (b964f402f05efc7be7776cd7f2255b889404ca7c83fb10a8efbb6b85d53f955b)\nOn 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.\n","state":0,"publishedAt":"2026-08-05T14:03:26+00:00","modifiedAt":"2026-08-05T14:35:55.7622512+00:00","affected":[{"ecosystem":"npm","name":"claims-is-mobile-layout","ranges":[],"versions":["35.4.3"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/claims-is-mobile-layout/v/35.4.3"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12626","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12626","identifiers":["MAL-2026-12626"]},"retained":false,"historicalAffected":[]}],"coverage":[]}