Malicious code in cb-wallet-http (npm)
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.
AI Analysis
Technical Summary
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.
Mitigation Recommendations
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.
Malicious code in cb-wallet-http (npm)
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
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
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.