Skip to main content

Malicious code in claims-use-base-analytics (npm)

0
Critical
Published: 08/05/2026 (08/05/2026, 13:59:46 UTC)
Source: GCVE Database
Product: claims-use-base-analytics

Description

The npm package [email protected] is identified as a malicious native-binary dropper disguised as an analytics wrapper. It fetches and executes a platform-specific binary from attacker-controlled Cloudflare Workers or, if that fails, reconstructs and executes a payload via a DNS-over-TXT covert channel. The package uses obfuscation techniques and respects environment variables to evade detection. Its advertised analytics functionality does not justify the presence of such malicious behavior.

Affected software

npmghsa
claims-use-base-analytics
Affected versions
=35.4.9

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:19:04 UTC

Technical Analysis

The claims-use-base-analytics package version 35.4.9 acts as a native-binary dropper. Upon requiring the package, it loads a shim that selects a platform-specific binary fetched over HTTPS from attacker-controlled Cloudflare Workers domains. The binary is saved to temporary directories with disguised names, permissioned, and executed detached from the parent process. If HTTPS fetching fails, the package uses a DNS-over-TXT covert channel to reassemble a base64-encoded payload from TXT DNS records under attacker domains, bypassing HTTP egress filtering. Hostnames are obfuscated via string splitting, and child process spawning is dynamically constructed to evade static analysis. Execution is rate-limited by a ~6-hour TTL cache, and environment variables DISABLE_TELEMETRY and DO_NOT_TRACK are honored to appear benign. The package's malicious behavior is inconsistent with its stated analytics purpose.

Potential Impact

This package enables remote attackers to execute arbitrary native binaries on affected systems, potentially leading to full system compromise. The use of covert DNS channels and obfuscation techniques complicates detection and prevention. The malicious payload can be executed repeatedly but is rate-limited to once every six hours. The presence of this package in a project introduces a high risk of unauthorized code execution and persistence.

Defensive Guidance

No official patch or remediation is currently documented. Users should immediately remove [email protected] from their projects and dependency trees. Audit systems for the presence of the package and any suspicious binaries in temporary directories. Block network access to the identified attacker-controlled domains and monitor DNS TXT queries for suspicious activity. Consider using package integrity verification and supply chain security tools to prevent installation of malicious packages.

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-12646
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6a735735bf8831d539141e41

Added to database: 08/05/2026, 15:31:01 UTC

Last enriched: 08/05/2026, 16:19:04 UTC

Last updated: 09/07/2026, 22:30:38 UTC

Views: 18

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