Malicious Code Detected in dorado-darkmatter-gravity-commitlint-config-angular Package
Summary
MAL-2025-18646: Malicious code in dorado-darkmatter-gravity-commitlint-config-angular (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 dorado-darkmatter-gravity-commitlint-config-angular package is an npm module designed to provide configuration settings for commit linting in Angular projects. It aims to enforce consistent commit message formats, which is crucial for maintaining a clean project history. However, this package has been identified as containing malicious code, posing significant risks to users who integrate it into their projects.
Vulnerability Detail
The vulnerability stems from the inclusion of malicious code within the dorado-darkmatter-gravity-commitlint-config-angular package. This code can potentially compromise the security of applications that utilize this package, leading to unauthorized access, data breaches, or other harmful outcomes. The malicious nature of the code was confirmed by security researchers, indicating that any version of the package from its inception (version 0) is affected.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall dorado-darkmatter-gravity-commitlint-config-angular
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 using alternative commit linting configurations that do not rely on the dorado-darkmatter-gravity-commitlint-config-angular package. You can manually configure commit linting using tools like commitlint and husky without the risk associated with this malicious package.
Conclusion
The dorado-darkmatter-gravity-commitlint-config-angular package has been confirmed to contain malicious code, posing significant security risks to users. It is crucial to uninstall this package and explore safer alternatives for commit linting. Regular monitoring for vulnerabilities, such as using Vulert, can help maintain the security of your applications.
See every vulnerability recorded for dorado-darkmatter-gravity-commitlint-config-angular →
FAQ
It is an npm package designed to enforce commit message conventions in Angular projects.
Security researchers identified the malicious code during routine checks of npm packages.
Using this package can lead to security vulnerabilities, including unauthorized access and data breaches.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without signup.
Immediately uninstall the package and consider using alternative commit linting tools to mitigate risks.