secrets-scanning-in-pipelines

仓库创建 2026年7月26日最近提交 3 天前SkillHot 收录 2 天前
这个 Skill 做什么

把密钥和凭据在代码提交前和 CI 流程里就拦下来,避免意外把秘密写进仓库或构建产物里。平时开发、代码审核或改流水线时用,能在提交点和构建点两个关口阻断泄露。特点是预防为主,能把问题挡在共享分支和发布之前,降低事后清理成本。

▸ 展开 SKILL.md 英文原文

Use when you want to stop credentials from being committed or built into artifacts — wiring secret scanning into pre-commit and CI so leaks are caught before they ship.

1
Stars
0
Forks
40
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/jihedbfr-art/cyber-skills/main/skills/08-devsecops-and-cicd-security/01-secrets-scanning-in-pipelines/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/jihedbfr-art/cyber-skills/main/skills/08-devsecops-and-cicd-security/01-secrets-scanning-in-pipelines/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
## Purpose

Secrets leak into repos constantly — a key pasted for a quick test, a `.env` committed by accident. Once pushed, the credential is compromised even after you delete it, because history and mirrors keep the copy. This skill covers catching them at two chokepoints (before the commit, and in CI) so they never reach a shared branch.

It's the preventive counterpart to the OSINT github-secret-recon skill: that one finds leaks after the fact, this one stops them happening.

## When to use it

Setting up a new repo, or hardening an existing one that's had a leak scare. High value for low effort — a pre-commit hook plus a CI job blocks the overwhelming majority of accidental secret commi
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有