Critical Malicious Code Vulnerability in datadog-checks-dependency-provider Package
Summary
MAL-2025-192406: Malicious code in datadog-checks-dependency-provider (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 datadog-checks-dependency-provider is an npm package designed to facilitate the management of dependencies for Datadog checks. It is commonly used in applications that require monitoring and performance tracking. However, this package has been compromised, leading to significant security risks for any system utilizing it.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the datadog-checks-dependency-provider package. This code can fully compromise any computer that has the package installed or running, allowing unauthorized access to sensitive information such as secrets and keys. The malicious nature of this code has been confirmed by security researchers, and it falls under the category of embedded malicious code (CWE-506). The implications of this vulnerability are severe, as it can lead to data breaches and loss of control over affected systems.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall datadog-checks-dependency-provider
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
There are no effective workarounds for this vulnerability other than removing the compromised package and ensuring that all sensitive information is secured.
Conclusion
The datadog-checks-dependency-provider package has been identified as containing malicious code that poses a significant security risk. Immediate action is required to remove the package and secure any sensitive information. Utilizing tools like Vulert can help monitor for such vulnerabilities in the future.
See every vulnerability recorded for datadog-checks-dependency-provider →
FAQ
You should immediately remove the package and rotate any secrets or keys stored on the affected system.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without requiring any signup.
Failing to address this vulnerability can lead to unauthorized access to sensitive data, potential data breaches, and loss of control over your systems.
Unfortunately, there are no effective mitigations for this specific vulnerability other than removing the compromised package.
After removing the package, ensure that you rotate all secrets and keys stored on the affected system and monitor for any unusual activity.