Malicious Code Injection in Delighted Fish Z3N Package: A Threat to npm Users
Summary
MAL-2025-101319: Malicious code in delighted_fish_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 'delighted_fish_z3n' package is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is intended to facilitate the development of applications by providing reusable code. However, it has been identified as part of a malicious campaign that exploits npm's publishing features, leading to potential security risks for developers and their applications.
Vulnerability Detail
The vulnerability in the 'delighted_fish_z3n' package originates from its association with the tea.xyz token reward campaign. This campaign has been known to flood the npm registry with packages that contain malicious scripts. Specifically, the malicious payload modifies the package.json file to remove private flags, alters version numbers, and generates random package names, which can lead to the pollution of the npm registry. This not only affects the integrity of the npm ecosystem but also poses a risk to developers who may unknowingly use these compromised packages in their projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall delighted_fish_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 avoid using the 'delighted_fish_z3n' package and look for alternative packages that provide similar functionality without the associated risks. Always verify the integrity and reputation of packages before including them in your project.
Conclusion
The 'delighted_fish_z3n' package poses a significant risk due to its malicious code that can compromise the integrity of applications using it. Developers are advised to remove this package and monitor their dependencies closely. Utilizing tools like Vulert can help in identifying and mitigating such vulnerabilities effectively.
See every vulnerability recorded for delighted_fish_z3n →
FAQ
The 'delighted_fish_z3n' package is an npm package that has been identified as part of a malicious campaign aimed at exploiting the npm registry.
If your application uses the 'delighted_fish_z3n' package, it may be at risk of having its package.json modified, leading to potential security issues and instability.
You should immediately uninstall the 'delighted_fish_z3n' package using 'npm uninstall delighted_fish_z3n' and review your project's dependencies for any other potentially malicious packages.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time. You can check your application against known vulnerabilities using the Vulert playground without any signup.
Yes, you can search for alternative npm packages that provide similar functionality by checking the npm registry and ensuring they have good reviews and a solid reputation.