AI Developer Tools
Confessor
A forensic tool that reconstructs AI coding agent sessions from local logs to detect sensitive file reads and data exfiltration attempts.
Confessor
What is Confessor?
Confessor is an open-source command-line tool that audits AI coding agents by replaying their local session logs. It identifies every file the agent opened, every secret that entered its context, and flags exposure paths where sensitive data was read followed by a network call. It also scans chat exports from ChatGPT, Claude, and Gemini for secret leakage.
Confessor vs Similar AI Tools
| Pricing Model | Free | Free | Custom Pricing | Free, Paid |
| Free Credits | ||||
| Key Features |
|
|
|
|
| Pros |
|
|
|
|
| Cons |
|
|
|
|
| Best For |
|
|
|
|
How to use Confessor?
- 1Ensure Node.js >= 18.17 is installed.
- 2Run `npx confessor` to analyze local Claude Code logs (automatically finds `~/.claude/projects`).
- 3Optionally, provide a path to a chat export ZIP file (e.g., `npx confessor ~/Downloads/chatgpt-export.zip`) to scan chat histories.
- 4View the generated `confessor-report.html` in your browser.
Confessor Key Features
- Agent session reconstruction from Claude Code JSONL logs
- Detection of sensitive files opened (e.g., .env, SSH keys, browser passwords)
- Secret detection in agent context using 30+ pattern rules
- Exposure path identification (sensitive read followed by network call)
- Zero network calls and zero runtime dependencies
- Chat history scanning for ChatGPT, Claude, and Gemini exports
- Structural redaction of secrets in output
- Offline HTML report with CSP blocking external loads
Confessor Use Cases
- Audit what an AI coding agent accessed during a task
- Detect potential data exfiltration by AI agents
- Compliance review of AI agent interactions with sensitive files
- Personal privacy audit of chat history with AI services
Confessor Pricing & Free Credits
Confessor currently operates on a Free model.
This tool is completely free to use
Confessor Pros & Cons
Pros
- Zero network calls ensures complete privacy
- No dependencies required to run
- Detects exposure paths that other tools miss
- Works offline on local logs only
Cons
- Currently only supports Claude Code log format
- Detection is rule-based, may miss novel patterns
- Retrospective only, not real-time monitoring
What is Confessor best for?
- Developers using Claude Code or similar AI coding agents
- Security auditors reviewing AI agent behavior
- Privacy-conscious users wanting to inspect chat exports