Malicious Code Injection in capable_goose-silentdev Package
Summary
MAL-2025-100257: Malicious code in capable_goose-silentdev (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 capable_goose-silentdev package is part of the npm ecosystem, typically utilized for various JavaScript functionalities. However, it has been identified as part of a malicious campaign that floods the npm registry with derivative packages. This package is designed to manipulate developer reputation scores through automated scripts that publish numerous variants of itself.
Vulnerability Detail
The vulnerability stems from the package's involvement in a token reward campaign that utilizes autopublish scripts to generate and publish derivative packages with randomized names. This malicious behavior modifies the package.json file by removing private flags, altering version numbers, and continuously republishing variants, leading to pollution of the npm registry. The ramifications include potential security risks for developers who unknowingly use this package, as it can compromise their projects and inflate the npm registry with unwanted packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall capable_goose-silentdev
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 capable_goose-silentdev package from your project by executing the following command: npm uninstall capable_goose-silentdev. This will prevent any malicious code from executing until a safe version is available.
Conclusion
The capable_goose-silentdev package poses a significant risk due to its malicious code injection, which can compromise projects and pollute the npm registry. It is crucial to take immediate action by updating or removing the package and monitoring your project for vulnerabilities using tools like Vulert.
See every vulnerability recorded for capable_goose-silentdev →
FAQ
capable_goose-silentdev is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores through automated publishing.
The vulnerability can lead to the introduction of malicious code into your project, compromising its security and potentially affecting its functionality.
If you have installed capable_goose-silentdev, it is recommended to uninstall it immediately and check for any updates or patches for your other dependencies.
You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities in your software. By analyzing your package-lock.json, it provides insights into potential risks.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.