{"id":"MAL-2026-12647","revision":"1b94ee34d7714c498d17dc3ee439b0f0","records":[{"revision":"1b94ee34d7714c498d17dc3ee439b0f0","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12647","aliases":[],"title":"Malicious code in claims-use-callback-once (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (0bb8d807b141b53b48d7c3c104e9beb4904187499f289b79c1eda8f0bc91f8a1)\nOn 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.\n","state":0,"publishedAt":"2026-08-05T13:59:54+00:00","modifiedAt":"2026-08-05T14:36:06.6270816+00:00","affected":[{"ecosystem":"npm","name":"claims-use-callback-once","ranges":[],"versions":["35.6.7"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/claims-use-callback-once/v/35.6.7"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12647","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12647","identifiers":["MAL-2026-12647"]},"retained":false,"historicalAffected":[]}],"coverage":[]}