Malicious Code Injection in mathis-validator-catalyst Package
Summary
MAL-2025-105667: Malicious code in mathis-validator-catalyst (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 mathis-validator-catalyst package is part of the npm ecosystem, primarily used for validating transactions in decentralized applications. It is designed to enhance the functionality of blockchain-based systems. However, this package has been compromised, leading to significant security concerns due to the presence of malicious code that alters its behavior.
Vulnerability Detail
The vulnerability originates from a malicious payload embedded within the mathis-validator-catalyst package. This payload modifies the package.json file to remove private flags, alters version numbers, and generates random package names. It is part of a larger scheme associated with the tea.xyz token reward campaign, which aims to inflate developer reputation scores by flooding the npm registry with derivative packages. The ramifications include potential exposure of sensitive data, unauthorized access to systems, and the pollution of the npm registry with malicious packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall mathis-validator-catalyst
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 mathis-validator-catalyst package from your project until a secure version is released. You can do this by executing the command: npm uninstall mathis-validator-catalyst. Additionally, consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The mathis-validator-catalyst package has been compromised by malicious code that poses significant security risks. It is essential to take immediate action by updating or removing the package and monitoring your application for any unusual behavior. Utilizing tools like Vulert can help in identifying and mitigating such vulnerabilities in the future.
See every vulnerability recorded for mathis-validator-catalyst →
FAQ
It is an npm package used for validating transactions in decentralized applications.
The malicious code can alter your package configurations, potentially leading to security breaches and unauthorized access.
You should immediately uninstall the package and monitor your application for any unusual activity.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can check your application using the Vulert playground without any signup.
Regularly update your packages, use trusted sources, and monitor your dependencies for vulnerabilities.