Malicious Code Injection in helpless_shrimp-gooddev Package
Summary
MAL-2025-103647: Malicious code in helpless_shrimp-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 helpless_shrimp-gooddev package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. However, it has been identified as containing malicious code that compromises the integrity of the npm registry.
Vulnerability Detail
The vulnerability originates from the malicious intent behind the package, which includes scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior leads to the continuous republishing of these variants, effectively polluting the npm registry. The ramifications include potential security risks for developers who unknowingly use these compromised packages, as they may inadvertently expose their applications to further vulnerabilities or malicious activities.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall helpless_shrimp-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 remove the helpless_shrimp-gooddev package from your project by executing the following command: npm uninstall helpless_shrimp-gooddev. This will prevent any malicious code from executing in your application until a fix is applied.
Conclusion
The helpless_shrimp-gooddev package has been identified as containing malicious code that compromises the npm registry. Developers are urged to take immediate action by updating or uninstalling the package to mitigate potential risks. Utilizing tools like Vulert can enhance security by providing real-time alerts for open-source vulnerabilities.
See every vulnerability recorded for helpless_shrimp-gooddev →
FAQ
The vulnerability involves malicious code that modifies package.json and repackages it with random names, compromising the npm registry.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.
Using this package can expose your application to further vulnerabilities and malicious activities due to the compromised nature of the code.
Regularly updating your dependencies and using tools like Vulert to monitor vulnerabilities can help prevent such issues.
It is advisable to uninstall the package immediately and check for any other dependencies that may be affected.