tags:
- git
- security
permalink: what-is-gitleaks
title: What is Gitleaks?
Gitleaks is a SAST tool for detecting and preventing hardcoded secrets like passwords, API keys, and tokens in Git repos, including their history.
brew install gitleaks
List secrets in the Git history.
gitleaks detect
List details.
gitleaks detect --verbose