clawleak 100% Client-Side Engine · 0 Network Requests · 105 Rules

Stop AI Coding Agents From Saving Plaintext Production Secrets

Clicking “Yes, and don’t ask again” in Claude Code or copying tokens into .cursor/mcp.json leaks API keys and database URLs to disk. Audit and losslessly scrub any file locally in your browser — nothing leaves this tab.

Zero-Friction CLI & CI Setup

npx github:tranhoangtu-it/clawleak

1. Input Config / Session Log

.claude/settings.local.json

2. Findings & Verified Output

Waiting
0Findings
0Critical
0High
90Rules

How clawleak Compares

Capability clawleak gitleaks trufflehog detect-secrets
Auto-discovers Claude Code, Cursor, Codex, Gemini, Aider & MCP Built-in (14 agent sources) Manual paths Manual paths Manual paths
Parses .claude/settings.local.json Bash(...) allow rules Yes No No No
Lossless JSON / JSONL AST scrubbing + JSON.parse validation Yes (atomic + backup) Read-only Read-only Read-only
Claude Code PreToolUse hook prevention + Git pre-commit 1-command guard Git hook only Git hook only Git hook only
Runtime Dependencies 0 (Single CJS + Browser ESM) Go binary Go binary Python pkg