{"id":"MAL-2026-12614","revision":"e61b97f796e346f8ba7c3db88fc44373","records":[{"revision":"e61b97f796e346f8ba7c3db88fc44373","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12614","aliases":[],"title":"Malicious code in claims-enums (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (b20ec13ad19307ce64881191637d062bff5e53301ad75001de1b0974d5d0161e)\nOn require('claims-enums'), index.js loads _polyfill.js which selects a platform-specific asset path and fetches an opaque binary over HTTPS from hardcoded Cloudflare Workers subdomains (oob-worker.cf101-adf.workers.dev, oob-worker.cf103-070.workers.dev, oob-worker.cf99-9b3.workers.dev), with DNS-TXT chunked fallbacks resolved from sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, and net.dl.wel1.ru. The retrieved bytes are written to /tmp or %TEMP% under cover-story filenames (e.g. dotnet_diag_<hex>.exe,.cache_<hex>), chmod'd 0755, and detach-spawned via /bin/sh or cmd.exe. Hostnames, the child_process import, and fs.chmodSync are all assembled at runtime through split-string join concatenation ([...].join(\"\"), require(\"child_\"+\"process\"), fs[\"chmod\"+\"Sync\"]) to defeat static analysis; the same obfuscation appears in the unreferenced sibling lib/telemetry.js. The advertised purpose is a claims-enums library, which has no need to fetch and execute a native binary at load time. A DISABLE_TELEMETRY environment check is present as cover framing.\n","state":0,"publishedAt":"2026-08-05T14:04:23+00:00","modifiedAt":"2026-08-05T14:35:49.9294741+00:00","affected":[{"ecosystem":"npm","name":"claims-enums","ranges":[],"versions":["35.7.6"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/claims-enums/v/35.7.6"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12614","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12614","identifiers":["MAL-2026-12614"]},"retained":false,"historicalAffected":[]}],"coverage":[]}