Malicious Code Detected in little_swordtail-gooddev Package - npm Vulnerability
Summary
MAL-2025-105268: Malicious code in little_swordtail-gooddev (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 little_swordtail-gooddev package is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is intended to facilitate development by providing reusable code. However, it has been identified as part of a malicious campaign that exploits npm's publishing features to inflate developer reputation scores through the creation of derivative packages.
Vulnerability Detail
The vulnerability stems from the package being associated with a malicious campaign that floods the npm registry with derivative packages. These packages contain scripts designed to automatically modify the package.json file, removing private flags, changing version numbers, and generating random package names. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, leading to potential security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall little_swordtail-gooddev
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 little_swordtail-gooddev package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can utilize tools like Vulert to monitor your package-lock.json for vulnerabilities.
Conclusion
The little_swordtail-gooddev package poses a significant risk due to its association with malicious activities aimed at polluting the npm registry. Developers are advised to remove this package and monitor their projects for vulnerabilities using tools like Vulert to ensure the security of their applications.
See every vulnerability recorded for little_swordtail-gooddev →
FAQ
It is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores.
Using this package can lead to security risks, including the potential for your application to be compromised through malicious code.
You should uninstall the package immediately and check your project for any other affected packages.
You can use Vulert, which monitors your package-lock.json for vulnerabilities in real-time without requiring code access.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without any signup.