Malicious Code Vulnerability in Subtle Squid-Gooddev Package
Summary
MAL-2025-109250: Malicious code in subtle_squid-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 subtle_squid-gooddev package is part of the npm ecosystem, typically used for various development purposes. However, it has been identified as part of a malicious campaign that aims to exploit developers by generating and publishing derivative packages with randomized names. This behavior is linked to the tea.xyz token reward scheme, which incentivizes the creation of numerous packages to inflate developer reputation scores.
Vulnerability Detail
The vulnerability originates from the malicious design of the subtle_squid-gooddev package, which contains scripts that modify the package.json file to remove private flags, alter version numbers, and create random package names. This allows the package to continuously republish variants, polluting the npm registry and potentially compromising the integrity of the ecosystem. The ramifications include a loss of trust in the npm registry and potential security risks for developers who unknowingly use these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall subtle_squid-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 workaround, you can avoid using the subtle_squid-gooddev package altogether. If it is already included in your project, you can remove it by executing the following command: npm uninstall subtle_squid-gooddev.
Conclusion
The subtle_squid-gooddev package poses a significant risk due to its malicious design aimed at manipulating the npm registry. Developers are advised to remove this package from their projects and remain vigilant about the packages they use. Utilizing tools like Vulert can help in monitoring for such vulnerabilities effectively.
See every vulnerability recorded for subtle_squid-gooddev →
FAQ
It is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores through the creation of numerous derivative packages.
The vulnerability can lead to the pollution of the npm registry and may compromise the integrity of your project if you unknowingly use this package.
You should uninstall the subtle_squid-gooddev package immediately to mitigate any potential risks.
Currently, there is no patched version available. It is best to remove the package from your project.
You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just the package-lock.json file. You can check if your application is affected by this vulnerability using the Vulert playground without any signup.