Malicious Code Injection in parallel_leopard_z3n: A Threat to npm Users
Summary
MAL-2025-122442: Malicious code in parallel_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 package 'parallel_leopard_z3n' is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to automate the generation and publication of derivative packages, often with randomized names, to inflate developer reputation scores for token rewards. Its functionality, while seemingly innocuous, is compromised by malicious scripts that alter package metadata.
Vulnerability Detail
The vulnerability in 'parallel_leopard_z3n' originates from its involvement in a malicious campaign that floods the npm registry with derivative packages. The malicious payload modifies the package.json file by removing private flags, changing version numbers, and generating random package names. This not only pollutes the npm registry but also poses a risk of unintentional dependency on compromised packages, potentially leading to security breaches in applications that rely on them.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall parallel_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 'parallel_leopard_z3n' and any packages that may have been derived from it. Monitor your package-lock.json file for any unexpected changes or additions that may indicate the presence of malicious packages.
Conclusion
The 'parallel_leopard_z3n' package poses a significant threat due to its malicious nature, which can compromise the integrity of npm projects. It is essential for developers to remain vigilant, regularly update their dependencies, and utilize tools like Vulert to monitor for vulnerabilities.
See every vulnerability recorded for parallel_leopard_z3n →
FAQ
'parallel_leopard_z3n' is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through the automated publication of derivative packages.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. By checking your package-lock.json file, Vulert can help identify if your application is affected by this vulnerability.
If you have installed 'parallel_leopard_z3n', you should uninstall it immediately using the command 'npm uninstall parallel_leopard_z3n' and review your dependencies for any other potentially malicious packages.
No, there are no patches available for 'parallel_leopard_z3n' as it is a malicious package. The best course of action is to remove it from your project.
To prevent similar vulnerabilities, regularly audit your dependencies, use trusted packages, and consider using tools like Vulert to monitor your project for vulnerabilities.