scan_local
Scan any local filesystem path for leaked secrets like API keys and passwords. Detects exposures without sending data externally and returns redacted findings.
Instructions
Scan a local filesystem path for leaked secrets (API keys, tokens, passwords). Fully local — no network calls, no data sent to any external service. Never modifies scanned files. No authentication required. Returns redacted findings — raw secret values are never included in the output.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scan_path | Yes | Absolute or relative path to scan | |
| regex_file | No | Path to custom regex YAML file (optional) | |
| report_format | No | Output report format | n0s1 |
| show_matched_secret_on_logs | No | Include redacted secret snippets in logs (default: false) | |
| report_uuid | No | UUID to assign to the scan report; overrides the auto-generated one |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| report_uuid | Yes | ||
| status | Yes | ||
| summary | Yes | ||
| findings | No | ||
| next_cursor | No | ||
| usage | Yes | ||
| ai_analysis_status | No |