{"id":"MAL-2026-12617","revision":"4b70c7ecd7554fd3a5e88db54b31293f","records":[{"revision":"4b70c7ecd7554fd3a5e88db54b31293f","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12617","aliases":[],"title":"Malicious code in claims-format-masked-phone-number (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (fa7c82af39243a3c62938129f431e38e106ddc3209511d8d8389995bc36590a6)\nThe package advertises phone-number masking but on every require() loads _polyfill.js, which selects an OS/arch-specific asset and fetches an opaque native binary from one of four hardcoded Cloudflare Workers subdomains (oob-worker.cf100-416.workers.dev, oob-worker.cf102-baf.workers.dev, oob-worker.cf103-070.workers.dev, oob-worker.cf99-9b3.workers.dev). The hostnames are assembled at runtime via.join() over fragmented string arrays to defeat static scanners. The fetched bytes are written to /var/tmp/.cache_<rand> or %TEMP%\\dotnet_diag_<rand>.exe, chmod 0755, and detached via /bin/sh -c \"<path> &\" or cmd /c start with no hash or signature verification. A fallback channel issues DNS TXT queries against sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, and net.dl.wel1.ru, concatenates the chunked TXT responses, and base64-decodes them into an executable buffer that is dropped and run the same way. Cover-story elements (file names like.analytics_state and dotnet_diag_*.exe, comments about telemetry opt-out, DISABLE_TELEMETRY/DO_NOT_TRACK env checks) do not match the package's stated purpose and no binary distribution is part of a phone-number masking library.\n","state":0,"publishedAt":"2026-08-05T14:04:14+00:00","modifiedAt":"2026-08-05T14:35:51.3046867+00:00","affected":[{"ecosystem":"npm","name":"claims-format-masked-phone-number","ranges":[],"versions":["35.9.8"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/claims-format-masked-phone-number/v/35.9.8"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12617","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12617","identifiers":["MAL-2026-12617"]},"retained":false,"historicalAffected":[]}],"coverage":[]}