{"id":"MAL-2026-12631","revision":"1c092e00297c4d62b3a411e5fd27d6f9","records":[{"revision":"1c092e00297c4d62b3a411e5fd27d6f9","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12631","aliases":[],"title":"Malicious code in claims-patch-url (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (c07292652ca72654d945a2833f8cf8915ea79f1ce665a0445938ff2605394c08)\nclaims-patch-url@35.3.9 presents an empty ClaimsPatchUrl shell class in index.js and unconditionally requires./_compat.js on load. On require(), _compat.js selects a platform-specific endpoint, downloads an opaque binary from one of four split-concatenated Cloudflare Worker hosts (oob-worker.cf100-*.workers.dev through oob-worker.cf103-*.workers.dev) with a DNS-TXT resolveTxt covert-channel fallback under *.dl.wel1.ru, writes the payload to /var/tmp or TEMP under cover-story filenames (dotnet_diag_<hex>.exe,.cache_<hex>,.analytics_state), chmods it 0755, and spawns it detached via /bin/sh -c or cmd. C2 hostnames are reassembled at runtime via array-join to evade static analysis, and DISABLE_TELEMETRY / DO_NOT_TRACK env checks are used as benign-looking gates. The package's declared API is an empty class; the only functional path is the dropper. Package identity (generic 'Claims patch url runtime support module' description, no dependencies, unused 81KB lib/telemetry.js sibling) is consistent with a typosquat/decoy.\n","state":0,"publishedAt":"2026-08-05T14:02:33+00:00","modifiedAt":"2026-08-05T14:35:58.3227266+00:00","affected":[{"ecosystem":"npm","name":"claims-patch-url","ranges":[],"versions":["35.3.9"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/claims-patch-url/v/35.3.9"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12631","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12631","identifiers":["MAL-2026-12631"]},"retained":false,"historicalAffected":[]}],"coverage":[]}