Malicious Code Injection in specified_gazelle_z3n Package
Summary
MAL-2025-96712: Malicious code in specified_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 specified_gazelle_z3n package is part of the npm ecosystem, often used in JavaScript applications. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. This package, like others in the campaign, is designed to manipulate the npm registry by generating and publishing derivative packages with altered metadata.
Vulnerability Detail
The vulnerability originates from the package's malicious code, which modifies the package.json file to remove private flags and change version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior can lead to inflated developer reputation scores and can compromise the integrity of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall specified_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 specified_gazelle_z3n package from your project by executing: npm uninstall specified_gazelle_z3n. This will prevent any malicious activity associated with the package until a fix is implemented.
Conclusion
The specified_gazelle_z3n package contains malicious code that can compromise the integrity of your application and the npm registry. It is crucial to update or remove this package to safeguard your project from potential threats.
See every vulnerability recorded for specified_gazelle_z3n →
FAQ
It is an npm package that is part of the tea.xyz token reward campaign, known for containing malicious scripts.
The malicious code modifies your package.json file and can lead to the publication of harmful variants, compromising your application's integrity.
You can use Vulert, which monitors open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
Regularly monitor your dependencies and use tools like Vulert to stay informed about vulnerabilities in your packages.
Consider uninstalling the package as a temporary measure to mitigate any risks associated with the vulnerability.