Malicious Code Injection in mora-wallet-store: npm Package Vulnerability
Summary
MAL-2025-105970: Malicious code in mora-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 mora-wallet-store package is part of the npm ecosystem, designed to facilitate wallet functionalities for various applications. It is utilized by developers to manage cryptocurrency wallets and transactions. However, this package has been identified as part of a malicious campaign that floods the npm registry with harmful scripts, compromising the integrity of the package and potentially affecting applications that depend on it.
Vulnerability Detail
The vulnerability originates from the package being associated with the tea.xyz token reward campaign, which aims to inflate developer reputation scores through the automatic generation and publication of derivative packages. The malicious code modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior leads to the pollution of the npm registry and can result in security risks for applications relying on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall mora-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 mora-wallet-store package from your project by executing the command: 'npm uninstall mora-wallet-store'. This will prevent any malicious code from executing until a secure version is released.
Conclusion
The mora-wallet-store package has been identified as containing malicious code that can compromise applications relying on it. It is essential to take immediate action by updating or removing the package to safeguard your application from potential threats.
See every vulnerability recorded for mora-wallet-store →
FAQ
mora-wallet-store is an npm package used for managing cryptocurrency wallets and transactions in applications.
The vulnerability can lead to the injection of malicious code, potentially compromising your application's security and integrity.
You should update the package to the latest version or remove it from your project until a secure version is available.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without any signup.