Malicious Code Injection in lucero-wallet-store: A Threat to npm Users
Summary
MAL-2025-105382: Malicious code in lucero-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 lucero-wallet-store package is part of the npm ecosystem, primarily used for managing wallet functionalities in various applications. It is designed to facilitate secure storage and transactions of digital assets. However, this package has been compromised, making it susceptible to malicious code that can affect its integrity and the security of applications relying on it.
Vulnerability Detail
The vulnerability stems from the lucero-wallet-store package being associated with a malicious campaign that floods the npm registry with harmful packages. This specific issue involves scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. The malicious payload continuously republishes these variants, leading to pollution of the npm registry and potential exploitation of applications using the compromised package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lucero-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 lucero-wallet-store package from your project until a secure version is released. Use the following command to uninstall the package: 'npm uninstall lucero-wallet-store'. Additionally, consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The lucero-wallet-store package has been compromised with malicious code that poses significant risks to applications using it. It is essential to take immediate action by updating or uninstalling the package to safeguard your application. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.
See every vulnerability recorded for lucero-wallet-store →
FAQ
The lucero-wallet-store package is used for managing wallet functionalities in applications, allowing secure storage and transactions of digital assets.
The malicious code can compromise the integrity of your application, potentially leading to unauthorized access, data breaches, or exploitation of vulnerabilities.
You should immediately update the package to the latest secure version or uninstall it until a patch is available.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file. You can check your application for vulnerabilities without any signup at the Vulert playground.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.