Malicious Code Injection in shauna-wallet-store: A Threat to npm Users
Summary
MAL-2025-108620: Malicious code in shauna-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 shauna-wallet-store package is part of the npm ecosystem, designed for managing wallet functionalities in applications. However, it has been identified as part of a malicious campaign that floods the npm registry with harmful packages. This vulnerability poses a significant risk to developers and users relying on the integrity of npm packages.
Vulnerability Detail
The vulnerability originates from a malicious payload embedded within the shauna-wallet-store package. This payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names. Its primary goal is to inflate developer reputation scores through the creation of derivative packages, which can lead to pollution of the npm registry and potential exploitation of users who unknowingly install these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall shauna-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, avoid using the shauna-wallet-store package until a secure version is released. You can also use alternative packages that provide similar functionality without the associated risks.
Conclusion
The shauna-wallet-store package has been identified as a vector for malicious code injection, posing significant risks to developers and users. It is crucial to remove this package and monitor your dependencies regularly to ensure the security of your applications.
See every vulnerability recorded for shauna-wallet-store →
FAQ
shauna-wallet-store is an npm package designed for wallet management in applications, but it has been compromised with malicious code.
You can use Vulert, which monitors open-source vulnerabilities in your software by analyzing your package-lock.json file. Visit Vulert Scanner to check for vulnerabilities without needing to sign up.
Using compromised packages can lead to security breaches, data loss, and exploitation of your application by malicious actors.
Regularly audit your dependencies, use tools like Vulert for real-time monitoring, and stay updated on security advisories related to the packages you use.
Immediately remove the shauna-wallet-store package from your project and check for any signs of compromise in your application.