GI

Gitleaks

Detect secrets and credentials in Git repositories

Developer Tools & Git ★ 28.5k stars Easy setup MIT

Gitleaks is an open-source tool for detecting and preventing hardcoded secrets such as passwords and API keys in Git repositories. It runs as a pre-commit hook or in self-hosted CI pipelines.

Key features

  • Secret scanning
  • Git history scanning
  • Pre-commit hook
  • Custom rules

Strengths

  • Released under the MIT license
  • Easy to set up — beginner-friendly
  • First-class Docker support for quick deployment
  • Mature project with 28.5k GitHub stars

Gitleaks replaces

Compare Gitleaks

12 head-to-head comparisons.

Similar developer tools & git apps