Stop AI coding agents from leaking your keys, on disk and on the wire.

Use Gitleaks or TruffleHog for git history. leaktap is a single 6 to 8 MB MIT-licensed Rust binary (no daemon, no root certificates, zero telemetry) that finds and scrubs leaked secrets in local transcripts and SQLite -wal databases (~/.claude, ~/.codex, Cursor state.vscdb, ~/.continue), and wraps live claude, codex, or MCP sessions to strip shell env secrets, block outgoing keys, pin MCP tool schemas, and log startup network calls.

# Read-only local scan on macOS, Linux, Windows (offline after install)
npx leaktap@0.4.3

# Or install with Homebrew on macOS and Linux
brew install vssinghh/tap/leaktap && leaktap

129 built-in rules (85 secret, 18 MCP, 14 plugin, 10 wiretap, 2 PII) · Read-only by default · Prebuilt binaries signed with npm Sigstore provenance and GitHub build attestations.

Terminal session running leaktap v0.4.3 to scrub AWS_SECRET_ACCESS_KEY and block an outgoing Stripe key with HTTP 400 leaktap_secret_blocked, log outbound MCP startup hosts, and scan local Claude, Cursor, and MCP files
Live session secret blocking, MCP startup wiretapping, and offline local scan with leaktap v0.4.3.

Empirical Security Audits

How leaktap Compares

Source-verified comparison of local transcript scrubbing, live wrapping, and footprint
Tool Local Transcript & SQLite -wal Scrubbing Live Secret Blocking / Env Stripping Live MCP Startup Wiretap & Schema Pinning Runtime Footprint
leaktap (MIT, Rust) Yes (JSONL, JSON, ~/.claude.json, lock-checked SQLite/-wal VACUUM) Yes (zero-cert loopback wrapper, --block-secrets, --scrub-env) Yes (HTTP CONNECT hosts + SHA-256 tools/list rug-pull pins) Single 6 to 8 MB binary, no daemon
Gitleaks / TruffleHog Git repos only (misses ~/.claude, state.vscdb, .mcp.json) No No Single binary
whatileaked (MIT, Node) Scans transcripts and wipes text/JSONL, skips Cursor state.vscdb and does not wipe SQLite DBs No (live redaction sold separately) No npx (Node 20+, Node 22.13+ for SQLite read)
Medusa (AGPL, Python) Scans and purges text/JSONL and shell history, does not purge SQLite/Cursor DBs No (static scanner) Static repo/MCP checks only Python package (pip)
Pipelock (Apache/ELv2, Go) No (egress firewall only) Yes (full proxy firewall, optional TLS MITM and sandbox) Yes (bidirectional MCP proxy + signed receipts) Proxy daemon / Docker / Helm