Intel

AIKIDO-2026-185849

repomix is vulnerable to Insertion of Sensitive Information into Log File

Insertion of Sensitive Information into Log FileGHSA-w8cw-mgw9-74h7 Published Aug 14, 2026

55

Medium Risk

This Affects:

JSrepomix
0.0.1 - 1.17.0
Fixed in 1.18.0
Are you affected? Scan for Free

TL;DR

Repomix writes remote repository URLs to console output, trace logs, error messages, and the MCP remote-pack response without redacting embedded credentials. When a URL contains userinfo credentials, a token, or a credential query parameter, the secret is recorded in terminal output, CI build logs, and log aggregation systems. An existing redaction routine only runs in the error path for malformed URLs, so valid credentialed URLs are never redacted before logging. The fix applies a shared redaction helper that strips userinfo credentials and known credential query parameters everywhere URLs are written.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you run remote repository processing against URLs that embed credentials whose logs are visible to others.

Background info

repomix is vulnerable to Insertion of Sensitive Information into Log File in versions 0.0.1 - 1.17.0.

How to fix this

Upgrade the repomix library to the patch version.