Critical Malicious Code Vulnerability in arsgit Package
Summary
MAL-2025-14869: Malicious code in arsgit (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 arsgit package is a Node.js library designed for managing Git repositories through a command-line interface. It provides functionalities such as cloning repositories, managing branches, and handling commits. However, it has been identified to contain malicious code, posing significant risks to users who integrate it into their applications.
Vulnerability Detail
The vulnerability in the arsgit package originates from the inclusion of malicious code that can compromise the security of applications utilizing this package. This code may lead to unauthorized access, data breaches, or other malicious activities, potentially affecting the integrity and confidentiality of user data. The vulnerability is present in all versions starting from 0, making it critical for users to take immediate action.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall arsgit
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 should consider removing the arsgit package from their projects until a secure version is released. You can uninstall the package using the command: npm uninstall arsgit.
Conclusion
The arsgit package has been identified to contain malicious code, posing a serious security risk to users. It is crucial to update or remove the package to safeguard applications from potential threats. Users are encouraged to stay informed about updates and utilize tools like Vulert for ongoing vulnerability monitoring.
See every vulnerability recorded for arsgit →
FAQ
Arsgit is a Node.js library that allows users to manage Git repositories via command-line commands.
The malicious code can lead to unauthorized access and potential data breaches, compromising application security.
You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without any signup.
Currently, there is no patched version available. Users should monitor the package repository for updates.
If immediate removal is not possible, ensure to limit the use of the package and monitor for any updates or patches.