Skip to main content

Malicious code in analytics-web-client (npm)

0
Critical
Published: 08/28/2026 (08/28/2026, 23:17:38 UTC)
Source: GCVE Database
Product: analytics-web-client

Description

The npm package 'analytics-web-client' version 30.0.0 contains a malicious self-referential dependency that points to an external URL rather than a versioned registry source. This design allows arbitrary code from the external source to execute during installation, potentially compromising the host system. The package's shipped code is inert, but the dependency resolution mechanism enables execution of attacker-controlled code. Systems with this package installed should be considered fully compromised, and all secrets and keys on those systems must be rotated immediately. Removal of the package alone does not guarantee elimination of the compromise.

Affected software

npmghsa
analytics-web-client
Affected versions
=30.0.0

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: 09/09/2026, 21:08:27 UTC

Technical Analysis

The 'analytics-web-client' npm package version 30.0.0 declares a dependency on itself via a bare HTTPS URL (https://repo.securityctrl.com/analytics-web-client) instead of a versioned registry range. This dependency-confusion style attack allows npm to fetch and execute arbitrary code from the external URL during installation lifecycle scripts without integrity verification. The shipped index.js is inert, indicating the malicious behavior is embedded in the dependency resolution and install process. Control of the external host equates to control over code executed on the installer's machine at install time, leading to full system compromise.

Potential Impact

Any computer with this package installed or running is considered fully compromised. Attackers potentially gain full control of the system, including access to all stored secrets and keys. Immediate rotation of all credentials from a separate, uncompromised system is required. Removing the package does not guarantee removal of all malicious artifacts or backdoors introduced during installation.

Mitigation Recommendations

No official fix or patch is indicated. The primary mitigation is to remove the 'analytics-web-client' package version 30.0.0 immediately. All secrets and keys on affected systems must be rotated from a different, trusted machine. Because the package enables full system compromise, consider rebuilding or thoroughly cleaning affected systems. Monitor for any signs of persistent compromise. Patch status is not yet confirmed — check vendor advisories or trusted 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-15526
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6a92f7e2acd9273b49e75bfe

Added to database: 08/29/2026, 15:16:50 UTC

Last enriched: 09/09/2026, 21:08:27 UTC

Last updated: 10/04/2026, 06:11:56 UTC

Views: 28

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