Old .env keys I pasted into Claude Code and Codex while debugging were still sitting in plain text inside ~/.claude/projects and local SQLite files. Tools like Gitleaks only scan git repos, so they miss those folders completely.
I wrote a small MIT-licensed Rust CLI called leaktap to scan and scrub those local logs, MCP configs, and plugins offline (no telemetry, nothing leaves your machine):
npx leaktap@0.4.3 Or with Homebrew:
brew install vssinghh/tap/leaktap && leaktap It can also wrap live CLI or MCP sessions to strip unrelated shell env vars and log outbound hosts without root certs (user-space proxy CONNECT and socket polling, so untrusted code still belongs in a VM).
Using the wrapper, I checked startup traffic across the top 20 MCP server repos on GitHub: 5 made outbound HTTPS calls before any tool ran, 7 ship default-on telemetry, and all 470 live tools came back clean on prompt injection.
Full table and repro scripts: https://github.com/vssinghh/leaktap/blob/master/docs/mcp-top-20-audit.md
Repo: https://github.com/vssinghh/leaktap

