name: secret-scan description: Scans for hardcoded secrets and credentials allowed-tools: Read Bash
Secret Scan
- BLOCKER patterns: api_key=, sk-, AKIA, password=, BEGIN RSA PRIVATE KEY, postgres://user:pass@
- Ignore placeholders like your-api-key-here or process.env.X
- Check .env is in .gitignore (BLOCKER if not)
- Report file and line number but NEVER log the actual secret value.