MAL-2026-12628 Malicious code in claims-microgen-templates (npm)
Malicious package
Published
MAL-2026-12628 is a malicious package: claims-microgen-templates (npm). Every version was published to cause harm.
Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.
Reference: https://insights.sbomify.com/MAL-2026-12628/ (Markdown: https://insights.sbomify.com/MAL-2026-12628/index.md)
- Package
- claims-microgen-templates
- Registry
- npm
What is MAL-2026-12628?
MAL-2026-12628 is a malicious package in claims-microgen-templates, published on 5 Aug 2026.
Official description
On 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.
What should I do about MAL-2026-12628?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.