Malicious Code Detected in dorado-metalsmith-heka-commitlint-config-angular Package
Summary
MAL-2025-18649: Malicious code in dorado-metalsmith-heka-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-metalsmith-heka-commitlint-config-angular package is an npm module designed to facilitate the integration of commit linting configurations within Angular projects using Metalsmith. It aims to streamline the development process by enforcing commit message standards. 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 stems from the inclusion of malicious code within the dorado-metalsmith-heka-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 malicious activities. The malicious code was introduced in version 0 and affects all subsequent versions, making it critical for users to take immediate action to mitigate risks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall dorado-metalsmith-heka-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 workaround, users can temporarily disable any functionality that relies on this package until a secure version is released. Additionally, consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The discovery of malicious code in the dorado-metalsmith-heka-commitlint-config-angular package highlights the importance of vigilance when using open-source software. Users are urged to remove the affected package and stay informed about potential updates or alternatives to ensure the security of their applications.
See every vulnerability recorded for dorado-metalsmith-heka-commitlint-config-angular →
FAQ
It is an npm module that integrates commit linting configurations for Angular projects using Metalsmith.
The specific nature of the malicious code has not been disclosed, but it poses a risk of unauthorized access and data breaches.
You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Check your application against the vulnerability using the Vulert playground at Vulert Scanner.
Immediately remove the package from your project and monitor for any updates or patches that may be released.
Yes, consider exploring other npm packages that offer commit linting capabilities without the associated security risks.