Malicious Code Injection in ruling_junglefowl_z3n Package
Summary
MAL-2025-108293: Malicious code in ruling_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 ruling_junglefowl_z3n package is part of the npm ecosystem, primarily used for various JavaScript applications. It has been identified as part of a malicious campaign that aims to exploit npm's package publishing system. This package is associated with the tea.xyz token reward initiative, which has led to the proliferation of numerous derivative packages that can inflate developer reputation scores through automated scripts.
Vulnerability Detail
The vulnerability in the ruling_junglefowl_z3n package stems from its inclusion in a malicious campaign that modifies the package.json file to remove private flags and change version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to clutter the npm registry. This behavior not only compromises the integrity of the npm ecosystem but also poses risks to developers who may unknowingly install these malicious packages, leading to potential security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ruling_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 avoid using the ruling_junglefowl_z3n package and replace its functionality with alternative packages that are verified and secure. Additionally, consider using tools like Vulert to monitor your package-lock.json for vulnerabilities in real-time.
Conclusion
The ruling_junglefowl_z3n package poses a significant security risk due to its malicious behavior of modifying package configurations and republishing variants. It is crucial for developers to remove this package from their projects and utilize tools like Vulert to monitor for vulnerabilities effectively.
See every vulnerability recorded for ruling_junglefowl_z3n →
FAQ
It is an npm package that has been identified as part of a malicious campaign aimed at exploiting the npm registry.
If your application uses this package, it may be at risk of security breaches due to the malicious code that modifies package configurations and republishes variants.
You should uninstall the ruling_junglefowl_z3n package immediately and check for any dependencies that may be affected.
You can use Vulert, which monitors your package-lock.json for vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without any signup.