Local forensic scanner that extracts credentials from AI tool conversation history. For authorized red team and DLP use only.
ghosttype is a local security scanner that helps authorized security professionals audit AI coding assistant conversations for accidentally exposed credentials. It automatically detects installed AI tools on your computer, extracts their conversation history files, and scans them for secrets like API keys, passwords, and authentication tokens. The tool uses two complementary detection methods: one that verifies whether found credentials are actually live by checking with the issuing service, and another that catches credential-like patterns that might have been missed. Results are delivered as detailed reports showing exactly where each credential was found, what type it is, and whether it poses an active risk. This helps security teams identify and rotate compromised credentials before they can be exploited.
How It Works
Your team lead mentions that AI coding assistants might accidentally store sensitive credentials in their conversation history, and you need to check if any are exposed.
You download and set up ghosttype on your computer, which comes with a quick health-check command to make sure everything is working properly.
The scanner detects which AI tools you have installed—whether it's Claude Code, Cursor, Codex, or ChatGPT—and prepares to examine their conversation files.
With one simple command, the scanner dives into all your AI conversation files, hunting for any credentials that might have been accidentally saved.
The first method confirms with the credential issuer whether each found secret is still active and valid.
The second method uses pattern recognition to find credential-like strings that might have slipped through.
The scanner produces easy-to-read files showing exactly where each credential was found, what type it is, and whether it was verified as live.
You now know which credentials were exposed in your AI conversations, which are still active, and can immediately start rotating the at-risk ones to keep your systems safe.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.