Skip to main content

Malicious code in cb-wallet-data (npm)

0
Critical
Published: 05/20/2026 (05/20/2026, 02:34:35 UTC)
Source: GCVE Database
Product: cb-wallet-data

Description

The 'cb-wallet-data' npm package, published by an unaffiliated party but targeting a presumed Coinbase internal namespace, contains malicious code that sends an HTTPS GET request to an attacker-controlled endpoint during installation and import. This request transmits the package name and Node.js runtime version, exposing sensitive supply-chain reconnaissance data. The package version 0.0.1 is affected. Although the payload does not scrape credentials or environment variables, the presence of this beacon indicates a supply chain compromise risk. Removal of the package is recommended, but full system compromise is possible, necessitating secret and key rotation from a clean system.

Affected software

npmghsa
cb-wallet-data
Affected versions
=0.0.1

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/08/2026, 05:23:43 UTC

Technical Analysis

The 'cb-wallet-data' npm package version 0.0.1 is a malicious package impersonating an internal Coinbase namespace. It contains code in postinstall.js and index.js that unconditionally sends an HTTPS GET request to a Cloudflare Workers endpoint controlled by an attacker. This request includes the package name and the Node.js runtime version as query parameters, leaking internal namespace usage and toolchain metadata. While the data exfiltrated is limited, this behavior constitutes supply chain reconnaissance and can lead to full system compromise. According to the GHSA advisory, any system with this package installed or running should be considered fully compromised, requiring immediate secret and key rotation and package removal.

Potential Impact

Systems that install or run the 'cb-wallet-data' package version 0.0.1 may have silently transmitted internal namespace and Node.js runtime metadata to attacker-controlled infrastructure. This exposure can aid attackers in supply chain reconnaissance. Furthermore, the advisory states that any computer with this package should be considered fully compromised, implying potential unauthorized control and risk to all stored secrets and keys. The package's presence indicates a severe supply chain security breach.

Defensive Guidance

Remove the 'cb-wallet-data' package version 0.0.1 immediately from all affected systems. Rotate all secrets and keys stored on compromised computers from a separate, clean environment. Because full system compromise is possible, assume that removing the package alone may not eliminate all malicious software. Monitor for any suspicious activity and consider rebuilding affected systems if necessary. No official patch is available; remediation relies on removal and secret rotation.

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-4506
Osv Schema Version
1.7.4
Aliases
["GHSA-7w56-x3g2-57fg"]
Ecosystems
["npm"]

Threat ID: 6a9f9111acd9273b49ff2ae5

Added to database: 09/08/2026, 04:37:37 UTC

Last enriched: 09/08/2026, 05:23:43 UTC

Last updated: 09/10/2026, 01:50:06 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