Ingenious AI · Agent infrastructure · Free self-check
You turned on harden_repo — does it actually hold?
In November 2026, two GitHub advisories described bypasses of the harden_repo defence in mcp-server-git — the most-deployed MCP reference server, whose hardening is a boundary users trust on the strength of having enabled it. A fixed mcp-server-git 2026.11.18 shipped on Nov 18, and the MCP reference-servers v2.5.0 release covered eight vulnerabilities across three packages in the same wave. This page makes 'we enabled hardening' a checkable claim: a config audit, then the bypass battery.
What this does — and does not do
Does: audit a pasted mcp-server-git client configuration locally: whether an explicit --repository allowlist is declared, whether the version pin is at or past the fixed 2026.11.18 release (or floats unpinned), and whether git flag-injection surface (--upload-pack, -c config injection and peers) sits inside the launch arguments. It then generates the bypass battery for your allowed repository: repo-path escapes, absolute and symlink alternate-repo resolution, flag injection through git arguments, and dotdot-inside-the-prefix — each with its pass condition.
Does not: launch, connect to or probe any server, and it does not invent advisory identifiers the reporting did not publish — the November advisories are cited as advisories, and the fixed version is the checkable fact. The config audit is the static half; the battery, run against your own deployment, is the proof half, and that run is yours to do.
Paste your mcp-server-git client configuration
The facts behind this check
A hardening flag fails in a specific way: not by being absent, but by being trusted. The November advisories bypassed deployments whose operators had done the visible part — enabled the defence — while the boundary underneath (path canonicalization, argument parsing, alternate resolution through symlinks) let a caller walk around it. The fixed release, 2026.11.18, is the floor; the battery is how a floor becomes a verdict instead of a setting.
Frequently asked questions
What does the config audit check?
It audits a pasted mcp-server-git client configuration locally. It checks whether an explicit --repository allowlist is declared, whether the version pin is at or past the fixed 2026.11.18 release or floats unpinned, and whether git flag-injection surface such as --upload-pack or -c config injection sits inside the launch arguments.
Does this page launch or probe my server?
No. It never launches, connects to or probes any server. The config audit is the static half of the check, and running the generated bypass battery against your own deployment is the proof half, which is yours to do.
What is in the bypass battery?
The battery is generated for your allowed repository. It covers repo-path escapes, absolute and symlink alternate-repo resolution, flag injection through git arguments, and dotdot-inside-the-prefix, each with its pass condition.
I enabled harden_repo. Why test it at all?
Because a hardening flag can fail by being trusted rather than by being absent. The November 2026 advisories described bypasses in deployments whose operators had enabled the defence, while path canonicalization, argument parsing and symlink resolution let a caller walk around the boundary underneath it.
What should I fix first if the audit flags my config?
Pin to the fixed release first: 2026.11.18 is the floor the audit checks against. Then declare the --repository allowlist explicitly and remove any flag-injection surface from the launch arguments, before you run the battery to turn the setting into a verdict.
Sources
Two GitHub advisories describing harden_repo bypasses in mcp-server-git (November 2026); fixed mcp-server-git 2026.11.18 (shipped 2026-11-18); MCP reference-servers v2.5.0 fixing eight vulnerabilities across three packages — as recorded in the Ingenious AI unicorn research log, 2026-11-27 (the log publishes no CVE/GHSA identifiers for these advisories, so this page cites none).
Running agent stacks in production? TrustGate watches the MCP servers your agents actually run. This page is a one-off config audit + battery, not monitoring.