Malicious Code Injection in crosby-validator-catalyst Package
Summary
MAL-2025-101094: Malicious code in crosby-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 crosby-validator-catalyst package is part of the npm ecosystem, primarily used for validating data in various applications. It is designed to enhance the functionality of JavaScript applications by providing validation mechanisms. However, this package has been compromised, making it susceptible to malicious activities that can affect the integrity of applications relying on it.
Vulnerability Detail
The vulnerability originates from a malicious payload embedded within the crosby-validator-catalyst package. This payload modifies the package.json file to remove private flags, alters version numbers, and generates random package names to inflate developer reputation scores for token rewards. The malicious scripts are designed to continuously republish variants, polluting the npm registry and potentially leading to security breaches in applications that utilize this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall crosby-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 crosby-validator-catalyst package from your project if it is not essential. Use the following command to uninstall it: npm uninstall crosby-validator-catalyst. Additionally, monitor your package-lock.json file for any unauthorized changes.
Conclusion
The crosby-validator-catalyst package has been identified as containing malicious code that can compromise applications relying on it. It is essential to update or remove the package to mitigate risks. Utilizing tools like Vulert can help monitor for such vulnerabilities in real-time.
See every vulnerability recorded for crosby-validator-catalyst →
FAQ
The crosby-validator-catalyst package is used for data validation in JavaScript applications, enhancing their functionality.
The vulnerability can lead to unauthorized modifications in your application's dependencies, potentially compromising its security and integrity.
Yes, you can use Vulert to monitor your application for vulnerabilities. By analyzing your package-lock.json file, Vulert provides real-time alerts for open-source vulnerabilities.
If an immediate update is not possible, consider removing the package as a temporary measure and monitor your application closely for any unusual behavior.
Detailed information can be found in the vulnerability report provided by Amazon Inspector, which outlines the nature of the malicious code and its implications.