blocksecretleaksbeforecommitorpushwithggshield

Scan staged changes, commits, or the repository for secrets before leaving a workstation or CI job, instead of relying on later platform-side detection.

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 "blocksecretleaksbeforecommitorpushwithggshield" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-646e7fc037962d3d8115a5ef2a2baffa06eeab2a08249bccc83615bd86880d6f. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/block-secret-leaks-before-commit-or-push-with-ggshield 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

Scan staged changes, commits, or the repository for secrets before leaving a workstation or CI job, instead of relying on later platform-side detection.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "Block secret leaks before commit or push with ggshield"
slug: "block-secret-leaks-before-commit-or-push-with-ggshield"
version: "1.0.0"
displayName: "Block secret leaks before commit or push with ggshield"
summary: "在工位或CI作业离开之前扫描暂存更改、提交或代码库中的机密,而不是依赖后续平台端的捕获。"
license: "MIT"
description: "在工位或CI作业离开之前扫描暂存更改、提交或代码库中的机密,而不是依赖后续平台端的捕获。"
github_stars: 1940
verification: "listed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
publisher_type: "individual"
category: "Security & Verification"
framework: "Multi-Framework"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 1940

使用ggshield在提交或推送之前阻止机密泄露

在工位或CI作业离开之前扫描暂存更改、提交或代码库中的机密,而不是依赖后续平台端的捕获。

先决条件

Python环境或打包的ggshield安装,Git,可选的GitGuardian API密钥用于完整的检测器覆盖

安装

无法自动提取基于源码的安装或使用说明。在敏感工作流中运行此技能之前,请审查上游项目。

文档

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 Value72/100

Highlights

  • 提供在代码提交前主动扫描机密泄露的安全能力,解决开发者敏感信息防护的实际痛点
Trigger Precision95/100

Highlights

  • 触发描述清晰明确,准确表达了使用 ggshield 在 commit/push 前扫描机密的核心功能
Structure and Standards68/100

Areas to improve

  • 缺少端到端使用示例 Reported severity: Minor

    文档缺少具体的命令示例、配置片段或完整的使用流程演示

    Recommendation: 补充具体的 ggshield 安装命令、配置示例和典型使用场景的完整操作流程

Highlights

  • 文档结构基本完整,包含先决条件、安装和文档链接
Execution Reliability55/100

Areas to improve

  • 缺少具体安装命令和异常处理说明 Reported severity: Major

    未提供 ggshield 的具体安装方法、API 密钥配置方式及常见错误处理方案

    Recommendation: 补充详细的安装步骤、配置说明和异常处理指南,确保用户能够顺利执行

Highlights

  • 工具来源明确,指向 ggshield 项目
Evidence Verifiability (mean of the first four)73/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.

  • 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 27
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

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.

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