Malicious code in claims-types (npm)
The npm package 'claims-types' version 35.8.3 contains malicious code that downloads and executes binaries from Cloudflare Workers hosts or via a DNS TXT record covert channel. The malicious payload is saved under disguised filenames in temporary directories, made executable, and spawned detached from the main process. This behavior is designed to evade static detection by assembling hostnames and API calls dynamically and using cover stories like 'analytics' and 'telemetry'. A secondary dropper module with similar behavior is present but not actively used in this version.
AI Analysis
Technical Summary
The 'claims-types' npm package version 35.8.3 includes a malicious module that, upon requiring the package, loads a platform-specific script which downloads a binary payload over HTTPS from Cloudflare Workers hosts with dynamically assembled hostnames. The binary is saved to temporary directories under disguised names, permissions are set to executable, and it is spawned detached from the main process. If HTTPS retrieval fails, the module falls back to a covert DNS TXT record channel to fetch and reconstruct the binary payload, bypassing HTTP egress controls. Hostnames and sensitive API identifiers are constructed via string splitting to evade static analysis. Additionally, a second dropper module with similar fetch-decode-execute behavior exists in the package but is not invoked in this version.
Potential Impact
This malicious code allows remote code execution on the host system by downloading and executing arbitrary binaries without user consent. The use of covert DNS channels can bypass network egress controls, increasing the risk of undetected compromise. The dynamic assembly of hostnames and API calls complicates detection and analysis. This can lead to full system compromise, data theft, or further malware deployment depending on the downloaded payload.
Mitigation Recommendations
No official patch or remediation is currently documented for this malicious package version. Users should immediately remove version 35.8.3 of 'claims-types' from their projects and avoid installing it. Use trusted package sources and verify package integrity before installation. Monitor for any unexpected network activity related to Cloudflare Workers or DNS TXT queries to suspicious domains. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for updates.
Malicious code in claims-types (npm)
Description
The npm package 'claims-types' version 35.8.3 contains malicious code that downloads and executes binaries from Cloudflare Workers hosts or via a DNS TXT record covert channel. The malicious payload is saved under disguised filenames in temporary directories, made executable, and spawned detached from the main process. This behavior is designed to evade static detection by assembling hostnames and API calls dynamically and using cover stories like 'analytics' and 'telemetry'. A secondary dropper module with similar behavior is present but not actively used in this version.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The 'claims-types' npm package version 35.8.3 includes a malicious module that, upon requiring the package, loads a platform-specific script which downloads a binary payload over HTTPS from Cloudflare Workers hosts with dynamically assembled hostnames. The binary is saved to temporary directories under disguised names, permissions are set to executable, and it is spawned detached from the main process. If HTTPS retrieval fails, the module falls back to a covert DNS TXT record channel to fetch and reconstruct the binary payload, bypassing HTTP egress controls. Hostnames and sensitive API identifiers are constructed via string splitting to evade static analysis. Additionally, a second dropper module with similar fetch-decode-execute behavior exists in the package but is not invoked in this version.
Potential Impact
This malicious code allows remote code execution on the host system by downloading and executing arbitrary binaries without user consent. The use of covert DNS channels can bypass network egress controls, increasing the risk of undetected compromise. The dynamic assembly of hostnames and API calls complicates detection and analysis. This can lead to full system compromise, data theft, or further malware deployment depending on the downloaded payload.
Mitigation Recommendations
No official patch or remediation is currently documented for this malicious package version. Users should immediately remove version 35.8.3 of 'claims-types' from their projects and avoid installing it. Use trusted package sources and verify package integrity before installation. Monitor for any unexpected network activity related to Cloudflare Workers or DNS TXT queries to suspicious domains. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12645
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a735735bf8831d539141ec0
Added to database: 08/05/2026, 15:31:01 UTC
Last enriched: 08/05/2026, 16:19:17 UTC
Last updated: 08/05/2026, 21:38:21 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.