Malicious Code Injection in pitts-validator-catalyst: A Threat to npm Packages
Summary
MAL-2025-107080: Malicious code in pitts-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 pitts-validator-catalyst package is part of the npm ecosystem, primarily used for validating data within applications. It is designed to facilitate the development process by providing validation tools. However, this package has been identified as part of a malicious campaign that exploits npm's package management system, leading to serious security concerns.
Vulnerability Detail
The vulnerability stems from the pitts-validator-catalyst package being associated with the tea.xyz token reward campaign, which has been flooding npm with malicious packages. These packages contain scripts that automatically generate and publish derivative packages with randomized names, aimed at inflating developer reputation scores. The malicious payload modifies the package.json file to remove private flags, alters version numbers, and continuously republishes variants, ultimately polluting the npm registry and potentially compromising applications that rely on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall pitts-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 measure, you can prevent the use of the pitts-validator-catalyst package by removing it from your package.json and running the following command: npm uninstall pitts-validator-catalyst. This will help in avoiding any potential exploitation until a secure version is released.
Conclusion
The pitts-validator-catalyst package poses a significant security risk due to its association with malicious activities aimed at exploiting npm's package management system. It is essential for developers to take immediate action by removing this package and monitoring their applications for vulnerabilities.
See every vulnerability recorded for pitts-validator-catalyst →
FAQ
It is an npm package used for data validation in applications, but it has been compromised with malicious code.
If your application uses the pitts-validator-catalyst package, it may be at risk of being exploited through malicious code that can alter your package management and inflate reputation scores.
You should uninstall the pitts-validator-catalyst package immediately to prevent any potential security risks.
Yes, you can use tools like Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time without requiring code access.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.