Submit your favorite resources for free.

Submit
LogoHackDB
icon of Gitleaks

Gitleaks

Gitleaks detects secrets like passwords, API keys, and tokens in git repositories, files, and standard input.

Introduction

Gitleaks is a powerful command-line tool designed to scan git repositories for secrets, such as passwords, API keys, and tokens. It helps prevent sensitive information from being exposed in your codebase.

Key features include:

  • Comprehensive Scanning: Scans git repos, directories, files, and even standard input.
  • Customizable Rules: Supports custom configurations for defining secret detection rules.
  • Baseline Support: Allows ignoring old findings when scanning large repositories.
  • Pre-Commit Hook: Can be integrated as a pre-commit hook to prevent committing secrets.
  • GitHub Action: Offers an official GitHub Action for automated scanning in CI/CD pipelines.
  • Reporting: Supports various report formats (JSON, CSV, JUnit, SARIF) and custom templates.
  • Decoding: Automatically decodes base64 encoded secrets.

Use cases:

  • Scanning git repositories for accidentally committed secrets.
  • Integrating into CI/CD pipelines to prevent secret exposure.
  • Scanning local directories and files for sensitive information.
  • Enforcing security policies and preventing data leaks.

Information

  • Publisher
  • Websitegithub.com
  • Created date03/31/2025
  • Published date03/31/2025
215+ Subscribers
Newsletter

Join 215+ Professionals

Receive our monthly newsletter featuring the latest additions to the directory.

No spam. Unsubscribe anytime.

Gitleaks - HackDB