Malicious Code Detected in addongit Package - Security Alert
Summary
MAL-2025-14077: Malicious code in addongit (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 addongit package is an npm library designed to facilitate the integration of Git repositories into applications. It provides developers with tools to manage and manipulate Git repositories programmatically. However, this package has been identified to contain malicious code, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability in the addongit package originates from the inclusion of malicious code that can compromise the security of applications using this library. This code may allow unauthorized access to sensitive data, execute arbitrary commands, or facilitate other malicious activities. The issue affects all versions starting from 0, making it critical for users to address this vulnerability promptly.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall addongit
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, users can remove the addongit package from their project until a secure version is released. This can be done using the command: npm uninstall addongit.
Conclusion
The discovery of malicious code in the addongit package poses a serious threat to applications utilizing this library. It is crucial for developers to take immediate action by updating or removing the package to safeguard their applications from potential attacks.
See every vulnerability recorded for addongit →
FAQ
The addongit package is an npm library that allows developers to integrate and manage Git repositories within their applications.
The malicious code found in addongit can lead to unauthorized access, data breaches, and other harmful activities within applications.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without any signup.
If an immediate update is not possible, consider removing the package from your project as a temporary measure to mitigate risks.
Detailed information about this vulnerability can be found in the GitHub repository of the malicious packages project at https://github.com/ossf/malicious-packages.