
keypeek
See which secrets your AI coding agents can read
4 followers
See which secrets your AI coding agents can read
4 followers
A free, read-only CLI that shows which API keys your AI coding agents can read:env files, chat transcripts and shell history. No network, never prints a secret. Works with Claude Code, Codex and any MCP client.




Free
Launch Team

Build your Framer site from Claude, Codex or CursorYour AI agent builds it. You review before it goes live.
Promoted
Hi, I built keypeek because AI coding agents can read your .env files, chat transcripts and shell history, and most people never check what is in them. It is read-only, makes no network calls and never prints a full secret. Run npx @evalogical/keypeek to see your score. It also works inside Claude Code and Codex through a plugin and an MCP server. Feedback on missing key formats is very welcome.
This is the check I should have been running all along — I live in Claude Code most days, and I know my .env files and shell history are right there for the agent to read. The read-only, no-network-calls part is what makes me actually want to run it. Does the score also cover what's sitting in Claude Code transcripts, or is it mainly .env files and shell history for now? And does it flag keys that are valid but overly broad, like a key with more scope than the project needs?
@jcbuilds Yes! Claude Code transcripts are included, not just .env files and shell history. That’s actually one of the main reasons We built @keypeek a key can be exposed to the agent through something it read or a command it ran, and end up in the transcript without you realizing it.
On the scope question: keypeek currently focuses on what secrets are accessible/exposed, rather than determining whether a valid key has excessive permissions for your specific project. So it can tell you “this key is readable here”, but it doesn’t yet evaluate whether that key should have, say, read-only access instead of admin access. That’s a useful direction for a future version.
And yes, the whole check is designed to stay read-only and local no network calls and no full secrets printed.