Malicious Code Detected in commitlint-config-angular-vega-ini-figures Package
Summary
MAL-2025-17417: Malicious code in commitlint-config-angular-vega-ini-figures (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 commitlint-config-angular-vega-ini-figures package is an npm package designed to provide configuration for commit linting based on Angular's commit message conventions. It helps developers maintain consistent commit messages, which can be crucial for project maintainability and collaboration. However, this package has been identified to contain malicious code, posing a significant risk to users who integrate it into their projects.
Vulnerability Detail
The vulnerability in the commitlint-config-angular-vega-ini-figures package arises from the inclusion of malicious code, which can compromise the security of applications that utilize this package. This malicious code could potentially lead to unauthorized access, data breaches, or other harmful actions within the user's environment. The origin of this vulnerability is linked to the package's codebase, which has been tampered with to introduce harmful functionalities.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall commitlint-config-angular-vega-ini-figures
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 an alternative package for commit linting, such as commitlint-config-angular or similar packages that do not have known vulnerabilities. Ensure to review the package's repository for any security advisories before integrating it into your project.
Conclusion
The commitlint-config-angular-vega-ini-figures package has been identified as containing malicious code, posing significant risks to users. It is crucial to uninstall this package and consider alternatives to maintain the security of your applications. Regular monitoring for vulnerabilities using tools like Vulert can help safeguard your projects.
See every vulnerability recorded for commitlint-config-angular-vega-ini-figures →
FAQ
It is an npm package that provides configuration for linting commit messages according to Angular's conventions.
You can check if your application is affected by using Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to use the Vulert playground without any signup.
Using this package can expose your application to security threats, including unauthorized access and data breaches due to the malicious code embedded within.
Currently, there is no patched version available. It is advisable to uninstall the package until a secure version is released.
You should immediately uninstall the package and consider using alternative packages for commit linting to ensure your project's security.