Malicious Code Injection in Generous Jellyfish Z3N Package
Summary
MAL-2025-94665: Malicious code in generous_jellyfish_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 'generous_jellyfish_z3n' package is part of the tea.xyz token reward campaign, which has been associated with a series of malicious npm packages. These packages are designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names. The primary functionality of this package is to facilitate token rewards, but it has been compromised to include harmful scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability in 'generous_jellyfish_z3n' originates from its association with malicious npm packages that contain scripts aimed at autopublishing. These scripts modify the package.json file to remove private flags, alter version numbers, and generate random package names, leading to pollution of the npm registry. The ramifications include potential security risks for developers who unknowingly use these packages, as they may inadvertently publish or rely on compromised code.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall generous_jellyfish_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 check your package-lock.json file for any references to 'generous_jellyfish_z3n' and remove it. You can do this by running the following command: npm uninstall generous_jellyfish_z3n.
Conclusion
The 'generous_jellyfish_z3n' package has been identified as a source of malicious code that can compromise npm projects. It is crucial for developers to be vigilant and remove such packages from their dependencies to maintain the integrity and security of their applications. Utilizing tools like Vulert can help in monitoring and identifying vulnerabilities effectively.
See every vulnerability recorded for generous_jellyfish_z3n →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, which has been compromised to include malicious code.
The malicious code modifies your package.json file, potentially leading to the publication of compromised packages and security risks.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.
You should uninstall the 'generous_jellyfish_z3n' package immediately to mitigate any security risks.
Regularly monitor your dependencies using tools like Vulert, which can alert you to open-source vulnerabilities in real-time.