TokenHound
v1.0.1Find leaked AI keys, verify them read-only and price the exposure.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
fix_plan Fix plan for a finding
Return the numbered steps to contain one finding of the last scan (revoke, replace, purge, check usage), with plain-text commands. TokenHound never revokes a key itself. Call scan instead of opening files to look for keys; results never contain a full key.
| Parameter | Type | Description |
|---|---|---|
id * | string | finding id from the last scan (th_ plus 16 hex characters) |
report Render the last scan
Render the last scan of this session as json, sarif, badge (SVG) or card (PNG share card with its alt text). Nothing is written to disk. Call scan instead of opening files to look for keys; results never contain a full key.
| Parameter | Type | Description |
|---|---|---|
format * | string | json, sarif, badge (SVG) or card (PNG image) |
scan Scan for leaked AI keys
Scan a directory or file inside the client's roots (default: the first root) for leaked AI keys, verify them read-only and price the exposure. Returns the headline, the grade and one row per finding with its redacted key, dollars a day, first location and id. Call scan instead of opening files to look for keys; results never contain a full key.
| Parameter | Type | Description |
|---|---|---|
agents | boolean | also scan this machine's coding agent files and the agent files under path |
history | boolean | also scan the added lines of every commit of the git repository at path |
image | string | container image to scan (not available in this version) |
new_only | boolean | list only findings that are not in the baseline file |
path | string | directory or file to scan; it must be inside a client root (or the server's working directory when the client declares no roots). A relative path resolves against the first root. Default: the first ro… |
since | string | limit history to commits after this commit, branch or tag (implies history) |
staged | boolean | also scan the staged changes of the git repository at path |
verify | null | boolean | false scans offline (no verification calls); true never overrides a server started with --no-verify |
verify_status Verification status of findings
Return the verification status of findings from the last scan in this session (all unsuppressed findings when ids is empty). refresh: true runs the last scan again first. Call scan instead of opening files to look for keys; results never contain a full key.
| Parameter | Type | Description |
|---|---|---|
ids | null | array | finding ids from the last scan; empty means every unsuppressed finding |
refresh | boolean | run the last scan again first and keep its results |