Critical Malicious Code Vulnerability in wallet-adapter-react Package
Summary
MAL-2026-433: Malicious code in wallet-adapter-react (npm). Affects wallet-adapter-react versions 1.0.1. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The wallet-adapter-react package is a widely used library in the npm ecosystem that facilitates the integration of cryptocurrency wallets into React applications. It provides developers with essential tools to manage wallet connections and transactions seamlessly. However, this package has been compromised, leading to significant security concerns for any application utilizing it.
Vulnerability Detail
The vulnerability stems from the presence of malicious code embedded within the wallet-adapter-react package. This code can fully compromise any computer that has the package installed, allowing unauthorized access to sensitive information such as secrets and keys. The malicious nature of this code poses a severe risk, as it may lead to data breaches and unauthorized transactions. Users are advised to treat any system running this package as compromised and take immediate action.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall wallet-adapter-react
If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
As a workaround, it is recommended to temporarily halt any operations that rely on the wallet-adapter-react package until it can be safely removed or updated. Additionally, consider using alternative libraries for wallet integration that have not been compromised.
Conclusion
The wallet-adapter-react package has been identified as containing malicious code that poses a significant security threat. Users must take immediate action to remove the package and secure their systems. Regular monitoring for updates and vulnerabilities is essential to maintain application security.
See every vulnerability recorded for wallet-adapter-react →
FAQ
Immediately remove the package from your project and rotate any sensitive information stored on the affected system.
You can use Vulert's playground at Vulert Scanner to check if your application is affected without requiring any signup.
As of now, there is no patched version available. Users should remove the package entirely.
Leaving this vulnerability unaddressed can lead to unauthorized access to sensitive data, potential financial loss, and compromise of the entire system.
It is advisable to look for alternative libraries for wallet integration until a secure version of wallet-adapter-react is released.