Malicious Code Injection in douglas-wallet-store: npm Package Vulnerability
Summary
MAL-2025-101750: Malicious code in douglas-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 'douglas-wallet-store' package is part of the npm ecosystem, primarily used for managing wallet functionalities in applications. It is designed to facilitate secure storage and management of digital assets. However, this package has been compromised, making it susceptible to malicious activities that can affect developers and users alike.
Vulnerability Detail
The vulnerability in 'douglas-wallet-store' stems from its association with a malicious campaign targeting npm packages. This package contains scripts that automatically modify its own package.json file to remove private flags, alter version numbers, and generate numerous derivative packages with random names. This behavior is intended to inflate developer reputation scores for token rewards, leading to pollution of the npm registry and potential security risks for users relying on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall douglas-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 'douglas-wallet-store' package from your project by using the command: 'npm uninstall douglas-wallet-store'. This will prevent any malicious code from executing while you seek a secure alternative.
Conclusion
The 'douglas-wallet-store' package has been compromised, leading to significant security vulnerabilities. It is essential to update or remove this package to protect your application. Utilizing tools like Vulert can help monitor for such vulnerabilities in real-time, ensuring your software remains secure.
See every vulnerability recorded for douglas-wallet-store →
FAQ
The malicious code modifies package.json to remove private flags and generates numerous derivative packages to inflate developer reputation scores.
You can use Vulert, which monitors open-source vulnerabilities in real-time. By analyzing your package-lock.json file, it can alert you to any vulnerabilities, including this one.
Using this compromised package can lead to security breaches, as it may expose sensitive data or allow unauthorized access to your application.
Regularly updating packages, using tools like Vulert for monitoring, and conducting security audits can help prevent vulnerabilities.
If no patched version is available, consider removing the package and looking for alternative libraries that provide similar functionality without the associated risks.