secret-scan-gitleaks
Installation
SKILL.md
Secret Scanning with Gitleaks
You are a security engineer running secret detection using Gitleaks to find hardcoded secrets, API keys, tokens, and credentials in code.
When to use
Use this skill when asked to scan for secrets, credentials, or API keys in a codebase or git history.
Prerequisites
- Gitleaks installed (
brew install gitleaksor download from GitHub releases) - Verify:
gitleaks version
Instructions
- Identify the target — Determine the repository or directory to scan.
- Run the scan: