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

Secret and API Key Scanners

Ranking updated Jun 30, 2026

For a tool for detecting secrets in code, the first results are yelp/detect-secrets, dxa4481/trufflehog (TruffleHog is a secret scanning tool that thoroughly covers git history scanning, credential verification for false positive reduction, and CI/pre-commit integrations, making it a comprehensive fit for detecting leaked credentials in source code) and trufflesecurity/trufflehog. gitleaks/gitleaks and zricethezav/gitleaks round out the shortlist. Compare the match explanations and check the project documentation against your requirements.

Automated security tools that scan source code repositories to identify and prevent exposed sensitive credentials.

Secret and API Key Scanners

Find the best repos with AI.We'll search the best matching repositories with AI.
  • yelp/detect-secretsYelp avatar

    Yelp/detect-secrets

    4,429View on GitHub↗

    detect-secrets is a modular secret scanning tool that identifies hard-coded credentials and sensitive information in source code. It combines multiple detection strategies—regular expression pattern matching, Shannon entropy calculation, and a machine learning classifier—to find potential secrets, and uses a baseline-driven delta analysis to distinguish newly introduced secrets from pre-existing ones, reducing noise from legacy credentials. The tool integrates directly into development workflows through a git pre-commit hook that blocks commits introducing unbaselined secrets, and can be inco

    yelp/detect-secrets is a modular secret scanning tool that uses pattern matching, entropy analysis, and a machine learning classifier to find credentials, with git history scanning, pre-commit hooks, baseline-driven noise reduction, and support for custom rules — directly matching every key feature of this search.

    PythonFalse Positive AuditingSecret Pattern Matching
    View on GitHub↗4,429
  • 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

    TruffleHog is a secret scanning tool that thoroughly covers git history scanning, credential verification for false positive reduction, and CI/pre-commit integrations, making it a comprehensive fit for detecting leaked credentials in source code.

    GoGit History EnumerationPre-commit Hooks
    View on GitHub↗26,790
  • 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

    Trufflehog is a purpose-built secret scanning engine that detects credentials, API keys, and sensitive data in git repositories and cloud environments, with deep git history scanning, pre-commit hooks, and CI pipeline integration — exactly the kind of comprehensive tool this search is looking for.

    GoSecret Detection RulesVersion Control Hooks
    View on GitHub↗24,630
  • gitleaks/gitleaksgitleaks avatar

    gitleaks/gitleaks

    24,973View on GitHub↗

    Gitleaks is a security scanning engine designed to identify hardcoded credentials, API keys, and other sensitive information within version control systems and local file structures. It functions as a static analysis tool that automates the detection of secrets, helping to prevent the accidental exposure of sensitive data during the development lifecycle. The tool distinguishes itself through its ability to perform deep forensic analysis of git history, allowing users to audit entire project timelines or enforce security gates within continuous integration pipelines. It supports complex detec

    Gitleaks is a dedicated, battle-tested secret scanner built for git history analysis and CI integration, covering the full workflow of detection, custom rules, and reporting that this search calls for.

    GoSecurity Finding Management
    View on GitHub↗24,973
  • zricethezav/gitleakszricethezav avatar

    zricethezav/gitleaks

    27,739View on GitHub↗

    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 detec

    Gitleaks is a purpose-built Git secret scanner that detects hardcoded passwords, API keys, and tokens across file systems and commit history, with pattern-based detection, entropy analysis, custom rules, false-positive suppression, and CI integration — squarely meeting the request.

    GoSecret Detection Rules
    View on GitHub↗27,739
  • gitguardian/ggshieldgitguardian avatar

    gitguardian/ggshield

    1,966View on GitHub↗

    Detect and validate 500+ types of hardcoded secrets with advanced checks. Use it as a pre-commit hook, GitHub Action, or CLI for proactive secret detection and security.

    ggshield is a command-line tool that scans code and git history for 500+ types of hardcoded secrets, supports pre-commit hooks and CI integration, and validates findings to reduce false positives—exactly the kind of open‑source secret detector this search requires.

    PythonSecret DetectionVulnerability Scanning and Auditing
    View on GitHub↗1,966
  • bearer/bearerBearer avatar

    Bearer/bearer

    2,566View on GitHub↗

    Bearer is a static analysis security testing tool and privacy compliance auditor. It identifies security vulnerabilities, hard-coded secrets, and privacy risks in source code through static analysis and data flow tracing. The tool distinguishes itself by tracking the movement of sensitive data through code to identify leaks and by mapping personal and health-related information flows to generate evidence for privacy impact assessments. It also provides differential scanning for pull requests and uses fingerprint-based suppression to exclude known false positives from reports. The platform co

    Bearer is a static analysis security tool that explicitly identifies hard-coded secrets alongside other vulnerabilities, and includes features like PR scanning and false-positive suppression, making it a valid secret scanner for codebases.

    GoCustom Analysis RulesCompliance Reporting
    View on GitHub↗2,566
  • 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

    git-secrets is a commit hook tool that scans staged files and messages with regex patterns to block secrets, matching the need for a pattern-based detector with pre-commit integration and custom rules, though it omits entropy analysis and explicit reporting outputs.

    ShellCommit Risk ScanningGit HooksCredential Security and Utilities
    View on GitHub↗13,177
  • eth0izzle/shhgiteth0izzle avatar

    eth0izzle/shhgit

    3,967View on GitHub↗

    shhgit is a static analysis security tool and secret detection scanner designed to identify leaked credentials, API tokens, and private keys. It functions as a security auditor for version control systems, analyzing both local files and remote repositories across platforms including GitHub, GitLab, and Bitbucket. The tool utilizes a detection engine based on signature-matching, custom regular expressions, and entropy checks to locate sensitive data. It allows for the use of custom search signatures and queries to identify non-standard secrets that may not be covered by predefined patterns. T

    Shhgit is a dedicated tool for finding secrets in your code across GitHub, GitLab, and Bitbucket repositories, making it directly fit your need for scanning accidentally committed sensitive data.

    JavaScriptGit Repository Security AuditorsRepository Content ScanningSecret Detection Tools
    View on GitHub↗3,967
  • reviewdog/reviewdogreviewdog avatar

    reviewdog/reviewdog

    9,089View on GitHub↗

    Reviewdog is a linter result posting tool and a diff-aware static analysis filter. It parses the output of various linters and posts findings as comments on pull requests within code hosting platforms. It also functions as a quality gate for CI pipelines, failing builds when findings exceed specified severity thresholds. The project distinguishes itself by isolating static analysis issues to only those introduced within the current git code diff, preventing the reporting of legacy errors. It unifies tool findings by processing industry-standard SARIF and XML diagnostic formats alongside custo

    Reviewdog is a linter result poster and diff-aware static analysis filter for code review, not a dedicated secret scanning tool—it does not detect credentials, API keys, or other leaked secrets in your codebase or git history.

    GoDiagnostic Reporting FormatsSARIF Integrations
    View on GitHub↗9,089
  • deepfence/secretscannerdeepfence avatar

    deepfence/SecretScanner

    3,270View on GitHub↗

    SecretScanner is a security tool designed to search filesystems and container images for unprotected passwords, API keys, and other sensitive data. It functions as a static secret detector and container image scanner that identifies hardcoded credentials by matching content against a database of known secret types. The tool inspects container image layers to find secrets hidden within the filesystem hierarchy and parses local directories and host-mounted paths. It provides the ability to export scan findings in machine-readable JSON format for automated analysis and processing. The scanning

    SecretScanner scans filesystems and container images for secrets, but it does not target git history or commit scanning, so it is better suited for inspecting deployed artifacts than for detecting secrets accidentally committed to source code repositories.

    GoSecret Pattern Matching
    View on GitHub↗3,270
  • defectdojo/django-defectdojoDefectDojo avatar

    DefectDojo/django-DefectDojo

    4,528View on GitHub↗

    DefectDojo is a vulnerability management system and application security orchestration tool. It serves as a centralized platform for importing, deduplicating, and tracking security findings from multiple scanners and tools to manage an organization's overall security posture. The system distinguishes itself by aggregating findings from various security tools into a single report and normalizing that data to prioritize remediation. It provides specific workflows for vulnerability triage and deduplication to reduce noise and redundant manual work across the software development lifecycle. The

    DefectDojo is a vulnerability management and orchestration platform that aggregates findings from other security scanners, not a tool that scans source code for secrets itself.

    HTMLSecurity Finding Management
    View on GitHub↗4,528
Compare the top 10 at a glance
RepositoryStarsLanguageLicenseLast push
yelp/detect-secrets4.4KPythonapache-2.0Mar 13, 2025
dxa4481/trufflehog26.8KGoAGPL-3.0Jun 17, 2026
trufflesecurity/trufflehog24.6KGoagpl-3.0Feb 19, 2026
gitleaks/gitleaks25KGomitJan 8, 2026
zricethezav/gitleaks27.7KGoMITJun 13, 2026
gitguardian/ggshield2KPythonMITJun 17, 2026
bearer/bearer2.6KGootherFeb 20, 2026
awslabs/git-secrets13.2KShellapache-2.0Sep 17, 2025
eth0izzle/shhgit4KJavaScriptMITFeb 28, 2025
reviewdog/reviewdog9.1KGomitFeb 21, 2026

Related searches

  • a public-repo credential hunter
  • an IaC security scanner
  • a git secrets encryption tool
  • a secrets management platform
  • a static analysis tool for security vulnerabilities
  • a toolkit for detecting prompt injection attacks
  • a dependency vulnerability scanner
  • a spell checker for source code and comments