Malicious Code Injection in fit_catfish_z3n: A Threat to npm Packages
Summary
MAL-2025-94529: Malicious code in fit_catfish_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_catfish_z3n' is part of the npm ecosystem, which is widely used for JavaScript package management. This package appears to be associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. Its primary functionality is to provide developers with tools for their projects, but it has been compromised to serve malicious purposes.
Vulnerability Detail
The vulnerability in 'fit_catfish_z3n' originates from its involvement in a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is designed to inflate developer reputation scores for token rewards while polluting the npm registry with derivative packages. The malicious payload can lead to significant security risks, including unauthorized access to sensitive data and potential exploitation of affected applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall fit_catfish_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 remove the 'fit_catfish_z3n' package from your project by executing the command: 'npm uninstall fit_catfish_z3n'. This will prevent any malicious code from executing until a secure version is available.
Conclusion
The 'fit_catfish_z3n' package has been identified as containing malicious code that poses significant security risks. It is crucial for developers to take immediate action by updating or uninstalling the package to safeguard their applications. Utilizing tools like Vulert can help monitor for such vulnerabilities in real-time.
See every vulnerability recorded for fit_catfish_z3n →
FAQ
The vulnerability involves malicious code that modifies package.json to remove private flags and generate random package names, leading to potential security risks.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.
The consequences include unauthorized access to sensitive data, exploitation of applications, and pollution of the npm registry with malicious packages.
Check the npm registry for the latest version of fit_catfish_z3n. If a patched version is available, updating the package will resolve the vulnerability.
As a temporary measure, uninstall the package using 'npm uninstall fit_catfish_z3n' to prevent any malicious code from executing.