Malicious Code Injection in fit_dolphin_z3n: A Threat to npm Packages
Summary
MAL-2025-94530: Malicious code in fit_dolphin_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 package 'fit_dolphin_z3n' 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 publishing scripts, which can lead to significant security risks for users and developers relying on npm packages.
Vulnerability Detail
The vulnerability in 'fit_dolphin_z3n' originates from its association with the tea.xyz token reward campaign. It contains malicious scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior not only pollutes the npm registry but also poses a risk of unintentional dependency on compromised packages, potentially leading to further exploitation or data breaches.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall fit_dolphin_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, avoid using the 'fit_dolphin_z3n' package and monitor your project for any dependencies that may have been inadvertently included. Regularly audit your package-lock.json file to identify and remove any suspicious packages.
Conclusion
The 'fit_dolphin_z3n' package poses a significant security risk due to its malicious code designed to exploit the npm registry. Users are advised to uninstall this package and monitor their dependencies closely. Utilizing tools like Vulert can help in maintaining the security of your open-source projects.
See every vulnerability recorded for fit_dolphin_z3n →
FAQ
The malicious code can lead to the automatic generation of compromised packages, which can inflate developer reputation scores and potentially introduce security vulnerabilities into your projects.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. By uploading your package-lock.json file to the Vulert playground, you can check for any affected packages without needing to sign up.
If you have installed fit_dolphin_z3n, it is crucial to uninstall it immediately and review your project's dependencies for any other potentially compromised packages.
No, there are no patches available for fit_dolphin_z3n as it is a malicious package. The best course of action is to remove it from your project.
To prevent similar vulnerabilities, regularly audit your dependencies, use trusted sources for packages, and consider utilizing tools like Vulert to monitor for vulnerabilities in real-time.