Critical Malicious Code Vulnerability in arsgit Package

arsgit Updated 02 Oct 2025

Summary

14/08/2025
CRITICAL
No i
Critical
Not published

MAL-2025-14869: Malicious code in arsgit (npm). Affected versions are not published. No fix is published. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

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 →

Share this vulnerability

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.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback