Malicious Code Vulnerability in common_lungfish_z3n Package
Summary
MAL-2025-100720: Malicious code in common_lungfish_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 common_lungfish_z3n package is part of the npm ecosystem and appears to be associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can mislead developers and inflate reputation scores for token rewards. Its functionality is compromised by malicious scripts that manipulate package metadata.
Vulnerability Detail
This vulnerability originates from the common_lungfish_z3n package, which contains malicious code that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. The scripts are designed to continuously republish these variants, polluting the npm registry and potentially leading to security risks for developers who unknowingly use these packages. The malicious behavior can undermine the integrity of the npm ecosystem and affect the reputation of legitimate developers.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall common_lungfish_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 workaround, you can manually remove the common_lungfish_z3n package from your project by running the following command: npm uninstall common_lungfish_z3n. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities.
Conclusion
The common_lungfish_z3n package contains malicious code that poses a significant risk to developers and the npm ecosystem. It is crucial to remove this package from your projects and utilize tools like Vulert to stay informed about potential vulnerabilities.
See every vulnerability recorded for common_lungfish_z3n →
FAQ
The common_lungfish_z3n package is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The vulnerability can lead to the pollution of the npm registry, potentially compromising the integrity of your project and affecting your development environment.
You should uninstall the common_lungfish_z3n package immediately and monitor your project for any further vulnerabilities.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.
Vulert is a tool that monitors and alerts in real-time for open-source vulnerabilities in your software using just the package-lock.json file.