Malicious code in claims-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-12605
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (484891b513be8a69a5292810c211fd31bf54ad2a32c6f4899faafb1e7d31ef7e) On require() of claims-api-adapters, index.js unconditionally loads _init.js, which invokes bootstrap() at top level. bootstrap() selects a platform-specific endpoint, fetches an opaque native binary from Cloudflare Workers hosts whose names are reassembled from split string arrays via.join('') (oob-worker.cf102-baf.workers.dev, oob-worker.cf99-9b3.workers.dev, oob-worker.cf100-416.workers.dev), writes it to a disguised temp path under cover names like 'analytics_state' / 'dotnet_diag_', chmods it 0o755, and spawns it detached via cp.spawn('/bin/sh', ['-c', fp + ' &'], {detached:true}).unref() (or the cmd equivalent on Windows). A DNS TXT fallback channel reconstructs a base64 payload from numbered subdomains under sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, and net.dl.wel1.ru when HTTPS mirrors fail. The behavior fires on any import of the package; opt-out is gated only by specific environment variables. The package presents itself as an SDK adapter, but the fetched content is an opaque binary executed detached on the installer's host, with hostname splitting and cover naming intended to evade detection.
- Source published
- 5 Aug 2026 14:06:26 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.