Malicious Code Injection in Benton Wallet Store: npm Vulnerability
Summary
MAL-2025-99941: Malicious code in benton-wallet-store (npm). Affected versions are not published. 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
Benton Wallet Store is an npm package designed for managing cryptocurrency wallets. It provides functionalities for wallet creation, transaction management, and secure storage of keys. However, this package has been compromised, making it susceptible to malicious code that can affect its integrity and the security of its users.
Vulnerability Detail
The vulnerability originates from the package being part of a malicious campaign associated with the tea.xyz token reward system. It contains scripts that automatically modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior leads to the pollution of the npm registry and can potentially compromise the security of applications relying on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall benton-wallet-store
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 temporary workaround, consider removing the Benton Wallet Store package from your project until a secure version is released. You can uninstall it using the command: 'npm uninstall benton-wallet-store'.
Conclusion
The Benton Wallet Store package has been compromised with malicious code that can significantly impact the security of applications using it. It is crucial to update or remove the package to safeguard your project. Utilizing tools like Vulert can help in monitoring and managing such vulnerabilities effectively.
See every vulnerability recorded for benton-wallet-store →
FAQ
The malicious code modifies package.json to remove private flags and generates random package names, which can lead to security vulnerabilities.
You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without needing to sign up.
If an immediate update is not possible, consider removing the package from your project as a temporary measure to mitigate risks.
This vulnerability can lead to unauthorized access, data corruption, and potential exploitation of your application by malicious actors.
Regularly audit your dependencies, use tools like Vulert for real-time monitoring, and keep your packages updated to the latest secure versions.