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
Yelp avatar

Yelp/detect-secrets

0
View on GitHub↗
4,429 stars·535 forks·Python·apache-2.0·12 views

Detect Secrets

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 incorporated into CI/CD pipelines for automated scanning during builds. Its plugin-based detection architecture allows loading modular detection plugins at runtime, each implementing a distinct scanning strategy, and supports custom plugins for organization-specific patterns. An audit trail mapping system records each detection verdict as a true or false positive entry, enabling downstream tracking of remediation progress and false positive suppression.

Additional capabilities include inline secret allowlisting to mark specific lines for the scanner to ignore, scan exclusion rules to reduce false positives by ignoring specific file paths or patterns, and secret audit labeling to interactively classify each detection and generate a migration checklist. The tool also manages a known secret baseline that creates and updates a snapshot of all currently detected secrets, allowing new secrets to be flagged while ignoring pre-existing ones.

Features

  • Secrets Scanning - Identifies hard-coded credentials and sensitive information in source code using multiple detection strategies.
  • Secret Scanning Hooks - Intercepts pre-commit events to run secret scans and block commits with unbaselined secrets.
  • Secret Scanning Integrations - Integrates automated secret detection into continuous integration and deployment workflows.
  • Secret Baseline Generation - Creates a reference snapshot of known secrets to distinguish new leaks from pre-existing ones.
  • Detection Plugin Interfaces - Loads modular detection plugins at runtime, each implementing a distinct scanning strategy.
  • Secret Pattern Matching - Scans file contents against curated regular expressions designed to match common credential formats.
  • Plugin-Based Architectures - Loads modular detection plugins at runtime, each implementing a distinct scanning strategy.
  • Secret Classifiers - Applies a trained model to identify secret-like patterns using contextual features beyond regex.
  • Secret Detection Plugins - Loads user-defined secret detectors or filters to catch patterns not covered by the built-in rule set.
  • Secret Entropy Detectors - Measures string randomness to identify high-entropy tokens likely to be cryptographic keys or passwords.
  • Custom Detection Rules - Extends the scanner with custom detection logic for proprietary data formats or organization-specific patterns.
  • Audit & Remediation Workflows - Labels scan results as true or false positives and tracks the rotation of leaked credentials.
  • Regex-Based Exclusion Rules - Provides regex-based exclusion rules to reduce false positives during secret scanning.
  • False Positive Auditing - Records each detection verdict as a true or false positive entry for downstream remediation tracking.
  • Application Security - Detects and prevents secrets from being committed to code.
  • Code Security - Prevents accidental commits of sensitive credentials and secrets.
  • Identity and Access Management - Detects and prevents secrets from being committed to code.
  • Identity and Privacy - CLI for auditing and preventing secrets in source code.
  • Secret Detection - Detects and prevents secrets from entering the codebase.
  • Secret Scanning - Prevents secrets from being committed by scanning diffs against regex patterns.
  • Secrets Scanning - Identifies potential secrets within a codebase using modular detection logic.
  • Security and Vulnerability Scanning - Prevents secrets from being committed to version control.

Star history

Star history chart for yelp/detect-secretsStar history chart for yelp/detect-secrets

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

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

Projects sharing features with Detect Secrets

These projects share indexed features with Detect Secrets. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • 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

    Go
    View on GitHub↗27,739
  • 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

    Gocontainersdevsecopsdocker
    View on GitHub↗3,270
  • securego/gosecsecurego avatar

    securego/gosec

    8,866View on GitHub↗

    gosec is a static analysis security tool designed to scan Go source code for vulnerabilities and common coding flaws. It functions as a security analyzer that inspects the abstract syntax tree to identify insecure function calls, API usage, and potential security risks. The tool distinguishes itself by mapping detected vulnerabilities to Common Weakness Enumeration identifiers for standardized reporting and integrating with external AI models to suggest code fixes for identified issues. Its capabilities cover the detection of injection vulnerabilities, hardcoded credentials, weak cryptograph

    Go
    View on GitHub↗8,866
  • google/tsunami-security-scannergoogle avatar

    google/tsunami-security-scanner

    8,584View on GitHub↗

    Tsunami Security Scanner is a network vulnerability scanner and security auditor designed to identify high-severity flaws across network assets. It functions as an asynchronous security probe engine that utilizes automated probes and specialized detection logic to find critical weaknesses and prioritize remediation efforts. The project is distinguished by a plugin-based scanning engine, which uses a modular architecture of interchangeable detection plugins to identify vulnerabilities. This extensibility allows for the development and integration of custom security plugins to expand the variet

    Java
    View on GitHub↗8,584
Compare all 30 related projects→

Frequently asked questions

What does yelp/detect-secrets do?

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.

What are the main features of yelp/detect-secrets?

The main features of yelp/detect-secrets are: Secrets Scanning, Secret Scanning Hooks, Secret Scanning Integrations, Secret Baseline Generation, Detection Plugin Interfaces, Secret Pattern Matching, Plugin-Based Architectures, Secret Classifiers.

Which projects share features with yelp/detect-secrets?

Projects with overlapping indexed features include: zricethezav/gitleaks — Gitleaks is a static analysis security tool and secret detection engine designed to find hardcoded passwords, API… deepfence/secretscanner — SecretScanner is a security tool designed to search filesystems and container images for unprotected passwords, API… securego/gosec — gosec is a static analysis security tool designed to scan Go source code for vulnerabilities and common coding flaws.… google/tsunami-security-scanner — Tsunami Security Scanner is a network vulnerability scanner and security auditor designed to identify high-severity… awslabs/git-secrets — Git-secrets is a security utility designed to prevent the accidental exposure of sensitive credentials by integrating… bridgecrewio/checkov — Checkov is a static analysis tool and security scanner designed to identify misconfigurations in infrastructure as…