Gitleaks

Scan git repos for leaked secrets

gitleaks
 
Open sourceCommand-line tool

Third-party software from public repositories. bestappfor.me does not host it, does not verify it and is not responsible for its use. Download only from the official source and check the license. Terms and disclaimer

Stars
29.9K
GitHub
Health
Fair
9 of 11 checks passed
License
MIT
Open source
Version
8.30.1
7 months ago
Category
Privacy & security
Command-line tool
Language
Go

About

Gitleaks looks for passwords, API keys and tokens that were left in code by mistake. You can point it at a local git repository, a folder of files, or text piped in through standard input.

It runs from the command line and can also be added as a pre-commit hook or a GitHub Action, so a check happens before secrets get shared. The project is marked feature complete: future releases are limited to security patches. It is installed with Homebrew, Docker or Go.

Highlights

  • Scans git history, folders and stdin
  • Works as a pre-commit hook or GitHub Action
  • Finds passwords, API keys and tokens

Who it's for

Good for developers who want to catch passwords and API keys before they reach a shared repository.

This description was written by our editors with automated assistance, not by the developer, and has not been reviewed yet.

Official channels

Official channels only. We never host or repackage downloads.

Homebrew
macOS, Linux
8.30.1
brew install gitleaks
winget
Windows
8.30.1
winget install --id Gitleaks.Gitleaks -e

Verified: installer URL on github.com/gitleaks/gitleaks

GitHub release
Linux, macOS, Windows
v8.30.1

You might also like

See all