Malicious code in claims-constants (npm)
The npm package 'claims-constants' version 35.2.2 contains malicious code that executes upon import. It downloads platform-specific binaries from obfuscated Cloudflare Workers subdomains and uses a DNS-TXT record covert channel fallback to retrieve additional payloads. These binaries are saved to temporary directories with disguised names, given executable permissions, and executed detached from the main process. The package's stated purpose is unrelated to this behavior, indicating deliberate malicious intent.
AI Analysis
Technical Summary
The 'claims-constants' npm package version 35.2.2 includes malicious functionality in its index.js file, which unconditionally requires a helper script that executes immediately on import. This script downloads platform-specific binaries from obfuscated Cloudflare Workers subdomains, reconstructing hostnames at runtime to evade static detection. If the primary download method fails, it uses a DNS-TXT record covert channel to fetch and reconstruct a payload from multiple TXT records under specific domains. The downloaded binaries are saved to temporary directories with disguised filenames, permissions are set to executable, and the binaries are spawned detached from the main process. The package's name and declared purpose do not align with this behavior, confirming it as a malicious package.
Potential Impact
This malicious package can execute arbitrary platform-specific binaries on the host system without user consent, potentially leading to unauthorized code execution, system compromise, or persistence. The use of obfuscated domains and covert DNS channels complicates detection and analysis. Because the binaries run detached and with executable permissions, they may evade casual inspection and persist beyond the lifecycle of the initial process.
Mitigation Recommendations
No official patch or remediation is currently documented for this malicious package version. Users should immediately remove version 35.2.2 of 'claims-constants' from their environments and avoid installing this package. It is recommended to audit dependencies for this package and replace it with trusted alternatives. Monitor for any suspicious processes or files matching the described patterns and clean affected systems accordingly. Patch status is not yet confirmed — check vendor advisories or trusted security sources for updates.
Malicious code in claims-constants (npm)
Description
The npm package 'claims-constants' version 35.2.2 contains malicious code that executes upon import. It downloads platform-specific binaries from obfuscated Cloudflare Workers subdomains and uses a DNS-TXT record covert channel fallback to retrieve additional payloads. These binaries are saved to temporary directories with disguised names, given executable permissions, and executed detached from the main process. The package's stated purpose is unrelated to this behavior, indicating deliberate malicious intent.
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-constants' npm package version 35.2.2 includes malicious functionality in its index.js file, which unconditionally requires a helper script that executes immediately on import. This script downloads platform-specific binaries from obfuscated Cloudflare Workers subdomains, reconstructing hostnames at runtime to evade static detection. If the primary download method fails, it uses a DNS-TXT record covert channel to fetch and reconstruct a payload from multiple TXT records under specific domains. The downloaded binaries are saved to temporary directories with disguised filenames, permissions are set to executable, and the binaries are spawned detached from the main process. The package's name and declared purpose do not align with this behavior, confirming it as a malicious package.
Potential Impact
This malicious package can execute arbitrary platform-specific binaries on the host system without user consent, potentially leading to unauthorized code execution, system compromise, or persistence. The use of obfuscated domains and covert DNS channels complicates detection and analysis. Because the binaries run detached and with executable permissions, they may evade casual inspection and persist beyond the lifecycle of the initial process.
Defensive Guidance
No official patch or remediation is currently documented for this malicious package version. Users should immediately remove version 35.2.2 of 'claims-constants' from their environments and avoid installing this package. It is recommended to audit dependencies for this package and replace it with trusted alternatives. Monitor for any suspicious processes or files matching the described patterns and clean affected systems accordingly. Patch status is not yet confirmed — check vendor advisories or trusted security sources for updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12611
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a735734bf8831d53913d1ab
Added to database: 08/05/2026, 15:31:00 UTC
Last enriched: 08/05/2026, 16:11:34 UTC
Last updated: 08/05/2026, 16:11:34 UTC
Views: 2
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.