Gitleaks is a fast, light-weight, portable, and open-source secret scanner for git repositories, files, and directories. With over 6 million docker downloads, 10.5k GitHub stars, and over 300k homebrew installs, gitleaks is the most trusted secret scanner among security professionals, enterprises, and developers.


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

  • Keep your secrets secret with gitleaks.