Malicious Code Detected in ddcommit Package - Security Alert
Summary
MAL-2025-18114: Malicious code in ddcommit (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 ddcommit package is an npm module designed for automating the deployment of code changes to various environments. It is commonly used in continuous integration and deployment pipelines due to its ability to streamline the commit process. However, recent findings have revealed that this package contains malicious code, posing a significant risk to users who integrate it into their projects.
Vulnerability Detail
The vulnerability in the ddcommit package stems from the inclusion of malicious code that can compromise the security of applications utilizing this package. This code may allow unauthorized access, data exfiltration, or other harmful actions that could affect the integrity and confidentiality of the user's application. The issue was introduced in version 0 and has been confirmed by security researchers.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ddcommit
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 measure, you can avoid using the ddcommit package in your project until a secure version is released. Consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The discovery of malicious code in the ddcommit package highlights the importance of vigilance in managing open-source dependencies. Users are advised to take immediate action to mitigate risks associated with this vulnerability by removing the package and seeking alternatives.
See every vulnerability recorded for ddcommit →
FAQ
ddcommit is an npm package used for automating code deployments in CI/CD pipelines.
The malicious code was identified by security researchers from Amazon Inspector during routine vulnerability assessments.
Using the compromised package can lead to unauthorized access, data breaches, and other security incidents.
You can use Vulert, which monitors open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
Remove the ddcommit package immediately and replace it with a secure alternative. Monitor for updates from the package maintainers.