Malicious Code Injection in exclusive_giraffe_z3n Package
Summary
MAL-2025-94355: Malicious code in exclusive_giraffe_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 exclusive_giraffe_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 automatic generation and publication of derivative packages, which can inflate developer reputation scores. However, it is vulnerable to malicious code that compromises its integrity and the npm registry.
Vulnerability Detail
The vulnerability in the exclusive_giraffe_z3n package stems from its association with a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, which pollutes the npm registry and can potentially harm developers by affecting their reputation and the overall integrity of the ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall exclusive_giraffe_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 prevent the installation of this package by using the npm audit command to identify and address vulnerabilities in your project. Additionally, consider using a tool like Vulert to monitor your package-lock.json file for real-time alerts on open-source vulnerabilities.
Conclusion
The exclusive_giraffe_z3n package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry. It is crucial for developers to remove this package and monitor their projects for vulnerabilities using tools like Vulert.
See every vulnerability recorded for exclusive_giraffe_z3n →
FAQ
The exclusive_giraffe_z3n package is an npm package associated with the tea.xyz token reward campaign, designed to automate the publication of derivative packages.
The vulnerability can lead to the modification of your package.json file, potentially compromising your project's integrity and affecting your reputation as a developer.
You should uninstall the exclusive_giraffe_z3n package immediately and check for any dependencies that may be affected.
You can use tools like Vulert, which monitors your package-lock.json file for vulnerabilities in real-time without requiring code access or installation.
There is no patch available for the exclusive_giraffe_z3n package; the best course of action is to uninstall it.