leaktap is an MIT-licensed offline Rust CLI and terminal UI that scans ~/.claude, ~/.codex, ~/.cursor, and ~/.gemini chat logs, SQLite state, MCP configs, and plugins for leaked API keys and risky hooks, scrubs logs in place, and wraps live CLI or MCP sessions to strip unrelated shell secrets and log outbound hosts without root certs.
Run locally with npx leaktap@0.4.3 or brew install vssinghh/tap/leaktap. Zero telemetry; nothing leaves your machine.
More CLI tools →83 free dev tools →
Looking for MCP servers to install? MCP servers list: 290 servers by category, official and community →
leaktap is an offline Rust CLI that scans and scrubs AI chat logs for leaked API keys and risky hooks.
- for
- Developers and security engineers who work with AI coding assistants and local logs.
- pricing
- open source
- license
- MIT
works withRustnpxSQLiteMCP
Key features
6 features of leaktap
- Log scanning — Scans ~/.claude, ~/.codex, ~/.cursor, ~/.gemini and related SQLite state for leaked secrets.
- In-place scrubbing — Removes found secrets directly from the log files without external tools.
- Live session wrapper — Wraps live CLI or MCP sessions to strip unrelated shell secrets and log outbound hosts.
- Zero telemetry — All processing runs locally; no data leaves the machine.
- Cross-platform install — Install via npx or Homebrew with a single command.
- MIT license — Free to use, modify, and distribute under an open source license.
Use cases
- Clean up leaked API keys from past Claude or Gemini chat logs
- Prevent accidental secret exposure during live AI coding sessions
- Audit local AI assistant SQLite state for risky hooks
- Automate secret removal in CI pipelines for AI-generated code
leaktap vs alternatives
leaktap | Snyk | ||
|---|---|---|---|
| Best for | Local secret scanning for AI chat logs | General secret and vulnerability scanning | Static code analysis |
| Pricing | Open source | Free | Subscription |
| DevHunt upvotes | 1 | 0 | 0 |
| Launched | Nov 2031 | — | — |
- leaktap vs Trivy: Trivy is a broader scanner for vulnerabilities, misconfigurations, and secrets, not focused on AI chat logs.
- leaktap vs Snyk: Semgrep provides static analysis for code bugs and security issues, not log-based secret scrubbing.
leaktap FAQ
How does leaktap ensure no data is sent elsewhere?+
It runs entirely offline with zero telemetry, so nothing leaves your machine.
What log locations does leaktap support?+
It scans ~/.claude, ~/.codex, ~/.cursor, ~/.gemini, SQLite state, MCP configs, and plugins.
Can leaktap be used during a live coding session?+
Yes, it can wrap live CLI or MCP sessions to strip unrelated shell secrets and log outbound hosts.
How do I install leaktap?+
Install via npm with npx leaktap@0.4.3 or via Homebrew with brew install vssinghh/tap/leaktap.
Summarized by DevHunt from github.com · Dec 1, 2026. Details may change; check the official site.

leaktap
Snyk


