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.
Get 5 new use cases every morning. Free, one short email, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Disclaimer
Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked "Seen in the wild", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email [email protected] and we will look at it promptly. Full disclaimer page