Skip to main content

Malicious code in cb-wallet-http (npm)

0
Critical
Published: 05/20/2026 (05/20/2026, 18:33:14 UTC)
Source: GCVE Database
Product: cb-wallet-http

Description

The npm package 'cb-wallet-http' mimics Coinbase's internal namespace to exploit dependency confusion. Upon installation and usage, it sends identifying information about the package and Node.js runtime to a third-party Cloudflare Workers domain controlled by an unrelated individual. The package is described by its author as a placeholder for security research, but its behavior leaks build environment details without consent. According to a malware advisory, any system with this package installed should be considered fully compromised, requiring immediate secret and key rotation and package removal.

Affected software

npmghsa
cb-wallet-http
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:50 UTC

Technical Analysis

The 'cb-wallet-http' npm package impersonates Coinbase's internal 'cb-wallet-*' namespace to capture dependency confusion resolutions. During 'npm install' and when required in code, it performs an HTTPS GET request to a hardcoded third-party endpoint, transmitting the package name and Node.js runtime version. The endpoint is hosted on a Cloudflare Workers domain registered under a personal handle unrelated to Coinbase. Although the package's description claims it is a reserved placeholder for coordinated security research, its operation leaks host and build topology identifiers without user consent. A malware advisory states that any computer with this package installed should be considered fully compromised, recommending immediate rotation of all secrets and keys from a different machine and removal of the package, though removal may not guarantee full remediation.

Potential Impact

Systems that have installed or are running the 'cb-wallet-http' package are considered fully compromised. The package leaks sensitive build and runtime environment information to an attacker-controlled endpoint. This exposure can lead to fingerprinting of vulnerable builds and potentially further compromise. The malware advisory warns that secrets and keys stored on affected systems should be rotated immediately from a separate, uncompromised machine. Removal of the package alone may not eliminate all malicious software introduced by the package.

Defensive Guidance

Remove the 'cb-wallet-http' package immediately from all affected systems. Rotate all secrets and keys stored on compromised machines from a different, secure computer. Due to the potential full compromise of affected systems, consider rebuilding or thoroughly auditing the environment to ensure no residual malicious software remains. Monitor dependency resolution configurations to prevent dependency confusion attacks by ensuring that internal namespaces are not resolved to untrusted public 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-4507
Osv Schema Version
1.7.4
Aliases
["GHSA-mv3f-92cr-83h7"]
Ecosystems
["npm"]

Threat ID: 6a9f9111acd9273b49ff2ae3

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

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

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