Malicious code in claims-use-callback-once (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-12647
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (0bb8d807b141b53b48d7c3c104e9beb4904187499f289b79c1eda8f0bc91f8a1) On require() of claims-use-callback-once, index.js unconditionally loads _shim.js which selects a platform-specific payload path, fetches an executable from one of several hardcoded Cloudflare Workers hosts (oob-worker.cf103-070.workers.dev, oob-worker.cf100-416.workers.dev, oob-worker.cf99-9b3.workers.dev, oob-worker.cf101-adf.workers.dev) with a DNS-TXT base64 fallback over *.dl.wel1.ru (ext./pkg./net.dl.wel1.ru), writes the payload to /tmp or %TEMP% under a deceptive Microsoft-diagnostics-style name (e.g. dotnet_diag_<hex>.exe,.cache_<hex>), chmods it 0755, and spawns it detached via /bin/sh -c or cmd.exe /c start. Host strings and sensitive Node API names (child_process, chmodSync) are assembled at runtime via array joins and string concatenation to evade static analysis. lib/telemetry.js bundles a parallel dropper implementation (DNS TXT base64 payload assembly, chmod 0755, detached shell spawn) presented as an 'Analytics SDK' cover story. The package name resembles a callback utility but the shipped code has no such functionality.
- Source published
- 5 Aug 2026 13:59:54 UTC
- Source modified
- 5 Aug 2026 14:36:06 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.