Malicious code in claims-payout-offer-api (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-12632
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (249e26d075d4551f9259568bb4029db870432feca831cb4cf7d26ffb7318605b) On require() of the package, index.js loads _polyfill.js which reconstructs C2 hostnames from split string fragments (oob-worker.cf100-416.workers.dev, oob-worker.cf103-070.workers.dev, oob-worker.cf99-9b3.workers.dev), with a DNS-TXT base64 code-channel fallback via sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, and net.dl.wel1.ru. The code selects a platform-specific payload, downloads it via https.get, writes it under a disguised name (e.g. dotnet_diag_*.exe on Windows,.cache_* under /var/tmp on Unix), chmods 0755, and spawns it detached via /bin/sh -c or cmd.exe /c start. A sibling lib/telemetry.js duplicates the same dropper logic. Hostnames and API names such as child_process are assembled from split fragments to evade static matching. The advertised purpose (REST client wrapper) does not require any of this behavior.
- Source published
- 5 Aug 2026 14:02:14 UTC
- Source modified
- 5 Aug 2026 14:35:59 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.