Find secrets with Gitleaks 🔑
Gitleaks is a command-line tool built in Go that detects secrets like passwords, API keys, and tokens in git repositories, files, and standard input using regex-based pattern matching and entropy analysis. The tool operates across multiple scanning modes—including git history scanning, directory scanning, and stdin input—and can be integrated into CI/CD pipelines, pre-commit hooks, and GitHub Actions for automated secret detection and data loss prevention. Gitleaks is authored by zricethezav and is feature-complete as of the material provided, with future releases planned to include only security patches while development shifts to a successor project called Betterleaks.