Malicious Code Injection in ridiculous_canid_0xrequest Package
Summary
MAL-2025-108063: Malicious code in ridiculous_canid_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 ridiculous_canid_0xrequest package is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is intended to facilitate the development of applications by providing reusable code. However, it has been identified as part of a malicious campaign that aims to inflate developer reputation scores through the automatic generation and publication of derivative packages.
Vulnerability Detail
The vulnerability in the ridiculous_canid_0xrequest package stems from its association with a malicious campaign that modifies the package.json file to remove private flags and changes version numbers. This allows the package to continuously republish itself and its variants, polluting the npm registry with potentially harmful code. The malicious payload is designed to generate random package names, which can lead to confusion and security risks for developers who may unknowingly use these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ridiculous_canid_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 temporary workaround, you can avoid using the ridiculous_canid_0xrequest package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your project for any unauthorized changes to the package.json file.
Conclusion
The ridiculous_canid_0xrequest package poses a significant security risk due to its malicious code injection capabilities. It is crucial for developers to be aware of such vulnerabilities and take proactive measures to secure their projects. Regular monitoring and updating of packages can help mitigate these risks.
See every vulnerability recorded for ridiculous_canid_0xrequest →
FAQ
It is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores.
The vulnerability can lead to the introduction of malicious code into your project, potentially compromising its security and integrity.
You should remove the package immediately and monitor your project for any unauthorized changes.
You can use tools like Vulert, which monitors your package-lock.json file for vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.