DocsCommand reference
status
Every problem in protected files, each next to the command that fixes it. The first thing to run when something feels off.
Try it
SecretSleuth status
How it works
Prints the manifest age, pending findings, protected-file counts and hook state, then checks every protected file:
── SECRETSLEUTH STATUS ─────────────────────────────────────────
Repo : C:\repos\billing-api
Last scan : 2026-10-14 09:12:40
Protected files : 2 (skip-worktree), 0 (assume-unchanged)
Pending findings : 5
Auto-verified : 0 (no longer found in code, confirmed by rescan)
Pre-commit hook : installed
Post-merge hook : installed
────────────────────────────────────────────────────────────────
1 problem(s):
- src\Billing.Api\appsettings.json has edits git cannot see (line(s) 7)
fix: SecretSleuth stage --file src\Billing.Api\appsettings.json
| Problem | Fix it prints |
|---|---|
| Protected file has edits git cannot see | stage --file <path> |
| Protected file was deleted, but git cannot see the deletion | unfreeze --file <path>, then git rm --cached <path> |
| Protected file holds real values, not placeholders | full scan |
| Obfuscated tracked file is not protected | freeze --file <path> |
| A hook is missing | --install-hook |
Options
| Flag | Description |
|---|---|
--repo <path> | Repository. Default: current folder |
--embed-manifest | Read the manifest from the repository root |
Check the result
No problems found. means no protection problems were detected. It does not mean all findings are remediated; check the pending count separately.