Malicious Code Detected in cdd-vault Package - Immediate Action Required
Summary
MAL-2025-16693: Malicious code in cdd-vault (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 cdd-vault package is a Node.js library designed for managing and securing vaults of sensitive data. It provides functionalities for encryption, decryption, and secure storage of credentials. However, recent findings have revealed that the package contains malicious code, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability in the cdd-vault package originates from the inclusion of malicious code that can compromise the integrity and security of applications using this library. This code can lead to unauthorized access to sensitive data, data breaches, and potential exploitation by attackers. The malicious nature of the code makes it imperative for users to take immediate action to mitigate risks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall cdd-vault
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 cdd-vault package from your project until a secure version is released. You can do this by executing the following command: npm uninstall cdd-vault. Additionally, review your codebase for any dependencies that may rely on this package and assess alternative libraries that provide similar functionalities without security risks.
Conclusion
The discovery of malicious code in the cdd-vault package highlights the importance of maintaining vigilance in software dependencies. Users are urged to take immediate action to mitigate risks by updating or removing the affected package. Regular monitoring and security audits are essential to safeguard applications from vulnerabilities.
See every vulnerability recorded for cdd-vault →
FAQ
The cdd-vault package is used for managing and securing vaults of sensitive data, providing functionalities for encryption and secure storage.
The malicious code was discovered through security audits and monitoring by security tools, including Amazon Inspector.
Using the compromised cdd-vault package can lead to unauthorized access to sensitive data, data breaches, and exploitation by attackers.
Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities in your software using just package-lock.json. You can check if your application is affected by visiting the Vulert playground.
If you are using cdd-vault, immediately uninstall the package and monitor for updates. Consider using alternative libraries until a secure version is released.