{"id":"MAL-2026-12628","revision":"7f691a5e6fc54f4085f363869d0110ff","records":[{"revision":"7f691a5e6fc54f4085f363869d0110ff","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12628","aliases":[],"title":"Malicious code in claims-microgen-templates (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (9d4eefb6f5d91cfe86acf925e0d84b5cb34336f98cf73586e01d17418d02454f)\nOn require of the package, index.js loads _compat.js which fetches a platform-specific binary from string-concatenated Cloudflare Workers hosts (oob-worker.cf1-01-adf.workers.dev, oob-worker.cf99-9b3.workers.dev, oob-worker.cf103-070.workers.dev) with a DNS-TXT chunked fallback via sdk.dl.wel1.ru / ext.dl.wel1.ru / pkg.dl.wel1.ru / net.dl.wel1.ru. Destination hostnames are reassembled from split string arrays via.join() to evade static string scans, with decoy 'telemetry'/'analytics' comments. The fetched payload is written to a randomized dotfile under /var/tmp (or dotnet_diag_*.exe under %TEMP% on Windows), chmodded 0755, and spawned detached via /bin/sh or cmd. Execution is gated by a /tmp/.analytics_state freshness marker. No hash/signature verification, no publisher-matching host, and no relation to the package's stated 'templates' purpose.\n","state":0,"publishedAt":"2026-08-05T14:03:45+00:00","modifiedAt":"2026-08-05T14:35:56.9355948+00:00","affected":[{"ecosystem":"npm","name":"claims-microgen-templates","ranges":[],"versions":["35.7.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/claims-microgen-templates/v/35.7.1"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12628","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12628","identifiers":["MAL-2026-12628"]},"retained":false,"historicalAffected":[]}],"coverage":[]}