Malicious Code Injection in front_junglefowl_z3n Package
Summary
MAL-2025-94624: Malicious code in front_junglefowl_z3n (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 front_junglefowl_z3n package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the generation and publication of derivative packages. However, it has been compromised to include malicious scripts that can manipulate package metadata and inflate developer reputation scores.
Vulnerability Detail
The vulnerability stems from the inclusion of malicious code within the front_junglefowl_z3n package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the automatic republishing of these variants. The result is a polluted npm registry, which can undermine the integrity of the ecosystem and potentially expose developers to further risks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall front_junglefowl_z3n
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 restrict the use of the front_junglefowl_z3n package in your project by avoiding its installation and monitoring your dependencies for any unauthorized changes. Additionally, consider using tools like Vulert to monitor your package-lock.json for vulnerabilities.
Conclusion
The front_junglefowl_z3n package has been identified as containing malicious code that can compromise your project's integrity. It is crucial to uninstall this package and monitor your dependencies for any further issues. Utilizing tools like Vulert can help ensure your project remains secure.
See every vulnerability recorded for front_junglefowl_z3n →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The malicious code modifies your package.json file, potentially exposing your project to further vulnerabilities and polluting the npm registry.
You should uninstall the front_junglefowl_z3n package immediately and monitor your project for any unauthorized changes.
Yes, you can use Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time without requiring code access.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.