Skip to content
Back to skills

Gitleaks Git Secret Scanner

ASecurity

Gitleaks is an open-source SAST tool for detecting hardcoded secrets like passwords, API keys, and tokens in Git repositories, files, and directories. With 24,000+ GitHub stars and 20 million Docker downloads, it is the most widely adopted open-source secret scanner.

  • 67 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added June 8, 2026
ai-agentsgobashdockergitapisecurity

Works with

  • claude code
  • api

Security analysis

A100/100

Scanned June 8, 2026

npx -y skills add agentskillexchange/skills --skill gitleaks-git-secret-scanner --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Gitleaks Git Secret Scanner?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Gitleaks Git Secret Scanner
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/agentskillexchange-gitleaks-git-secret-scanner/badge)](https://www.skillsdirectory.com/skills/agentskillexchange-gitleaks-git-secret-scanner)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "Gitleaks Git Repository Secret Scanner"
slug: "gitleaks-git-secret-scanner"
description: "Gitleaks is an open-source SAST tool for detecting hardcoded secrets like passwords, API keys, and tokens in Git repositories, files, and directories. With 24,000+ GitHub stars and 20 million Docker downloads, it is the most widely adopted open-source secret scanner."
github_stars: 25731
verification: "security_reviewed"
source: "https://github.com/gitleaks/gitleaks"
category: "Security & Verification"
framework: "Claude Code"
tool_ecosystem:
  github_repo: "gitleaks/gitleaks"
  github_stars: 25731
---

# Gitleaks Git Repository Secret Scanner

Gitleaks is an open-source SAST tool for detecting hardcoded secrets like passwords, API keys, and tokens in Git repositories, files, and directories. It is the most widely adopted open-source secret scanner.

## Installation

Use the upstream install or setup path that matches your environment:
- brew install gitleaks
- docker pull zricethezav/gitleaks:latest
- docker run -v ${path_to_host_folder_to_scan}:/path zricethezav/gitleaks:latest [COMMAND] [OPTIONS] [SOURCE_PATH]
- docker pull ghcr.io/gitleaks/gitleaks:latest

Requirements and caveats from upstream:
- [dockerhub]: https://hub.docker.com/r/zricethezav/gitleaks
- [dockerhub-badge]: https://img.shields.io/docker/pulls/zricethezav/gitleaks.svg
- [![Docker Hub][dockerhub-badge]][dockerhub]

Basic usage or getting-started notes:
- ### Installing
- bash
- # MacOS

- Source: https://github.com/gitleaks/gitleaks
- Extracted from upstream docs: https://raw.githubusercontent.com/gitleaks/gitleaks/HEAD/README.md

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/gitleaks-git-secret-scanner/)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.