awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
Yelp avatar

Yelp/detect-secrets

0
View on GitHub↗
4,429 星标·535 分支·Python·apache-2.0·3 次浏览

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 历史

yelp/detect-secrets 的 Star 历史图表yelp/detect-secrets 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

常见问题解答

yelp/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.

yelp/detect-secrets 的主要功能有哪些?

yelp/detect-secrets 的主要功能包括:Secrets Scanning, Secret Scanning Hooks, Secret Scanning Integrations, Secret Baseline Generation, Detection Plugin Interfaces, Secret Pattern Matching, Plugin-Based Architectures, Secret Classifiers。

yelp/detect-secrets 有哪些开源替代品?

yelp/detect-secrets 的开源替代品包括: 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…

Detect Secrets 的开源替代方案

相似的开源项目,按与 Detect Secrets 的功能重合度排序。
  • zricethezav/gitleakszricethezav 的头像

    zricethezav/gitleaks

    27,739在 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
    在 GitHub 上查看↗27,739
  • deepfence/secretscannerdeepfence 的头像

    deepfence/SecretScanner

    3,270在 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
    在 GitHub 上查看↗3,270
  • securego/gosecsecurego 的头像

    securego/gosec

    8,866在 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
    在 GitHub 上查看↗8,866
  • google/tsunami-security-scannergoogle 的头像

    google/tsunami-security-scanner

    8,584在 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
    在 GitHub 上查看↗8,584
  • 查看 Detect Secrets 的所有 30 个替代方案→