awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
zricethezav avatar

zricethezav/gitleaks

0
View on GitHub↗
27,739 stars·2,114 forks·Go·MIT·11 viewsgitleaks.io↗

Gitleaks

Gitleaks is a static analysis security tool and secret detection engine designed to find hardcoded passwords, API keys, and authentication tokens. It functions as a Git secret scanner that analyzes both local file systems and Git commit history to prevent credential leaks.

The tool distinguishes itself through a decoding pipeline that transforms base64 and hex strings into plaintext to find obfuscated secrets. It further reduces false positives using proximity-based validation and fingerprint-based suppression to filter out known or baseline findings.

The system covers a broad range of detection capabilities, including recursive archive extraction and commit-history traversal. It supports automated workflows for integration into continuous integration and delivery pipelines, allowing for custom secret detection rules and the generation of structured scan reports for compliance auditing.

Features

  • Secrets Scanning - Provides comprehensive scanning of both the current filesystem and full Git commit history to detect hardcoded credentials.
  • Credential Leak Prevention - Identifies and helps remove accidentally committed secrets from codebases using regex and custom rules.
  • DevSecOps And Hardening - Functions as an automated check for commit hooks and CI workflows to prevent secret leaks.
  • Static Code Analysis - Employs static analysis using regular expressions and proximity matching to identify credentials in source code.
  • Commit History Analysis - Analyzes Git object graphs and patches to identify secrets hidden within previous versions of the code.
  • Secret-Focused History Analysis - Analyzes commit ranges and patches to identify sensitive credentials committed to the version history.
  • CI Workflow Automations - Integrates secret detection into commit processes and CI/CD workflows to prevent credentials from entering repositories.
  • CI/CD Pipeline Integrations - Implements automated security checks within CI/CD pipelines to block the push of sensitive credentials.
  • Git Secret Scanners - Detects hardcoded passwords, API keys, and tokens within Git history and local file systems.
  • Encoded Secret Decoding - Implements a decoding pipeline that transforms base64 and hex strings into plaintext to uncover obfuscated secrets.
  • Secret Scanning Engines - Provides a core scanning engine that decodes encoded strings to find hidden credentials.
  • Regex Pattern Matchers - Uses regular expressions to identify sensitive credentials based on predefined and custom rule sets.
  • Recursive Archive Traversers - Recursively unpacks compressed files during scanning to analyze nested content for hardcoded secrets.
  • Secret Suppressions - Supports suppressing known or test credentials via inline comments and fingerprint files to reduce false positives.
  • Security Automation Workflows - Automates the discovery and filtering of secrets throughout a project's history to ensure codebase security.
  • Obfuscated Data Decoders - Provides a decoding pipeline that transforms base64 and hex strings into plaintext to uncover obfuscated credentials.
  • Secret Detection Rules - Allows the definition of specialized detection patterns and proximity rules via configuration files.
  • Secret Fingerprinting - Filters out known secrets by comparing cryptographic hashes of findings against a baseline file.
  • Archive Content Scanning - Recursively searches for secrets inside compressed files by extracting and scanning zip or tar archives.
  • Baseline Filtering - Provides baseline filtering to ensure only newly introduced leaks are flagged during subsequent scans.
  • Keyword Proximity Validation - Reduces false positives by verifying if specific keywords appear near a potential secret match.
  • Reconnaissance - Detecting hardcoded secrets in version control repositories.
  • Reconnaissance Tools - Detecting hardcoded secrets in git repositories.
  • Vulnerability Scanners - Scans repositories for secrets using regex and entropy.
  • Credential Harvesting - Scans Git repositories for secrets.
  • Data Leakage Detection - Searches repository history for leaked secrets and keys.
  • Offensive Security Tools - Audits git repositories for hardcoded secrets.
  • Secret Detection - Scans repositories for hardcoded secrets and keys.
  • Secret Management - Automated auditing of Git repositories for exposed secrets.
  • Secret Scanners and Credential Auditing - Audit tool for detecting secrets in git history.
  • Secret Scanning - SAST tool for finding secrets in Git repositories.
  • Secrets Scanning - Scans git commit history for hardcoded passwords and API tokens.
  • Security and Vulnerability Scanning - Detects hardcoded secrets in git repositories.

