Agento

Credentials Checker: find the API keys you leaked to Claude Code

Every Claude Code session is saved on your disk, including any secret that passed through it. Agento 1.4.0 scans those transcripts and tells you which keys to rotate.

A chat transcript with one line highlighted in red, a magnifying glass showing it masked, and a green shield with a check mark

You paste an error log into Claude Code to get help. The log contains a database URL with the password in it. Or the agent runs cat .env to debug a config problem, and your Stripe key scrolls past. You fix the bug, close the terminal and forget about it.

The secret did not go away. It went into the model’s context, and it is still sitting in a transcript file on your disk.

Where your secrets end up

Claude Code saves every session as a plain text file under ~/.claude/projects. That is what lets you resume a conversation later, and it is also why a key that was pasted once, printed once, or read from a file once is now stored in full, forever, in a place nobody thinks to look.

That creates two problems:

Most people have hundreds of these sessions. Nobody is going to read them all.

If you have used an AI coding agent on a real project, there is a good chance at least one live credential is sitting in your session history right now.

What the Credentials Checker does

Agento 1.4.0 adds a Credentials Checker under Security. It reads through your Claude Code transcripts in the background and flags anything that looks like a real credential, including:

Findings are grouped by session, so you can see exactly which conversation a key leaked in. From there you decide what to do: rotate the key, mark the finding as a false positive, or whitelist a value or a whole rule you do not care about.

See it in action

Here is the whole flow in the real app: switch the checker on, see what it found, and triage a finding. The sessions and keys are made up for the demo.

Built so that the checker is not another leak

A tool that hunts for secrets has to be careful not to become the place they pile up. So:

Try it in two minutes

  1. Install Agento for macOS, Windows or Linux, or update an existing install to 1.4.0.
  2. Open Settings → Security and switch on the Credentials Checker.
  3. Go to Security → Credentials Checker and watch the findings come in.

New sessions are checked as they happen, so once it is on, you find out about the next leak the same day instead of never.

If this saves you from a forgotten key, please star Agento on GitHub. It is free, open source, and a star is the best way to help other developers find it.