Malicious Code Injection in Thorough Cattle Z3N Package - npm Vulnerability
Summary
MAL-2025-109627: Malicious code in thorough_cattle_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 Thorough Cattle Z3N package is part of the npm ecosystem, which is widely used for managing JavaScript packages. 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 package publishing system, leading to significant security concerns.
Vulnerability Detail
The vulnerability in the Thorough Cattle Z3N package stems from its involvement in a malicious token reward campaign. This package contains scripts designed to automatically generate and publish derivative packages with randomized names, aimed at inflating developer reputation scores for token rewards. The malicious payload modifies the package.json file to remove private flags, alters version numbers, and continuously republishes variants, polluting the npm registry and potentially compromising other packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall thorough_cattle_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, you can avoid using the Thorough Cattle Z3N package and replace it with an alternative package that provides similar functionality without the associated risks. Additionally, regularly monitor your dependencies for vulnerabilities using tools like Vulert.
Conclusion
The Thorough Cattle Z3N package poses a significant security risk due to its involvement in a malicious campaign that exploits npm's package management system. It is crucial for developers to remove this package from their projects and monitor for vulnerabilities using tools like Vulert to ensure the security of their applications.
See every vulnerability recorded for thorough_cattle_z3n →
FAQ
Thorough Cattle Z3N is an npm package that has been identified as part of a malicious campaign to exploit the npm registry.
The vulnerability can lead to the pollution of the npm registry and may compromise the integrity of your application's dependencies.
You should uninstall the Thorough Cattle Z3N package immediately and monitor your project for any other vulnerabilities.
You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected without requiring any signup.