Intel

AIKIDO-2025-10584

repomix is vulnerable to Argument Injection

Argument Injection Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Aug 25, 2025

35

Low Risk

This Affects:

JSrepomix
0.2.4 - 1.3.0
Fixed in 1.4.0
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to command/argument injection in the Git helper: user-controlled repository URLs could be interpreted as command-line options (e.g., starting with -), allowing an attacker to alter the behavior of git ls-remote, git remote add, or git clone and potentially exfiltrate data or tamper with the local repo. The fix inserts the -- end-of-options separator before URL arguments in these invocations so URLs are always treated as positional arguments.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

repomix is vulnerable to Argument Injection in versions 0.2.4 - 1.3.0.

How to fix this

Upgrade the repomix library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform