Secrets Hunter
A lightweight, fully autonomous, and dependency-free open-source scanner that detects secrets and sensitive information in your codebase.
Install
pip install secrets-hunter
Python 3.11+ • CLI included
Quick scan
secrets-hunter /path/to/project
Scans files in a folder and reports findings.
Export JSON
secrets-hunter /path/to/project --json results.json
Easy CI integration / reporting.
Features
- Detects pattern-based secrets (tokens, keys, credentials) and high-entropy strings
- Boosts confidence using surrounding context
- Fully customizable settings and detection patterns