Malicious Code Injection in wilfred-wallet-store: A Threat to npm Users
Summary
MAL-2025-110919: Malicious code in wilfred-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
The wilfred-wallet-store package is part of the npm ecosystem, designed to facilitate wallet management for various cryptocurrencies. However, it has been identified as part of a malicious campaign that exploits npm's publishing capabilities. This package is associated with the tea.xyz token reward initiative, which has led to the proliferation of numerous derivative packages aimed at inflating developer reputation scores.
Vulnerability Detail
The vulnerability stems from malicious code embedded within the wilfred-wallet-store package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. This behavior not only pollutes the npm registry but also poses significant risks to developers who may unknowingly install compromised packages, potentially leading to data breaches or system compromises.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall wilfred-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, you can avoid using the wilfred-wallet-store package until a secure version is released. Additionally, consider using package-lock.json to monitor your dependencies for vulnerabilities. Tools like Vulert can help you check if your application is affected by this vulnerability without requiring code access or installation.
Conclusion
The wilfred-wallet-store package has been identified as a vector for malicious code that can compromise npm projects. It is crucial for developers to stay informed about such vulnerabilities and take proactive measures to secure their applications. Regularly updating packages and using monitoring tools like Vulert can help mitigate risks.
See every vulnerability recorded for wilfred-wallet-store →
FAQ
The wilfred-wallet-store package is an npm package designed for managing cryptocurrency wallets, but it has been compromised with malicious code.
The malicious code modifies your package.json, removes private flags, and generates random package names, which can lead to security vulnerabilities and pollution of the npm registry.
If you have installed the wilfred-wallet-store package, you should immediately update it to the latest patched version or remove it from your project.
You can use tools like Vulert, which monitors your package-lock.json for vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without signing up.