gitsecrets

Scans git diffs for exposed secrets using truffleHog entropy detection and custom regular-expression patterns. Integrates with pre-commit hooks and the GitHub push-protection API to provide real-time blocking.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "gitsecrets" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-8b55f0fc875eb89c8c5a21787641cbf9d81b0c27acb8d1dd2044d4ccc97ffd6e. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/git-secrets-precommit-scanner before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Scans git diffs for exposed secrets using truffleHog entropy detection and custom regular-expression patterns. Integrates with pre-commit hooks and the GitHub push-protection API to provide real-time blocking.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Not specified in the source documentation.
Inputs and outputs
Not specified in the source documentation.
Software, accounts and paid services
Not specified in the source documentation.
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "Git Secrets 预提交扫描器"
slug: "git-secrets-precommit-scanner"
version: "1.0.0"
displayName: "Git Secrets 预提交扫描器"
summary: "使用truffleHog熵检测和自定义正则表达式模式扫描git diff中的暴露密钥。与pre-commit钩子和GitHub推送保护API集成,实现实时阻止。"
license: "MIT"
description: "使用truffleHog熵检测和自定义正则表达式模式扫描git diff中的暴露密钥。与pre-commit钩子和GitHub推送保护API集成,实现实时阻止。"
github_stars: 26006
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
category: "Security & Verification"
framework: "OpenClaw"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 26006

Git Secrets 预提交扫描器

Scans git diffs for exposed secrets using truffleHog entropy detection and custom regex patterns. Integrates with pre-commit hooks and GitHub push protection API for real-time blocking.

Installation

Use the upstream install or setup path that matches your environment:

Requirements and caveats from upstream:

  • Docker:

  • <sub><i>Ensure Docker engine is running before executing the following commands:</i></sub>
  • Using installation script, verify checksum signature (requires cosign to be installed)

Basic usage or getting-started notes:

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value92/100

Highlights

  • 解决开发中密钥泄露的核心安全痛点
  • 集成 pre-commit hooks 和 GitHub 推送保护 API,实现实时阻止
  • 具有高频实用价值,适用于开发团队安全合规场景
Trigger Precision95/100

Highlights

  • 触发词精准完整,覆盖多种变体
  • 边界清晰,描述具体明确
Structure and Standards88/100

Areas to improve

  • 文档格式优化 Reported severity: Minor

    Requirements and caveats 下的列表格式可进一步优化

    Recommendation: 建议使用标准 Markdown 列表格式提升可读性

Highlights

  • Installation 章节完整,包含多种安装方式
  • 有 Quick Start 示例,便于快速上手
  • frontmatter 完整,结构清晰
Execution Reliability85/100

Highlights

  • 工具来源明确(truffleHog)
  • 参数正确,覆盖 Docker/brew 等多种安装方式
  • 有使用注意事项说明
Evidence Verifiability (mean of the first four)90/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Install or fetch external dependencies

    Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.

    Mentioned in main document · lines 28
  • Accounts, secrets or authorization

    Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.

    Mentioned in main document · lines 6, 8
Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • github.com
  • raw.githubusercontent.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Not specified in the source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.