Star history

Star history chart for zricethezav/gitleaksStar history chart for zricethezav/gitleaks

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Gitleaks

Similar open-source projects, ranked by how many features they share with Gitleaks.
  • trufflesecurity/trufflehogtrufflesecurity avatar

    trufflesecurity/trufflehog

    24,630View on GitHub↗

    Trufflehog is a security tool designed to continuously monitor code repositories and cloud environments to detect, verify, and remediate exposed sensitive credentials and API keys. It functions as a comprehensive secret scanning engine that integrates directly into deployment pipelines and version control systems to intercept sensitive data before it is committed or pushed. By utilizing read-only operations and volatile memory processing, the system ensures that discovered credentials are never stored persistently, maintaining strict data privacy throughout the scanning lifecycle. The platfor

    Gocredentialsdevsecopsdynamic-analysis
    View on GitHub↗24,630
  • dxa4481/trufflehogdxa4481 avatar

    dxa4481/truffleHog

    26,790View on GitHub↗

    TruffleHog is a secret scanning tool designed to identify leaked credentials and API keys across version control systems, cloud storage, and filesystems. It functions as a git secret detector that enumerates hidden commits and a cloud storage security auditor for inspecting container images and storage buckets. The project is distinguished by a credential verification engine that tests discovered secrets against service APIs to confirm they are active, which eliminates false positive alerts. It further analyzes these verified credentials to determine the specific access levels and resources t

    Go
    View on GitHub↗26,790
  • awslabs/git-secretsawslabs avatar

    awslabs/git-secrets

    13,177View on GitHub↗

    Git-secrets is a security utility designed to prevent the accidental exposure of sensitive credentials by integrating automated scanning directly into the version control commit lifecycle. It functions as a commit scanner that evaluates staged files and commit messages against defined security policies before changes are finalized in a repository. The tool utilizes regular expression pattern matching to identify potential secrets and supports the registration of custom patterns to address specific organizational security requirements. To manage operational friction, it includes mechanisms for

    Shell
    View on GitHub↗13,177
  • xirong/my-gitxirong avatar

    xirong/my-git

    7,396View on GitHub↗

    my-git is a comprehensive framework and reference guide for Git version control administration, repository governance, and software release management. It provides a structured approach to managing the software development lifecycle, from initial feature branching to final production deployment. The project distinguishes itself through a specialized AI-assisted development framework. This includes workflows for managing AI-generated code via automated diff reviews, intent-based commit splitting, and governance models for multi-agent coordination and session isolation using worktrees. The cod

    Python
    View on GitHub↗7,396
See all 30 alternatives to Gitleaks→

Frequently asked questions

What does zricethezav/gitleaks do?

Gitleaks is a static analysis security tool and secret detection engine designed to find hardcoded passwords, API keys, and authentication tokens. It functions as a Git secret scanner that analyzes both local file systems and Git commit history to prevent credential leaks.

What are the main features of zricethezav/gitleaks?

The main features of zricethezav/gitleaks are: Secrets Scanning, Credential Leak Prevention, DevSecOps And Hardening, Static Code Analysis, Commit History Analysis, Secret-Focused History Analysis, CI Workflow Automations, CI/CD Pipeline Integrations.

What are some open-source alternatives to zricethezav/gitleaks?

Open-source alternatives to zricethezav/gitleaks include: trufflesecurity/trufflehog — Trufflehog is a security tool designed to continuously monitor code repositories and cloud environments to detect,… dxa4481/trufflehog — TruffleHog is a secret scanning tool designed to identify leaked credentials and API keys across version control… awslabs/git-secrets — Git-secrets is a security utility designed to prevent the accidental exposure of sensitive credentials by integrating… xirong/my-git — my-git is a comprehensive framework and reference guide for Git version control administration, repository governance,… yelp/detect-secrets — detect-secrets is a modular secret scanning tool that identifies hard-coded credentials and sensitive information in… bearer/bearer — Bearer is a static analysis security testing tool and privacy compliance auditor. It identifies security…