Malicious Code Vulnerability in prior_leopard_z3n: Exploitation of npm Package for Reputation Inflation
Summary
MAL-2025-89519: Malicious code in prior_leopard_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 'prior_leopard_z3n' package is part of a series of npm packages associated with the tea.xyz token reward campaign. These packages are designed to automate the generation and publication of derivative packages, often with randomized names, to inflate developer reputation scores in exchange for tea protocol token rewards. Due to their nature, these packages can introduce significant risks to the npm ecosystem.
Vulnerability Detail
The vulnerability originates from the malicious intent behind the 'prior_leopard_z3n' package, which 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, polluting the npm registry and potentially compromising the integrity of applications that depend on these packages. The malicious payload can affect developers' reputations and the overall trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall prior_leopard_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 'prior_leopard_z3n' package and any packages that depend on it. Additionally, you can use npm audit to identify and address vulnerabilities in your project.
Conclusion
The 'prior_leopard_z3n' package poses a significant risk due to its malicious behavior aimed at manipulating npm's reputation system. Developers are advised to remove this package and monitor their dependencies for vulnerabilities to maintain the integrity of their applications.
See every vulnerability recorded for prior_leopard_z3n →
FAQ
The 'prior_leopard_z3n' package is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through automated publishing.
This vulnerability can lead to the introduction of malicious code into your application, potentially compromising its security and integrity.
You should remove the 'prior_leopard_z3n' package from your project immediately and check for any other affected packages.
Yes, you can use tools like Vulert, which monitors and alerts for open-source vulnerabilities in your software using just the package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.