← 返回 Skills 市场
52yuanchangxing

Secret Exposure Gate

作者 vx:17605205782 · GitHub ↗ · v1.0.0 · MIT-0
darwinlinuxwin32 ✓ 安全检测通过
152
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install secret-exposure-gate
功能描述
在发布前检查目录中是否含秘钥、token、私有 URL、证书片段或凭证文件。;use for secrets, security, preflight workflows;do not use for 显示完整密钥值, 修改用户文件.
安全使用建议
This skill appears to be what it says: a local, read-only preflight scanner implemented in a Python script and templates. Before installing/using it: (1) Only run it against directories you expect it to read — it will open and scan text files under the provided path. (2) The script masks long-looking secrets matched by the 'secret_like' regex, but other matches (private URLs, command snippets) may be shown verbatim or partially; avoid pointing it at production secrets you cannot re-share. (3) Review and, if needed, extend the redaction rules (e.g., mask full URLs or additional secret patterns) and test on a non-sensitive sample. (4) Use --dry-run and inspect output locally; do not pipe results to external services without redaction. If the script ever attempts network access, asks for credentials, or an install spec appears that downloads code from an external URL, re-evaluate (those would change the assessment).
功能分析
Type: OpenClaw Skill Name: secret-exposure-gate Version: 1.0.0 The skill bundle is a legitimate security auditing tool designed to scan local directories for secrets, tokens, and high-risk command patterns (like 'curl|bash') before publication. The core logic in 'scripts/run.py' uses standard Python libraries and regex to identify potential leaks, and it includes a specific function to mask detected secrets in the output to prevent further exposure. The instructions in 'SKILL.md' and the implementation are consistent with the stated purpose, showing no signs of data exfiltration, unauthorized execution, or malicious intent.
能力评估
Purpose & Capability
Name/description (secret preflight scanning) align with required binaries (python3), included scripts, and resource files. The skill operates on a user-supplied path and only needs local filesystem access — this is proportionate to the stated purpose.
Instruction Scope
SKILL.md restricts behavior (do not display full keys, do not modify files) and instructs running the local script or generating output from templates. The provided script follows those boundaries overall, but its redaction is inconsistent: the 'secret_like' pattern is masked, but other findings (e.g., private URLs, command snippets) may be emitted verbatim (snippet truncated to 160 chars). This is a minor mismatch with the 'do not display full key values' guideline and could expose sensitive URL paths or fragments in some cases.
Install Mechanism
No install spec; script is instruction-only with a local Python script included. This is low-risk: nothing is downloaded or installed automatically. The only runtime requirement is python3 (declared).
Credentials
No environment variables, credentials, or config paths are requested. The script reads files from the user-provided directory only, which matches the scanning purpose.
Persistence & Privilege
Skill is not always:true, does not request persistent privileges, and contains no code that modifies other skills or global agent settings. Autonomous invocation is allowed (default) but not excessive given the skill's local audit role.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install secret-exposure-gate
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /secret-exposure-gate 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of secret-exposure-gate. - Scans directories for secrets, tokens, private URLs, certificate fragments, or credential files before publishing. - Focuses on security and preflight audit workflows. - Produces structured outputs: scan overview, suspected secrets, high-risk files, remediation/advice. - Does not display full secret values or modify user files. - Offers both review drafts and actionable checklists, always within defined security boundaries.
元数据
Slug secret-exposure-gate
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Secret Exposure Gate 是什么?

在发布前检查目录中是否含秘钥、token、私有 URL、证书片段或凭证文件。;use for secrets, security, preflight workflows;do not use for 显示完整密钥值, 修改用户文件. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 152 次。

如何安装 Secret Exposure Gate?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install secret-exposure-gate」即可一键安装,无需额外配置。

Secret Exposure Gate 是免费的吗?

是的,Secret Exposure Gate 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Secret Exposure Gate 支持哪些平台?

Secret Exposure Gate 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(darwin, linux, win32)。

谁开发了 Secret Exposure Gate?

由 vx:17605205782(@52yuanchangxing)开发并维护,当前版本 v1.0.0。

💬 留言讨论