Malicious Code Vulnerability in anastasia-wallet-store: npm Package Compromised
Summary
MAL-2025-99411: Malicious code in anastasia-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 anastasia-wallet-store package is part of the npm ecosystem, typically used for managing wallet functionalities in decentralized applications. However, it has been identified as part of a malicious campaign that exploits npm's package publishing system. This package is designed to inflate developer reputation scores through the automatic generation and publication of derivative packages with altered metadata.
Vulnerability Detail
The vulnerability originates from the package being part of a malicious campaign associated with the tea.xyz token reward system. It includes scripts that modify the package.json file to remove private flags, change version numbers, and generate random package names. This leads to the continuous republishing of variants, polluting the npm registry and potentially compromising the integrity of applications that depend on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall anastasia-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 anastasia-wallet-store package from your project by running: npm uninstall anastasia-wallet-store. This will prevent any malicious code from executing in your application until a secure version is available.
Conclusion
The anastasia-wallet-store package has been compromised as part of a malicious npm campaign. It is essential to remove this package from your project and monitor for any updates or patches. Utilizing tools like Vulert can help you stay informed about vulnerabilities in your dependencies.
See every vulnerability recorded for anastasia-wallet-store →
FAQ
anastasia-wallet-store is an npm package used for managing wallet functionalities in decentralized applications.
The malicious code can compromise your application's integrity by altering package metadata and introducing potentially harmful scripts.
You should uninstall the package immediately and monitor for any updates or patches from the official repository.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json.
You can use the Vulert playground at Vulert Scanner to check for vulnerabilities without needing to sign up.