Critical Malicious Code Vulnerability in ddp-common Package
Summary
MAL-2025-192408: Malicious code in ddp-common (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 ddp-common package is a Node.js library commonly used in web applications for data communication. It facilitates the exchange of data between clients and servers, providing essential functionalities for real-time applications. However, this package has been identified to contain malicious code that compromises the security of any system it is installed on.
Vulnerability Detail
The vulnerability in the ddp-common package is classified as embedded malicious code, which means that the package contains code that is intentionally harmful. This vulnerability originated from a malicious actor who injected harmful code into the package, leading to a complete compromise of any system running it. The ramifications include unauthorized access to sensitive information, potential data breaches, and the possibility of further exploitation of the affected system. Users are advised to treat any system with this package installed as fully compromised.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ddp-common
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, if you need to maintain functionality similar to ddp-common, consider using alternative packages that provide similar features without the associated risks. Always ensure to review the security status of any package before installation.
Conclusion
The ddp-common package poses a significant security risk due to embedded malicious code. Users must take immediate action to remove the package and secure their systems. Regular monitoring of dependencies using tools like Vulert can help prevent future vulnerabilities.
See every vulnerability recorded for ddp-common →
FAQ
Immediately uninstall the ddp-common package and rotate any sensitive information stored on the affected system.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
No, there is currently no patched version available for the ddp-common package. The only solution is to remove it.
Failing to remove the package can lead to unauthorized access to your system, data breaches, and further exploitation by malicious actors.
You can use Vulert, which monitors and alerts you in real-time for open-source vulnerabilities using just your package-lock.json file.