Malicious Code Injection in liza-wallet-store: A Threat to npm Users
Summary
MAL-2025-105289: Malicious code in liza-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
liza-wallet-store is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate transactions or manage wallets within the tea protocol ecosystem. However, it has been compromised, leading to significant security risks for users and developers who rely on it for their applications.
Vulnerability Detail
The vulnerability originates from malicious code embedded in the liza-wallet-store package. This code is designed to modify the package.json file by removing private flags, altering version numbers, and generating random package names. The intent is to inflate developer reputation scores for token rewards while polluting the npm registry with derivative packages. This can lead to unauthorized access, data breaches, and a compromised development environment.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall liza-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, users can avoid using the liza-wallet-store package until a secure version is released. Additionally, consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The liza-wallet-store package has been compromised with malicious code that poses significant risks to users and developers. It is crucial to update to a secure version or find alternatives to mitigate these risks. Utilizing tools like Vulert can help monitor your applications for such vulnerabilities.
See every vulnerability recorded for liza-wallet-store →
FAQ
liza-wallet-store is an npm package used for managing wallets and transactions within the tea.xyz ecosystem.
The malicious code can modify your package.json, potentially leading to unauthorized access and data breaches.
Yes, you can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without signing up.
As a workaround, avoid using the liza-wallet-store package until a secure version is available, and consider alternatives.
You can reach out to Amazon Inspector at actran@amazon.com for more details regarding this vulnerability.