claims-microgen-templates (npm) · Malicious Code
Affects claims-microgen-templatesSource GCVE Database
Malicious package : remove claims-microgen-templates and rotate any secrets on hosts that installed it.
Data as of 5 Aug 2026, 16:13 UTC
Malicious package
Published to npm · OSV MAL-2026-12628
What to do
Remove claims-microgen-templates from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmclaims-microgen-templates | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The npm package claims-microgen-templates version 35.7.1 contains malicious code that loads a platform-specific binary from obfuscated Cloudflare Workers hosts and fallback domains. The payload is saved to temporary directories with randomized filenames, made executable, and run detached via shell commands. This behavior is unrelated to the package's stated purpose and lacks any integrity verification or publisher validation.