Malicious Code in eager_jaguar_z3n: A Threat to npm Packages
Summary
MAL-2025-94154: Malicious code in eager_jaguar_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 package 'eager_jaguar_z3n' is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This campaign has been known to flood the npm registry with packages that contain scripts designed to manipulate package metadata for fraudulent purposes. The package's primary functionality has been compromised due to the inclusion of malicious code that alters its behavior and impacts the integrity of the npm registry.
Vulnerability Detail
The vulnerability in 'eager_jaguar_z3n' originates from its association with a malicious campaign that aims to inflate developer reputation scores through the automatic generation and publication of derivative packages. This malicious payload modifies the package.json file by removing private flags, changing version numbers, and generating random package names, which can lead to the pollution of the npm registry and potential security risks for developers relying on these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall eager_jaguar_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 'eager_jaguar_z3n' and any packages that depend on it. Additionally, you can monitor your package-lock.json file for any unauthorized changes and revert them if necessary.
Conclusion
The 'eager_jaguar_z3n' package poses a significant risk due to its malicious code that alters package metadata and pollutes the npm registry. It is crucial for developers to take immediate action by updating or removing the package and utilizing tools like Vulert to monitor for vulnerabilities in their applications.
See every vulnerability recorded for eager_jaguar_z3n →
FAQ
The malicious code can lead to the pollution of the npm registry, affecting the integrity of packages and potentially compromising the security of applications that depend on them.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
If you have installed 'eager_jaguar_z3n', it is advisable to remove it from your project and monitor your package-lock.json for any unauthorized changes.
To prevent similar vulnerabilities, regularly audit your dependencies, use tools like Vulert to monitor for vulnerabilities, and avoid using unverified packages.
Vulert is a tool that monitors and alerts you in real-time for open-source vulnerabilities in your software by analyzing your package-lock.json file.