For a public-repo credential hunter, the first results are zricethezav/gitleaks (Gitleaks is a specialized Git secret scanner that crawls commit history for hardcoded credentials and tokens, supports custom rules and CI/CD integration, and produces structured reports—exactly the automated public-repo auditing tool this search seeks), trufflesecurity/trufflehog (TruffleHog is a comprehensive secret scanning engine that continuously monitors code repositories and CI/CD pipelines to detect exposed credentials and API keys, with built-in support for predefined patterns, custom patterns, and historical scanning across public repositories) and dxa4481/trufflehog. michenriksen/gitrob and gitleaks/gitleaks round out the shortlist. Compare the match explanations and check the project documentation against your requirements.
Automated tools that scan public code repositories to identify and alert on accidentally exposed sensitive credentials.
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 specialized Git secret scanner that crawls commit history for hardcoded credentials and tokens, supports custom rules and CI/CD integration, and produces structured reports—exactly the automated public-repo auditing tool this search seeks.
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 comprehensive secret scanning engine that continuously monitors code repositories and CI/CD pipelines to detect exposed credentials and API keys, with built-in support for predefined patterns, custom patterns, and historical scanning across public repositories.
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 dedicated secret scanning tool that automatically searches version control systems (including public repositories) for leaked credentials and API keys, with predefined and custom detection patterns, CI/CD integration, and credential verification, fully matching the required features for preventing security breaches.
Gitrob is a tool that scans public GitHub repositories for potentially sensitive files. It clones repositories and walks through their full commit history to flag files matching signatures for sensitive content, including files that may have been deleted in later commits. The tool presents its findings through a local web interface for interactive browsing and analysis. It serves results directly from memory without requiring a database, and allows users to save the full set of gathered findings to a JSON session file. Saved sessions can be loaded back into the web interface to continue analy
Gitrob scans public GitHub repositories and their full commit history for sensitive files and secrets, fitting the request for an automated secret‑scanning tool, though its focus on GitHub and absence of built‑in CI/CD and alerting keep it from being the most comprehensive option.
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 security scanning engine that thoroughly inspects git repositories and history for hardcoded credentials and API keys, supporting custom patterns, CI/CD integration, and deep forensic analysis, which directly matches the need for automatically finding committed secrets in public code.
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 purpose-built secret scanning tool that searches public repositories on GitHub, GitLab, and Bitbucket for accidentally committed credentials and tokens, directly matching the need for automatic detection across multiple platforms and supporting both predefined and custom patterns.
This project is a GitHub secret scanner and dorking tool designed to identify leaked credentials and private keys within repositories. It functions as an API reconnaissance utility that uses curated search queries and automated dorks to locate sensitive data across public and enterprise GitHub instances. The tool enables security vulnerability research and enterprise auditing by targeting both public cloud instances and private enterprise installations via configurable base URLs. It utilizes token-based authentication to access private repository content and bypass API rate limits. The syste
A GitHub-specific secret scanner that uses dork queries to find leaked credentials in public and enterprise repositories — it fits the search for an automated secret detection tool, though it lacks broader multi-platform support and built-in CI/CD integration.
Fast GitHub recon tool. Scans for leaked secrets across all of GitHub, not just known repos and orgs. Support for GitHub dorks.
Git-hound is a focused secret scanner that searches all of GitHub for leaked credentials and secrets, which squarely fits the core need of automatically discovering exposed secrets in public code repositories, though it is limited to GitHub and lacks the multi-platform scanning, CI/CD integration, and custom-pattern support that more comprehensive tools provide.
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
Deepfence SecretScanner is a secret detection tool for filesystems and container images, but it does not specifically scan public code repositories or their commit history as this search requires.
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
detect-secrets is a local secret scanning tool for your own codebases, not a service that automatically searches public repositories for leaked credentials — it prevents new secrets from being committed rather than hunting for existing exposures across multi-platform public repos.
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 general‑purpose static analysis and privacy auditor that detects hard‑coded secrets in source code you provide, but it is not specifically designed to automatically scan public code repositories for leaked credentials the way a dedicated secret‑scanning tool is.
SonarQube is a static code analysis platform used to scan source code and infrastructure scripts across multiple languages. It detects bugs, security vulnerabilities, and maintainability issues to ensure software meets reliability and security standards. The platform implements automated quality gates for continuous integration and delivery pipelines, verifying code against defined rules during merge or pull requests. It also integrates directly with code editors to provide real-time analysis results and quick-fix guidance during development. The system covers broad functional areas includin
SonarQube is a static code analysis platform for bugs and vulnerabilities, not a dedicated tool for scanning public code repositories for accidentally committed secrets and credentials — it lacks secret-specific detection patterns and public-repo targeting.
| Repository | Stars | Language | License | Last push |
|---|---|---|---|---|
| zricethezav/gitleaks | 27.7K | Go | MIT | |
| trufflesecurity/trufflehog | 24.6K | Go | agpl-3.0 | |
| 26.8K |
| Go |
| AGPL-3.0 |
| michenriksen/gitrob | 6.2K | Go | MIT |
| gitleaks/gitleaks | 25K | Go | mit |
| eth0izzle/shhgit | 4K | JavaScript | MIT |
| techgaun/github-dorks | 3.1K | Python | apache-2.0 |
| tillson/git-hound | 1.4K | Go | MIT |
| deepfence/secretscanner | 3.3K | Go | mit |
| yelp/detect-secrets | 4.4K | Python | apache-2.0 |