secleak-check
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "secleak-check":https://skillpi.com/zh/skills/deepskill-5838088907f7d2842e7b31ddaa6eb6a056b54347b3996f093ddb3b131a585013。安装前核对上游来源和版本:https://github.com/instructa/agent-skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
使用 BetterLeaks 和 Trivy 运行或安装代码仓库安全泄露检查。适用于扫描泄露的密钥、易受攻击的依赖项和配置错误,或在发布前运行 secleak-check、添加密钥泄露防护措施、添加 BetterLeaks、添加禁止路径钩子时使用。
介绍来源: third_party · instructa · 0.0.1 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 软件、账号及付费要求
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: secleak-check
description: Run or install repo security leak checks with BetterLeaks and Trivy. Use when asked to scan for leaked secrets, vulnerable dependencies, misconfigurations, add secret-leak guardrails, add BetterLeaks, add forbidden-path hooks, or run secleak-check before release.Secleak Check
Workflow
- Confirm cwd and repo root.
- For a scan request, run the bundled script from this skill, not a target-repo script.
- For a setup request, add repo-local guardrails from
references/guardrails.md. - Quote exact failing tool output, but never print raw secret values.
- If the bundled script is unavailable, use the manual fallback commands below.
Bundled command
Resolve scripts/secleak-check.sh relative to this SKILL.md.
Common installed path:
/Users/kregenrek/.agents/skills/secleak-check/scripts/secleak-check.sh
Manual fallback
betterleaks git --no-banner --redact=100 .
trivy fs --scanners vuln,secret,misconfig --exit-code 1 .
Prefer .betterleaks.toml when present. If only .gitleaks.toml exists, pass --config .gitleaks.toml; BetterLeaks supports it for compatibility.
Reporting
betterleaksfindings are blockers until verified false-positive or remediated.- For historical leaks, report file, line, commit, rule, and fingerprint only.
trivydependency vulnerabilities should be summarized by severity and top fixed versions.- Misconfig findings inside
node_modulesare dependency artifact noise unless that file is built or shipped by the repo.
Guardrail setup
When asked to harden a repo against secret leaks:
- Inventory existing
.betterleaks.toml,.gitleaks.toml, secret-scan workflows, Dependabot, and hook tooling. - Add
.forbidden-paths.regexand a staged-file hook. - Add
.betterleaks.tomlwith path-based filters only for fixtures. - Add repo-local
scripts/secleak-check.shonly when the repo wants a first-class local script. - Add CI secret scanning and Dependabot when GitHub Actions are in scope.
- Update
.gitignorefor runtime dirs, env files, credentials, keys, and infra state.
Templates live in references/guardrails.md; small examples live in references/examples.md.
版本历史
-
v1.0.0
GitHub ↗
原版更新说明
First Agent Plugins v1 release of `regenrek.agentic-engineer-core`. - portable root `plugin.json` - six fully validated Agent Skills - provider compilation verified for Codex, Claude Code, and Cursor - no legacy `.plugin/plugin.json` or `x-agentrig` metadata Bundle SHA-256: `eae83ad0d813ec89bf4e2bb0128c8e7cb09c888e54d1ef661bd184147b884664`
当前收录版本
0.0.1
安全与评测信息
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 提供代码仓库安全泄露检查功能,解决开发安全领域的核心痛点
- 支持 BetterLeaks 和 Trivy 双重扫描,覆盖密钥泄露、依赖漏洞、配置错误等关键场景
亮点
- 触发词覆盖全面,包括扫描泄露、添加防护措施、运行检查等多种场景
- 边界清晰,变体覆盖合理,不易误触或漏触
亮点
- 文档结构清晰,包含完整的工作流、命令示例、报告规范和防护设置
- 步骤划分明确,有出口条件和端到端示例,frontmatter 完整
亮点
- 工具来源明确,参数正确,覆盖主要异常情况
- 提供脚本不可用时的手动回退方案,不可逆操作有确认机制
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
-
账号、密钥或授权
使用专用、最小权限账号,不把密钥粘贴到公开内容或命令日志;核对接收数据的服务与租户。
主文档提及 · 第 46 行
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
翻译待完成,请参阅来源文档。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。