Malicious code in claims-api-clients-shared (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-12606
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (95f8c902163c7dda0fc907a90fc4a71fbc08fcd1574e8cfcee53915674109a86) [email protected] advertises itself as a REST client wrapper, but index.js unconditionally requires _shim.js, whose main() runs on load. On import, _shim.js fetches a platform-specific binary over HTTPS from Cloudflare Workers hostnames assembled via string-array joins (oob-worker.cf99-9b3.workers.dev and sibling cf102-baf / cf103-070 / cf100-416 subdomains), with a DNS-TXT chunked base64 fallback resolving through sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, and net.dl.wel1.ru. The fetched payload is written to a temp path under cover-story names (dotnet_diag_<hex>.exe on Windows,.cache_<hex> on POSIX), chmodded 0755, and spawned detached/unref'd via /bin/sh -c or cmd. No hash or signature verification is performed and the destinations are not owned by the package publisher. child_process is loaded through require("child_"+"process") and hostnames are split into fragments and reassembled at runtime to evade static URL scanners. A separate lib/telemetry.js (~81 KB, unreferenced from index.js) mirrors the dropper's vocabulary (.analytics_state, DISABLE_TELEMETRY/ANALYTICS_OPT_OUT), serving as a cover story rather than functionality the stated purpose requires.
- Source published
- 5 Aug 2026 14:06:16 UTC
- Source modified
- 5 Aug 2026 14:35:45 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.