Malicious Code Injection in remaining_parrotfish-tool Package
Summary
MAL-2025-107881: Malicious code in remaining_parrotfish-tool (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 remaining_parrotfish-tool is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate token rewards through various scripts that automatically publish derivative packages. However, it has been identified as containing malicious code that modifies its own configuration to exploit the npm registry.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the remaining_parrotfish-tool package. This code is designed to remove private flags from the package.json file, alter version numbers, and generate random package names to inflate developer reputation scores. The malicious payload continuously republishes these variants, leading to pollution of the npm registry and potential security risks for developers relying on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall remaining_parrotfish-tool
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 remaining_parrotfish-tool package from your project by executing the following command: npm uninstall remaining_parrotfish-tool. This will prevent any malicious code from executing until a fix is available.
Conclusion
The remaining_parrotfish-tool package has been identified as containing malicious code that poses significant risks to developers. It is crucial to take immediate action by updating or removing the package to protect your projects from potential exploitation.
See every vulnerability recorded for remaining_parrotfish-tool →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to automate the publication of derivative packages.
The malicious code modifies your package.json file, potentially leading to security vulnerabilities and pollution of the npm registry.
You should update the package to a patched version if available or remove it from your project to mitigate risks.
You can use Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities without requiring any signup.