Credentials. Scan output can still contain sensitive endpoint and agent context, so store and share the results as confidential.
Who it is forA security engineer asked to review what AI coding agents did on a developer laptop after a suspected leak.
The problemAgent sessions leave artifacts on disk, but nobody has a normalized view of what the agents read, ran, or sent.
The outcomeA list of discovered agents and a findings stream from past sessions, with secrets redacted, and no hooks or agent settings changed.
What you need first
- A macOS, Linux, or Windows machine with a terminal
- The numbat binary, from a release download or Go 1.26.9 or newer
- At least one supported agent installed, such as Codex or Claude Code
- Permission to read the agent's local session files and, for live capture, to change its hook configuration
Steps
- Download a Numbat release for your OS and check it against the published SHA-256 checksums.
- Run
numbat agentsto see which agents Numbat can discover on this machine. - Run
numbat scan --agent codexto limit discovery to one agent, ornumbat scanto scan all discovered parser-backed agents. - Run
numbat scan --emit allif you also need events and indicators, not only findings. - Run
numbat help scanto check the flags for output modes before sharing results. (inferred, check the README)
Prompt for your agent
Use the repo perplexityai/numbat. Run `numbat agents` and then `numbat scan --agent <agent-name>` on this machine, and save the NDJSON output to a file. Report the number of findings and their rule_id values. Verify that the output contains no complete raw transcript and that secret values are redacted.
Caveat. Reconstruction only covers what the agent persisted to disk, and a finding is a rule match, not proof that an action completed or that the machine was compromised.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for perplexityai/numbat and "Audit past agent sessions without changing any config"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer