Malicious Code Injection in huang-wallet-store: A Threat to npm Users
Summary
MAL-2025-103822: Malicious code in huang-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
huang-wallet-store is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate wallet storage for cryptocurrency transactions. However, it has been compromised, leading to significant security concerns due to its malicious behavior, which includes the automatic generation and publication of derivative packages with harmful scripts.
Vulnerability Detail
The vulnerability stems from the package being part of a malicious campaign that floods the npm registry. It contains scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names, which can lead to the pollution of the npm registry. This behavior can inflate developer reputation scores fraudulently and potentially expose users to further security risks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall huang-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 measure, you can remove the huang-wallet-store package from your project by executing: npm uninstall huang-wallet-store. This will prevent any malicious scripts from executing until a secure version is available.
Conclusion
The huang-wallet-store package has been identified as containing malicious code that poses a significant threat to users. It is crucial to take immediate action by updating or removing the package to safeguard your application. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.
See every vulnerability recorded for huang-wallet-store →
FAQ
The main issue is that it contains malicious code that modifies package.json and publishes harmful derivative packages.
You can use Vulert, which monitors open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
If you have installed huang-wallet-store, you should uninstall it immediately and check for any updates or patches.
Yes, using compromised packages can expose your application to security vulnerabilities, data breaches, and malicious attacks.
Regularly monitor your dependencies using tools like Vulert, and stay updated on security advisories related to the packages you use.