---
name: gitleaks-trufflehog-secrets-mcp-server
description: Scan git commit history, local diffs, and Docker layers for exposed credentials while keeping secret values masked.
---

# Gitleaks & TruffleHog Secrets MCP

## Defensive & Authorized Scope
Use strictly on authorized systems, repositories, or isolated lab networks.

## Security Guardrails
Bind the MCP server exclusively inside a read-only workspace or isolated container (`read_only: true`, `--cap-drop=ALL`). Enforce strict CIDR/directory allowlists and never expose local MCP stdio or SSE ports on untrusted network interfaces without mutual authentication.

