Malicious Code Injection in endless_goldfish_z3n Package - npm Vulnerability
Summary
MAL-2025-94253: Malicious code in endless_goldfish_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 endless_goldfish_z3n package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate token rewards for developers by generating and publishing derivative packages. However, it has been identified as containing malicious code that compromises its integrity and the security of applications using it.
Vulnerability Detail
The vulnerability in the endless_goldfish_z3n package originates from its design to automatically generate and publish derivative packages with randomized names. This malicious behavior includes modifying the package.json file to remove private flags, altering version numbers, and continuously republishing variants to pollute the npm registry. The implications of this vulnerability are significant, as it can lead to the proliferation of untrustworthy packages, potentially compromising the security of applications that depend on them.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall endless_goldfish_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 temporarily remove the package from your project by executing the following command: npm uninstall endless_goldfish_z3n. This will prevent any malicious code from executing while you assess the situation and look for alternative packages.
Conclusion
The endless_goldfish_z3n package poses a significant security risk due to its malicious code designed to manipulate package publishing. It is crucial for developers to take immediate action by removing this package and utilizing tools like Vulert to monitor for vulnerabilities in their applications.
See every vulnerability recorded for endless_goldfish_z3n →
FAQ
The endless_goldfish_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 introduction of untrustworthy packages into your application, potentially compromising its security and integrity.
If you have installed the endless_goldfish_z3n package, it is recommended to uninstall it immediately and monitor for any updates or patches.
Yes, you can use Vulert to monitor and alert for open-source vulnerabilities in your software. You can check your application using the Vulert playground at Vulert Scanner without any signup.
To prevent future vulnerabilities, regularly audit your dependencies, use tools like Vulert for real-time monitoring, and stay informed about known vulnerabilities in the packages you use.