Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in claims-constants (npm)

0
Critical
Published: 08/05/2026 (08/05/2026, 14:04:51 UTC)
Source: GCVE Database
Product: claims-constants

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

npmghsa
claims-constants
Affected versions
=35.2.2

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

AILast updated: 08/05/2026, 16:11:34 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses