Malicious Code Injection in Glorious Camel Z3N Package - npm Vulnerability
Summary
MAL-2025-103287: Malicious code in glorious_camel_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 Glorious Camel Z3N package is part of the npm ecosystem, often used for various JavaScript applications. It is associated with the tea.xyz token reward campaign, which has been linked to malicious activities. The package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. This functionality, while seemingly innocuous, has been exploited to introduce vulnerabilities that compromise the integrity of the npm registry.
Vulnerability Detail
The vulnerability in the Glorious Camel Z3N package stems from its malicious payload that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. This behavior not only pollutes the npm registry but also poses risks to developers who may unknowingly incorporate these compromised packages into their projects. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which has been identified as a source of numerous malicious packages flooding the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall glorious_camel_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 Glorious Camel Z3N package altogether and look for alternative packages that provide similar functionality without the associated risks. Additionally, consider using tools like Vulert to monitor your dependencies for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without needing to sign up.
Conclusion
The Glorious Camel Z3N package presents a significant security risk due to its malicious code injection capabilities. It is crucial for developers to be aware of this vulnerability and take immediate action to remove the affected package from their projects. Utilizing tools like Vulert can help in monitoring and managing open-source vulnerabilities effectively.
See every vulnerability recorded for glorious_camel_z3n →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The vulnerability can lead to the introduction of malicious code into your project, compromising its security and integrity.
You should uninstall the package immediately and check for any alternative packages that do not have known vulnerabilities.
You can use tools like Vulert, which monitors your package-lock.json file for vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities without requiring an account.