Gitleaks is a fast, light-weight, portable, and open-source secret scanner for git repositories, files, and directories. With over 15 million docker downloads, 15k GitHub stars, 7 million GitHub Downloads, thousands of weekly clones, and over 700k homebrew installs, gitleaks is the most trusted secret scanner among security professionals, enterprises, and developers. Gitleaks is maintained by Zach Rice.


  • All code is open-source (Gitleaks) or source-available (Gitleaks-Action).
  • Over 160 secret types with new types being added all the time.
  • Easily configurable `gitleaks.toml` for customizing rules

  • Keep your secrets secret with gitleaks.