简介
OpenClaw 技能供应链治理工具,支持风险扫描、分级管控与隔离恢复,帮助团队建立可信的技能准入机制。
原始描述
Supply-chain governance for OpenClaw skills: scan, assess, quarantine/restore.
通过你的 Agent 添加
安装目录:skillgate-gov/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: skillgate-gov
description: "Supply-chain governance for OpenClaw skills: scan, assess, quarantine/restore."
metadata: { "openclaw": { "emoji": "🛡️", "requires": { "bins": ["node", "npm"] }, "homepage": "https://github.com/skillgatesecurity/openclaw-skillgate" } }
SkillGate (Governance)
This skill teaches OpenClaw how to run SkillGate against a skills directory, generate evidence, and quarantine risky skills.
Quick Start (recommended)
We intentionally avoid global installs (npm i -g) to reduce supply-chain risk.
Use a pinned version via npx for deterministic behavior.
# Scan current workspace (read-only by default)
npx --yes @skillgate/openclaw-skillgate@0.1.3 gov_scan .
# Show a human-readable explanation for a finding
npx --yes @skillgate/openclaw-skillgate@0.1.3 gov_explain <EVIDENCE_JSON_PATH>
Provenance / How to verify what you run
# Verify package metadata
npm view @skillgate/openclaw-skillgate@0.1.3 name version license repository
npm view @skillgate/openclaw-skillgate@0.1.3 dist.tarball dist.integrity
# Optional: verify GitHub release & source
# Repo: https://github.com/skillgatesecurity/openclaw-skillgate
We intentionally avoid global installs (npm i -g) to reduce supply-chain risk.
Use a pinned version via npx for deterministic behavior.
# Scan current workspace (read-only by default)
npx --yes @skillgate/openclaw-skillgate@0.1.3 gov_scan .
# Show a human-readable explanation for a finding
npx --yes @skillgate/openclaw-skillgate@0.1.3 gov_explain <EVIDENCE_JSON_PATH>
# Verify package metadata
npm view @skillgate/openclaw-skillgate@0.1.3 name version license repository
npm view @skillgate/openclaw-skillgate@0.1.3 dist.tarball dist.integrity
# Optional: verify GitHub release & source
# Repo: https://github.com/skillgatesecurity/openclaw-skillgate
This package is published under the official @skillgate scope and built/released via GitHub Actions.
Permissions & Filesystem scope
- Network: not required for scanning local files (except fetching the npm package on first run).
- Default mode: read-only scan of the given directory.
- Writes (only when you explicitly run quarantine/restore commands):
- creates/updates evidence outputs under a local folder (e.g.
.skillgate/ or the specified output path)
- may quarantine a skill by moving/marking files within the target directory you pass in
- creates/updates evidence outputs under a local folder (e.g.
.skillgate/or the specified output path) - may quarantine a skill by moving/marking files within the target directory you pass in
It does not require secrets (no tokens/keys) and does not modify system-wide settings.
OpenClaw Plugin Commands
Once loaded as an OpenClaw plugin, these slash commands become available:
# scan all skills for risks (default: HIGH+)
/gov scan
# scan with all findings including LOW/INFO
/gov scan --all
# quarantine a specific skill
/gov quarantine <skillKey>
# restore a quarantined skill
/gov restore <skillKey>
# explain why a skill was flagged
/gov explain <skillKey>
# show governance status
/gov status
Risk Levels
Level
Auto Action
Description
CRITICAL
Quarantine
Shell injection, supply-chain attacks
HIGH
Disable
Dangerous patterns, external downloads
MEDIUM
Warn
Risky but not immediately dangerous
LOW/INFO
Log
Informational only
Local Development (optional)
| Level | Auto Action | Description |
|---|---|---|
| CRITICAL | Quarantine | Shell injection, supply-chain attacks |
| HIGH | Disable | Dangerous patterns, external downloads |
| MEDIUM | Warn | Risky but not immediately dangerous |
| LOW/INFO | Log | Informational only |
If you prefer a local dependency instead of npx:
npm i -D @skillgate/openclaw-skillgate@0.1.3
npx gov_scan .
Notes
Use this as the standard operating procedure for Skill supply-chain reviews.
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。