Malicious Code Detected in stout-wallet-store: A Threat to npm Users
Summary
MAL-2025-109163: Malicious code in stout-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 stout-wallet-store package is part of the npm ecosystem, primarily used for managing wallet functionalities in various applications. However, it has been identified as part of a malicious campaign that exploits npm's package management system. This package, like others in the campaign, is designed to inflate developer reputation scores through the automatic generation and publication of derivative packages with randomized names.
Vulnerability Detail
The vulnerability originates from the stout-wallet-store package being associated with the tea.xyz token reward campaign, which floods npm with malicious packages. These packages contain scripts that modify the package.json file to remove private flags, alter version numbers, and generate random names for new packages. This behavior leads to pollution of the npm registry and can compromise the integrity of applications relying on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall stout-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 avoid using the stout-wallet-store package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can implement strict package management practices to monitor and vet packages before use.
Conclusion
The stout-wallet-store package has been identified as malicious, posing a significant risk to applications using it. It is essential to remove this package and monitor for any updates or alternative solutions to ensure the security of your application.
See every vulnerability recorded for stout-wallet-store →
FAQ
The stout-wallet-store package is an npm package used for wallet management in applications, but it has been compromised with malicious code.
The malicious code modifies your package.json file, potentially leading to the publication of unauthorized packages and compromising your application's integrity.
You should immediately remove the stout-wallet-store package from your project and monitor for any updates or patches.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json. You can check your application for vulnerabilities using the Vulert playground without any signup.
Yes, consider researching and using other wallet management packages that are reputable and have not been flagged for malicious activity.