gitleaksgitsecretscanner
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 "gitleaksgitsecretscanner" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-afc30a2be8369f725dbac9c37cc4ddf90fd3aa2eb5f28bae22de37436fc3e560. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/git-secret-scanner-gitleaks 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 Git repositories for leaked secrets using Gitleaks, TruffleHog, and custom regex patterns. Detect API keys, AWS credentials, private keys, and database connection strings in commit history.
Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Software, accounts and paid services
- Git
- Testing
- Not tested
Browse files
Frontmatter
name: "使用 Gitleaks 的 Git Secret Scanner"
slug: "git-secret-scanner-gitleaks"
version: "1.0.0"
displayName: "使用 Gitleaks 的 Git Secret Scanner"
summary: "使用 Gitleaks、TruffleHog 和自定义正则表达式模式扫描 Git 仓库中的泄露密钥。检测提交历史中的 API 密钥、AWS 凭据、私钥和数据库连接字符串。"
license: "MIT"
description: "使用 Gitleaks、TruffleHog 和自定义正则表达式模式扫描 Git 仓库中的泄露密钥。检测提交历史中的 API 密钥、AWS 凭据、私钥和数据库连接字符串。"
github_stars: 26101
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
category: "Security & Verification"
framework: "Claude Code"
tool_ecosystem:
github_repo: "1991513ccie-png/skills"
github_stars: 26101使用 Gitleaks 的 Git Secret Scanner
Scans Git repositories for leaked secrets using Gitleaks, TruffleHog, and custom regex patterns. Detects API keys, AWS credentials, private keys, and database connection strings across commit history.
Prerequisites
Git
Installation
Use the upstream install or setup path that matches your environment:
- brew install gitleaks
- docker pull zricethezav/gitleaks:latest
- docker run -v ${path_to_host_folder_to_scan}:/path zricethezav/gitleaks:latest [COMMAND] [OPTIONS] [SOURCE_PATH]
- docker pull ghcr.io/gitleaks/gitleaks:latest
Requirements and caveats from upstream:
Basic usage or getting-started notes:
-
Installing
-
bash
-
MacOS
-
Extracted from upstream docs: https://raw.githubusercontent.com/gitleaks/gitleaks/HEAD/README.md
Documentation
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供 Git 仓库密钥泄露扫描功能,解决开发者安全检测的实际需求
- 支持多种检测工具(Gitleaks、TruffleHog)和自定义正则表达式,覆盖 API 密钥、AWS 凭据等常见泄露类型
Highlights
- 触发描述清晰完整,明确说明使用 Gitleaks、TruffleHog 等工具扫描 Git 仓库泄露密钥
- 覆盖多种具体泄露类型(API 密钥、AWS 凭据、私钥、数据库连接字符串),边界清晰
Areas to improve
-
缺少清晰的执行步骤划分和端到端示例 Reported severity: Major
文档包含安装说明和前置条件,但缺少 Phase/步骤划分、出口条件和完整的端到端使用示例
Recommendation: 建议添加清晰的执行步骤(Phase)、出口条件和完整的端到端使用示例,帮助用户理解完整流程
Highlights
- frontmatter 完整,包含必要的元数据信息
- 文档长度适中,内容组织基本合理
Areas to improve
-
缺少异常处理和错误恢复机制 Reported severity: Major
提供了多种安装方式,但未覆盖主要异常处理(如扫描失败、权限问题、网络错误等)
Recommendation: 建议添加异常处理说明,包括扫描失败、权限不足、网络错误等常见问题的处理方法
-
缺少不可逆操作的确认机制 Reported severity: Minor
未提及扫描过程中可能涉及的不可逆操作及其确认机制
Recommendation: 建议添加对不可逆操作的说明和确认机制,提高执行安全性
Highlights
- 提供了多种安装方式(brew、docker),工具来源明确
- 引用了官方文档和上游资源,信息可靠
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 31 -
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, 22
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
- hub.docker.com
- img.shields.io
- raw.githubusercontent.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Git
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.