Malicious Code Injection in solid_cat_z3n: A Threat to npm Packages
Summary
MAL-2025-96666: Malicious code in solid_cat_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
solid_cat_z3n is an npm package that has been identified as part of a malicious campaign targeting the npm ecosystem. This package is associated with the tea.xyz token reward initiative, which has been known to flood the npm registry with numerous derivative packages. The primary functionality of solid_cat_z3n is to serve as a token reward mechanism, but its malicious nature compromises the integrity of the npm registry.
Vulnerability Detail
The vulnerability in solid_cat_z3n originates from its design to include autopublish scripts that automatically generate and publish derivative packages with randomized names. This behavior is intended to inflate developer reputation scores for token rewards. The malicious payload modifies the package.json file by removing private flags, altering version numbers, and continuously republishing variants, which pollutes the npm registry and can lead to security risks for developers using these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall solid_cat_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 solid_cat_z3n package and replace it with a trusted alternative. Additionally, you can use the following command to uninstall the package: npm uninstall solid_cat_z3n.
Conclusion
The solid_cat_z3n package has been identified as a malicious entity within the npm ecosystem, posing significant risks to developers and their applications. It is essential to remove this package and monitor your dependencies for any similar vulnerabilities. Utilizing tools like Vulert can help maintain the security of your projects.
See every vulnerability recorded for solid_cat_z3n →
FAQ
The primary issue is that it contains malicious code designed to manipulate the npm registry by publishing numerous derivative packages.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can check if your application is affected by visiting the Vulert playground at Vulert Scanner.
Using compromised npm packages can lead to security vulnerabilities, data breaches, and potential exploitation of your application by malicious actors.
To prevent similar vulnerabilities, regularly audit your dependencies, use tools like Vulert for monitoring, and only install packages from trusted sources.
If you have already installed solid_cat_z3n, it is crucial to uninstall it immediately and replace it with a secure alternative.