Malicious Code Injection in light_lizard_z3n Package - npm Vulnerability
Summary
MAL-2025-95246: Malicious code in light_lizard_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 light_lizard_z3n package is part of the npm ecosystem, which is widely used for JavaScript package management. This package has been identified as part of a malicious campaign that aims to exploit the npm registry by flooding it with derivative packages. These packages are designed to inflate developer reputation scores through automated scripts that publish numerous variants with randomized names.
Vulnerability Detail
The vulnerability arises from the presence of malicious code within the light_lizard_z3n package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. The origin of this issue is linked to the tea.xyz token reward campaign, which has been known to deploy such malicious packages to manipulate the npm registry and exploit developers.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall light_lizard_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 measure, you can avoid using the light_lizard_z3n package altogether. If you must use it, consider isolating it in a separate environment to limit its impact on your main application. Additionally, regularly monitor your dependencies for any updates or vulnerabilities.
Conclusion
The light_lizard_z3n package poses a significant risk due to its malicious code designed to exploit the npm registry. It is crucial for developers to remove this package from their projects and monitor their dependencies for vulnerabilities. Utilizing tools like Vulert can help in maintaining the security of your applications.
See every vulnerability recorded for light_lizard_z3n →
FAQ
The light_lizard_z3n package is an npm package that has been identified as part of a malicious campaign to manipulate the npm registry.
The malicious code can alter your package.json file, remove private flags, and continuously republish variants, which can lead to reputation damage and potential security risks.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without any signup.
If you have installed the light_lizard_z3n package, you should uninstall it immediately using 'npm uninstall light_lizard_z3n' and monitor your project for any unusual behavior.
Currently, there is no specific patched version available for the light_lizard_z3n package. It is recommended to uninstall the package and monitor for updates.