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 strongest matches are yelp/detect-secrets (yelp/detect-secrets is a modular secret scanning tool that uses), dxa4481/trufflehog (TruffleHog is a secret scanning tool that thoroughly covers) and trufflesecurity/trufflehog (Trufflehog is a purpose-built secret scanning engine that detects). gitleaks/gitleaks and zricethezav/gitleaks round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.

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

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