trufflehog_scan
Scan Git repos, local paths, or GitHub for leaked secrets and credentials, returning findings with detector type, verification status, and source location to fix exposures.
Instructions
Scan for leaked secrets and credentials using TruffleHog.
Args: target: Git repository URL (for git/github mode) or local directory path (for filesystem mode). scan_type: Scan type — git (repo URL), filesystem (local path), github (GitHub org/user). branch: Branch to scan (optional, defaults to all branches). timeout: Override default timeout.
Returns: List of secret findings with detector type, verification status, and source location.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | No | ||
| target | Yes | ||
| timeout | No | ||
| scan_type | No | git |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||