Malicious Code Injection in proposed_cattle_0xrequest Package
Summary
MAL-2025-107358: Malicious code in proposed_cattle_0xrequest (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 proposed_cattle_0xrequest package is part of the npm ecosystem, often used in JavaScript projects for various functionalities. However, it has been identified as part of a malicious campaign that floods npm with derivative packages. This package is designed to inflate developer reputation scores through automated publishing scripts, which can lead to significant issues in the npm registry.
Vulnerability Detail
The vulnerability stems from the malicious code embedded within the proposed_cattle_0xrequest package. It modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, leading to potential security breaches and loss of trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall proposed_cattle_0xrequest
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 workaround, you can avoid using the proposed_cattle_0xrequest package altogether. If it is already in use, consider replacing it with a trusted alternative package that provides similar functionality without the associated risks.
Conclusion
The proposed_cattle_0xrequest package contains malicious code that poses a significant risk to developers and the integrity of the npm registry. It is crucial to remove this package from your projects and monitor for any updates or patches. Utilizing tools like Vulert can help in identifying and mitigating such vulnerabilities effectively.
See every vulnerability recorded for proposed_cattle_0xrequest →
FAQ
It is an npm package that has been identified as part of a malicious campaign aimed at inflating developer reputation scores.
The vulnerability can lead to the introduction of malicious code into your project, potentially compromising security and integrity.
You should remove the proposed_cattle_0xrequest package from your project and check for any dependencies that may rely on it.
Yes, tools like Vulert can monitor your package-lock.json file 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.