360 Secure SkillHub
360 安全技能中心

Release Guard

在发布前对选定的 Skill 文件夹做范围有限的本地检查:确认 SKILL.md 存在、文件数量适中、无无关目录、文档以英文为主、提示疑似密钥与 eval 等风险写法,并输出 PASS/WARN/FAIL 报告;不做发布、联网或依赖漏洞扫描。

harrylabsj
harrylabsj
热度 54.01
最近更新 2026-06-06 05:11:04
分类:安全依赖:代码执行 / 读写文件应用场景:代码审查 / DevOps / 报告撰写 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add release-guard
Metadata
name
Release Guard
slug
release-guard
version
1.0.1
description
Run narrow, local pre-publish checks for an OpenClaw skill folder without dynamic shell evaluation, network access, publishing, or destructive actions.

Release Guard

Use this skill before publishing an OpenClaw skill. It performs a narrow, local readiness review of a selected skill folder and returns a checklist-style report.

This skill does not publish, upload, delete, modify, install dependencies, or contact external services. It only reads the chosen folder and reports common release risks.

Checks covered

  • SKILL.md exists.
  • The file count is small enough for a reviewable ClawHub package.
  • Obvious unrelated workspace folders are absent.
  • Documentation is mostly English.
  • Basic secret-like terms are reported for manual review.
  • Shell scripts are checked for risky eval usage.

Checks not covered

Release Guard is not a full security audit. It does not guarantee that a skill is safe, does not run dependency vulnerability scans, and does not replace human review.

Safe usage

bash scripts/release-check.sh /path/to/skill-folder

The path is handled as data and is always quoted. The script avoids dynamic shell evaluation.

Output

Return a compact report with:

  • PASS/WARN/FAIL lines
  • a final status
  • specific files to review
  • recommended next steps before publishing

Human review rule

If the script reports secrets, unrelated folders, broad execution claims, or risky shell patterns, stop and review manually before publishing.