Malicious Code Injection in Relevant Gazelle Z3N Package
Summary
MAL-2025-96266: Malicious code in relevant_gazelle_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 'relevant_gazelle_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 for token rewards. However, it has been identified as containing malicious code that compromises its integrity.
Vulnerability Detail
The vulnerability originates from the package's design to include autopublish scripts that modify the package.json file. This malicious code removes private flags, alters version numbers, and generates random package names, leading to pollution of the npm registry. The ramifications include potential security risks for developers using this package, as it can lead to unauthorized access and manipulation of their projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall relevant_gazelle_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 remove the 'relevant_gazelle_z3n' package from your project to prevent any malicious activity. Use the following command: 'npm uninstall relevant_gazelle_z3n'. Additionally, consider using tools like Vulert to monitor your package-lock.json for vulnerabilities in real-time.
Conclusion
The 'relevant_gazelle_z3n' package has been identified as containing malicious code that poses significant risks to developers. It is crucial to take immediate action by updating or removing the package and utilizing tools like Vulert for ongoing monitoring.
See every vulnerability recorded for relevant_gazelle_z3n →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to automate the publication of derivative packages.
The malicious code can modify your package.json, leading to unauthorized changes and potential security risks.
Check the npm registry for a patched version of the 'relevant_gazelle_z3n' package and update accordingly.
As a workaround, consider uninstalling the package and monitoring your project with tools like Vulert.
Vulert monitors your package-lock.json for open-source vulnerabilities in real-time, alerting you to any issues without requiring code access.