gitleaks
« Back to VersTracker
Description:
Audit git repos for secrets
Type: Formula  |  Latest Version: 8.30.0@0  |  Tracked Since: Nov 26, 2025
Links: Homepage  |  formulae.brew.sh
Category: Security
Tags: security secrets-detection devsecops git scanning
Install: brew install gitleaks
About:
Gitleaks is a SAST tool designed to detect and prevent hardcoded secrets like passwords, API keys, and tokens in git repositories. It scans git history, commits, and files to identify credentials that shouldn't be exposed. The tool integrates into CI/CD pipelines to block secrets before they reach production.
Key Features:
  • Scans git history and real-time commits for secrets
  • Supports custom rules and regex patterns
  • Generates SARIF reports for CI/CD integration
  • Pre-commit hook support to catch secrets before they're committed
Use Cases:
  • Auditing existing repositories for leaked credentials
  • Preventing new secrets from being committed via pre-commit hooks
  • CI/CD pipeline integration for automated secret detection
Alternatives:
  • truffleHog – Python-based scanner with entropy checks, while Gitleaks is Go-based and faster
  • git-secrets – AWS tool focused on pre-commit hooks, while Gitleaks offers broader scanning capabilities
Version History
Detected Version Rev Change Commit
Dec 25, 2025 6:01pm 8.30.0 0 VERSION_BUMP b9613970
Nov 26, 2025 7:58pm 0 VERSION_BUMP cddf23a2
Oct 9, 2025 4:58pm 0 VERSION_BUMP 507c9525
Sep 11, 2025 4:37pm 0 VERSION_BUMP bcc51b9f
Jan 13, 2025 5:21pm 0 VERSION_BUMP ecd26dbf
Jan 13, 2025 4:59pm 0 VERSION_BUMP 2b143919
Dec 30, 2024 4:56pm 0 VERSION_BUMP c8453c73
Oct 28, 2024 4:09pm 0 VERSION_BUMP 0e30be7b
Sep 26, 2024 4:40pm 0 VERSION_BUMP a629d142
Sep 16, 2024 3:34pm 0 VERSION_BUMP 9ed2b208
Sep 14, 2024 10:27am 0 VERSION_BUMP 960fd309