Gitleaks
Fast, light-weight secret scanner for Git repositories, files, and directories.
Why consider Gitleaks?
Gitleaks is an open-source SAST tool designed to find and prevent secrets (passwords, API keys, AWS credentials, JWTs) in Git repositories. Written in Go, it runs as a pre-commit hook and CI action to block credentials leaks.
Learn Gitleaks by building
Practical setup notes, real use cases, and copy-ready examples in one focused guide.
In this guide2 sections
Overview of Gitleaks
Gitleaks audits full commit histories and pull requests using high-entropy regex patterns to intercept credential disclosures before pushing to remotes.
Quickstart
# Install Gitleaksbrew install gitleaks# Audit current Git repositorygitleaks detect --verboseGitleaks is licensed under the permissive MIT License.
Related tools
More options with a similar category or technology profile.
diskus
Minimal, fast alternative to du -sh written in Rust using multi-threaded directory traversal.
peco
Simplistic interactive filtering tool for Unix pipelines, process lists, and file trees.
Dapr CLI
Command-line tool for managing Dapr distributed application runtime environments and sidecars.
Freeze
Generate beautiful image screenshots and SVGs of code snippets and terminal outputs.