Critical Malicious Code Vulnerability in @cat-gen/materia Package
Summary
MAL-2026-17333: Malicious code in @cat-gen/materia (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 @cat-gen/materia package is a Node.js library designed for generating various types of content and data structures. It is commonly used in web development projects that require dynamic content generation. However, this package has been identified as containing malicious code, which poses a significant security risk to any system that has it installed.
Vulnerability Detail
The vulnerability originates from the presence of embedded malicious code within the @cat-gen/materia package. This code can compromise the entire system, allowing unauthorized access to sensitive information, including secrets and keys stored on the affected computer. The implications of this vulnerability are severe, as it can lead to data breaches and loss of control over the affected systems. Users are advised to treat any computer with this package installed as fully compromised.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @cat-gen/materia
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
Currently, there are no effective workarounds for this vulnerability other than removing the package entirely. Ensure that you monitor your systems for any signs of compromise after removal.
Conclusion
The @cat-gen/materia package contains malicious code that poses a serious security risk. Immediate action is required to remove the package and secure any sensitive information. Utilizing tools like Vulert can help in monitoring for such vulnerabilities in the future.
See every vulnerability recorded for @cat-gen/materia →
FAQ
You should immediately uninstall the package using 'npm uninstall @cat-gen/materia' and rotate any sensitive information stored on the affected system.
You can use Vulert, which monitors and alerts for open-source vulnerabilities. Visit Vulert Scanner to check your application without needing to sign up.
Keeping this package installed can lead to unauthorized access to your system, data breaches, and potential loss of sensitive information.
No, there is currently no patched version available for this package. The only solution is to remove it.
Regularly monitor your dependencies for vulnerabilities using tools like Vulert and keep your packages updated to the latest versions.