keyhog 0.5.85

GPU-accelerated secret scanner for code, Git history, cloud, containers, browser assets, and live credential verification
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# keyhog CLI SPEC

`keyhog` is the command-line entry point for the KeyHog workspace. It loads detector specifications, configures source readers and scanner settings, applies allowlists and baselines, and emits findings.

## Guarantees

- CLI output is selected by the requested output mode.
- Operational progress goes to stderr.
- Scanner, source, verifier, and baseline behavior is configured from explicit CLI options and config files.
- Exit status distinguishes clean scans, findings, user errors, and system errors.
- `keyhog triage` accepts only the current bounded redacted envelope with the scanner's exact public `evidence.provenance` and channel-specific detector owner, then creates distinct versioned runtime-suppression and pattern-feedback artifacts without plaintext credential, context, or path fields. Unix file operations resolve through held no-follow parent descriptors; Windows fails closed until equivalent reparse-point-safe held-handle I/O is available.

## Boundaries

The CLI orchestrates library crates and keeps scanning logic in `keyhog-scanner`, source enumeration in `keyhog-sources`, and live checks in `keyhog-verifier`.