Malicious Code Injection in circular_catfish_z3n: A Threat to npm Packages
Summary
MAL-2025-100499: Malicious code in circular_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 circular_catfish_z3n is part of a series of npm packages that emerged during the tea.xyz token reward campaign. These packages are designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names. The malicious nature of this package lies in its ability to modify critical files and republish variants, thereby polluting the npm registry.
Vulnerability Detail
The vulnerability in circular_catfish_z3n originates from its malicious payload, which alters the package.json file by removing private flags and changing version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants. This behavior not only compromises the integrity of the npm registry but also poses risks to developers who may unknowingly use these tainted packages, leading to potential security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall circular_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, avoid using the circular_catfish_z3n package and monitor your project's dependencies for any signs of malicious activity. Regularly audit your npm packages using 'npm audit' to identify and address vulnerabilities.
Conclusion
The circular_catfish_z3n package poses a significant threat due to its malicious code that alters package configurations and repopulates the npm registry with tainted packages. It is crucial for developers to be vigilant, regularly audit their dependencies, and utilize tools like Vulert to maintain the security of their applications.
See every vulnerability recorded for circular_catfish_z3n →
FAQ
Circular_catfish_z3n is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through automated package publishing.
The vulnerability can lead to the introduction of malicious code into your project, compromising its security and potentially exposing sensitive data.
You should uninstall the package immediately and check your project for any dependencies that may have been affected.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time. You can also check your application against known vulnerabilities using the Vulert playground.
Yes, tools like npm audit and Vulert can help you identify and manage vulnerabilities in your npm packages.