Malicious Code Vulnerability in carpenter-wallet-store: Exploitation of npm Packages
Summary
MAL-2025-100273: Malicious code in carpenter-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 carpenter-wallet-store package is part of the npm ecosystem, primarily used for managing wallet functionalities in decentralized applications. However, it has been compromised as part of a broader malicious campaign targeting npm packages, which aims to inflate developer reputation scores through the distribution of harmful code.
Vulnerability Detail
The vulnerability stems from the package being associated with a malicious campaign that modifies the package.json file to remove private flags and alters version numbers. It generates random package names and continuously republishes variants to pollute the npm registry. This could lead to unauthorized access, data breaches, and the potential for further exploitation 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 carpenter-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 carpenter-wallet-store package from your project until a secure version is available. Use the command: 'npm uninstall carpenter-wallet-store'. Additionally, consider using alternative packages that provide similar functionalities without the associated risks.
Conclusion
The carpenter-wallet-store package has been identified as containing malicious code that poses significant risks to applications using it. It is crucial to update or remove the package to mitigate these risks and ensure the security of your software.
See every vulnerability recorded for carpenter-wallet-store →
FAQ
The malicious code is designed to modify package.json files, remove private flags, and publish variants with random names, ultimately aiming to inflate developer reputation scores.
You can use Vulert to monitor and alert for open-source vulnerabilities in your software. By analyzing the package-lock.json file, Vulert can help you determine if your application is affected.
Using the compromised package can lead to unauthorized access, data breaches, and the risk of your application being exploited by malicious actors.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.
If an immediate update is not possible, consider uninstalling the package and using alternative solutions until a secure version is available.