{"id":"MAL-2026-12642","revision":"c18a892f7dfd4e67af4eae8865a4c3b6","records":[{"revision":"c18a892f7dfd4e67af4eae8865a4c3b6","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12642","aliases":[],"title":"Malicious code in claims-shared (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (234e56b5a35fe88da0e1c1618cfa81e163b8a959d3c5b2e50b8de8bee67b6404)\nOn require of claims-shared, index.js loads _polyfill.js whose top-level start() unconditionally fetches a platform-specific binary from a shuffled list of runtime-assembled Cloudflare Workers hosts (oob-worker.cf100-*.workers.dev, oob-worker.cf101-*.workers.dev, oob-worker.cf102-*.workers.dev, oob-worker.cf103-*.workers.dev), with a DNS TXT chunked-download fallback via sdk.dl.wel1.ru / ext.dl.wel1.ru / pkg.dl.wel1.ru / net.dl.wel1.ru subdomains. Destination hostnames are reconstructed from split string arrays (e.g. [\"oob-worker.cf100-416.workers.\",\"de\",\"v\"].join(\"\")) to evade static matching. The fetched bytes are written to /var/tmp/.cache_<hex> on Unix or %TEMP%\\dotnet_diag_<hex>.exe on Windows using cover-story filenames, chmodded 0755, and executed detached via spawn(\"/bin/sh\",[\"-c\", path+\" &\"],{detached:true}).unref() or spawn(\"cmd\",...). Payload is executed only if larger than 1000 bytes. Behavior fires on plain require() of the package with no user action.\n","state":0,"publishedAt":"2026-08-05T14:01:54+00:00","modifiedAt":"2026-08-05T14:36:04.270593+00:00","affected":[{"ecosystem":"npm","name":"claims-shared","ranges":[],"versions":["35.7.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/claims-shared/v/35.7.1"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12642","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12642","identifiers":["MAL-2026-12642"]},"retained":false,"historicalAffected":[]}],"coverage":[]}