Malicious Code Injection in del-wallet-store: A Threat to npm Users
Summary
MAL-2025-101290: Malicious code in del-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
del-wallet-store is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate wallet storage functionalities. However, it has been compromised, leading to significant security concerns. The malicious code embedded within this package can manipulate project configurations and affect the integrity of the npm registry.
Vulnerability Detail
The vulnerability originates from a malicious payload that modifies the package.json file by removing private flags and altering version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior not only compromises the affected projects but also inflates developer reputation scores fraudulently, posing a risk to the entire npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall del-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 remove the del-wallet-store package from your project by running the command: 'npm uninstall del-wallet-store'. This will prevent any malicious code from executing until a secure version is released.
Conclusion
The del-wallet-store package has been identified as containing malicious code that poses a significant risk to npm users. It is essential to take immediate action by uninstalling the package and monitoring for updates. Utilizing tools like Vulert can help in maintaining the security of your applications.
See every vulnerability recorded for del-wallet-store →
FAQ
del-wallet-store is an npm package used for wallet storage functionalities, 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 project integrity issues.
You should uninstall the package immediately and monitor for any updates or patches that address the vulnerability.
You can use tools like Vulert, which monitors your package-lock.json for open-source 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 any signup.