Gitleaks is a fast, light-weight, portable, and open-source secret scanner for git repositories, files, and directories. With over 6.8 million docker downloads, 11.2k GitHub stars, 1.7 million GitHub Downloads, thousands of weekly clones, and over 400k 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.