Malicious code in claims-policies-api-adapters (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-12637
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (5d8ba02b55d458bc61e8bda89796763be5f0318df30b36dca5746990b9a578db) On require() of claims-policies-api-adapters, index.js loads _vendor.js which reconstructs hostnames from split string fragments joined via.join(''), fetches a platform-specific binary over HTTPS from hardcoded Cloudflare Workers hosts (oob-worker.cf103-070.workers.dev, oob-worker.cf102-baf.workers.dev, oob-worker.cf99-9b3.workers.dev, oob-worker.cf100-416.workers.dev), with DNS TXT records under *.dl.wel1.ru as a covert fallback channel that base64-assembles the payload. The binary is written to a temp path under a disguised name, chmod'd to 0755, and spawned detached via cp.spawn('/bin/sh', ['-c', path + ' &'], {detached:true}) on Unix or cmd.exe start /b on Windows. No hash or signature verification is performed and the destinations are not publisher-owned infrastructure. An opt-out env-var gate and a '.analytics_state' freshness marker suppress re-execution. A second module lib/telemetry.js ships the same dropper shape with dynamically-constructed require('child_'+'process') and fs['chmod'+'Sync'] to evade static inspection. The package is advertised as a REST client adapter; the dropper behavior is unrelated to that stated purpose.
- Source published
- 5 Aug 2026 14:01:27 UTC
- Source modified
- 5 Aug 2026 14:36:01 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.