secret-detection
仓库创建 2026年7月1日最近提交 23 天前SkillHot 收录 22 天前
▸ 精选理由
高价值工程工具,能自动化减少泄密与凭证外泄风险。
▸ 风险提示
需访问私有代码库,可能接触敏感凭据;注意访问权限控制。
这个 Skill 做什么
检测代码中的硬编码密钥、令牌与凭证并给出拦截策略。
扫描代码库中硬编码的密钥、API token、密码和私钥,按模式和关键词(如 api_key、token、AKIA、ghp_ 等)识别疑似泄露并给出拦截或替换建议。常在本地提交前、CI 流水线或代码审查中使用,能在凭证被推到远端前阻止事故。特点是规则化且可自动化,专注于减少敏感信息泄露。
▸ 展开 SKILL.md 英文原文
Detect and prevent hardcoded secrets, API keys, tokens, and credentials in code
2
Stars
0
Forks
40
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/ShieldNet-360/secure-vibe/main/skills/secret-detection/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/ShieldNet-360/secure-vibe/main/skills/secret-detection/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# Secret Detection ## Rules (for AI agents) ### ALWAYS - Check all string literals longer than 20 characters near keywords: `api_key`, `secret`, `token`, `password`, `credential`, `auth`, `bearer`, `private_key`, `access_key`, `client_secret`, `refresh_token`. - Flag any string matching known secret patterns. The bundled pattern set covers AWS (`AKIA...`), GitHub classic (`ghp_`, `gho_`) **and fine-grained** (`github_pat_`) PATs, OpenAI (`sk-`), **Anthropic (`sk-ant-api03-`)**, Slack (`xox[baprs]-`), Stripe (`sk_live_`), Google (`AIza...`), **Azure AD client secrets**, **Databricks (`dapi`)**, **Datadog 32-hex with hotword**, **Twilio (`SK`)**, **SendGrid (`SG.`)**, **npm (`n
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有