Malicious Code Injection in printed_leopard_z3n Package
Summary
MAL-2025-96029: Malicious code in printed_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 printed_leopard_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 in the printed_leopard_z3n package 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, altering version numbers, and generating random package names. This behavior can lead to the pollution of the npm registry, making it difficult for developers to trust legitimate packages and potentially exposing them to further security risks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall printed_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 remove the printed_leopard_z3n package from your project by executing the command: 'npm uninstall printed_leopard_z3n'. This will prevent any malicious code from executing while you seek a secure alternative.
Conclusion
The printed_leopard_z3n package has been identified as containing malicious code that can compromise the integrity of projects using it. It is crucial to take immediate action by updating or removing the package to safeguard your application from potential risks.
See every vulnerability recorded for printed_leopard_z3n →
FAQ
The printed_leopard_z3n package is an npm package associated with a token reward campaign that generates and publishes derivative packages.
The vulnerability can lead to the pollution of the npm registry, making it difficult to trust legitimate packages and potentially exposing your project to further security risks.
If you have installed the printed_leopard_z3n package, it is recommended to uninstall it immediately and check for any updates or patches.
Yes, you can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.