Malicious Code Injection in clumsy_junglefowl_replicate_automation Package
Summary
MAL-2025-100620: Malicious code in clumsy_junglefowl_replicate_automation (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 clumsy_junglefowl_replicate_automation package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to automate certain tasks, but it has been compromised to include malicious scripts that manipulate its functionality and impact the npm registry.
Vulnerability Detail
The vulnerability originates from a malicious payload embedded within the clumsy_junglefowl_replicate_automation package. It modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the automatic publication of derivative packages. This behavior not only inflates developer reputation scores for token rewards but also pollutes the npm registry with potentially harmful packages, posing risks to developers and users relying on the integrity of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall clumsy_junglefowl_replicate_automation
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 clumsy_junglefowl_replicate_automation package and look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The clumsy_junglefowl_replicate_automation package contains a significant vulnerability that can lead to the publication of malicious code. It is crucial for developers to remove this package and monitor their projects for any signs of compromise. Utilizing tools like Vulert can enhance your security posture by providing real-time alerts for vulnerabilities.
See every vulnerability recorded for clumsy_junglefowl_replicate_automation →
FAQ
It is an npm package that was intended for automation tasks but has been compromised to include malicious code.
The vulnerability can lead to the automatic publication of malicious packages, potentially compromising your project's integrity and security.
You should remove the package immediately and monitor your project for any unusual activity.
Yes, tools like Vulert can help monitor and alert you in real-time for open-source vulnerabilities in your software.
You can use the Vulert playground at Vulert Scanner to check if your application is affected without needing to sign up.