Critical Malicious Code Vulnerability in cdrd Package
Summary
MAL-2025-16696: Malicious code in cdrd (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 cdrd package is an npm library designed for specific functionalities within JavaScript applications. It is utilized for various tasks, including data manipulation and processing. However, the package has been identified to contain malicious code, posing significant risks to applications that depend on it.
Vulnerability Detail
The vulnerability in the cdrd package originates from the inclusion of malicious code that can compromise the integrity and security of applications using this library. This malicious code can lead to unauthorized access, data breaches, and potential exploitation of the affected systems. The vulnerability affects all versions starting from 0, making it critical for developers to address it immediately.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall cdrd
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, consider removing the cdrd package from your project until a secure version is available. You can uninstall it using the command: npm uninstall cdrd.
Conclusion
The cdrd package has been identified to contain malicious code, posing significant risks to applications that utilize it. Developers are urged to update to the latest patched version or remove the package until a secure version is available. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.
See every vulnerability recorded for cdrd →
FAQ
The cdrd package is an npm library used for various data manipulation and processing tasks in JavaScript applications.
You can check if your application is affected by using Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to use the Vulert playground without any signup.
The malicious code can lead to unauthorized access, data breaches, and exploitation of the affected systems, compromising the security of your application.
Yes, a patched version of the cdrd package is available. It is crucial to update to this version to mitigate the risks associated with the vulnerability.
If immediate updating is not possible, consider uninstalling the cdrd package as a temporary workaround until a secure version can be implemented.