Gitleaks is a fast, light-weight, portable, and open-source secret scanner for git repositories, files, and directories. With over 9 million docker downloads, 13k GitHub stars, 3 million GitHub Downloads, thousands of weekly clones, and over 500k 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 160 secret types with new types being added all the time.
  • Easily configurable `gitleaks.toml` for customizing rules
  • Official gitleaks GitHub Action available.

  • Keep your secrets secret with gitleaks.