/install skylv-secret-detector
Secrets Scanner
Overview
Scans repositories for accidentally committed secrets and API keys.
When to Use
- User asks to "scan for secrets" or "security audit"
- Pre-commit or pre-push security check
Patterns to Detect
AWS Key: AKIA[0-9A-Z]{16} GitHub Token: ghp_[a-zA-Z0-9]{36} Generic API Key: api[_-]?key.[a-zA-Z0-9]{20,} Private Key: -----BEGIN (RSA|DSA|EC) PRIVATE KEY----- Password in URL: ://[^@]+:.@ Slack Token: xox[baprs]-[0-9]{10,13}-[0-9]{10,13}
Commands
Windows: Select-String -Path . -Include .js,.py -Recurse -Pattern "ghp_[a-zA-Z0-9]{36}"
Linux/macOS: grep -rE "ghp_[a-zA-Z0-9]{36}|AKIA[0-9A-Z]{16}" --include=".js" --include=".py" .
Prevention
Add to .gitignore: .env .key credentials. secrets.* *.pem
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install skylv-secret-detector - 安装完成后,直接呼叫该 Skill 的名称或使用
/skylv-secret-detector触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Skylv Secret Detector 是什么?
Scans code for leaked secrets, API keys, tokens, and passwords. Triggers: scan secrets, check api key, security scan, leaked token. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 52 次。
如何安装 Skylv Secret Detector?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install skylv-secret-detector」即可一键安装,无需额外配置。
Skylv Secret Detector 是免费的吗?
是的,Skylv Secret Detector 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Skylv Secret Detector 支持哪些平台?
Skylv Secret Detector 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Skylv Secret Detector?
由 SKY-lv(@sky-lv)开发并维护,当前版本 v1.0.0。