← 返回
安全合规 中文

Openclaw Skill Scanner

Security gate for OpenClaw AgentSkills. Scans folder/ClawHub skills with cisco-ai-defense/skill-scanner before installation. Supports manual scans, staged in...
OpenClaw AgentSkills安全网关。安装前使用cisco-ai-defense/skill-scanner扫描folder/ClawHub技能。支持手动扫描、暂存...
jason-allen-oneal
安全合规 clawhub v1.0.2 1 版本 100000 Key: 无需
★ 2
Stars
📥 1,351
下载
💾 84
安装
1
版本
#latest

概述

Skill Scanner Guard

Harden OpenClaw’s skill supply chain:

  • Scan skills with cisco-ai-defense/skill-scanner
  • Block only on High/Critical
  • Allow Medium/Low/Info but warn
  • Auto-scan on changes to ~/.openclaw/skills
  • Quarantine failing skills to ~/.openclaw/skills-quarantine

Quick start

Install skill-scanner (repo + uv env)

cd "$HOME/.openclaw/workspace"
# or wherever you keep repos

git clone https://github.com/cisco-ai-defense/skill-scanner
cd skill-scanner
CC=gcc uv sync --all-extras

Note: some environments try gcc-12 while building yara-python; forcing CC=gcc avoids that.

Workflows

1) Scan all user skills (manual)

User skills live at:

  • ~/.openclaw/skills

Run:

$HOME/.openclaw/skills/skill-scanner-guard/scripts/scan_openclaw_skills.sh

Outputs go to:

  • /home/rev/.openclaw/workspace/skill_scans/

2) Install a folder skill with scan gate (copy/clone workflow)

Use the wrapper instead of copying directly:

$HOME/.openclaw/skills/skill-scanner-guard/scripts/scan_and_add_skill.sh /path/to/skill-dir

Policy:

  • Block only if High/Critical exist (unless --force)
  • Still installs if only Medium/Low/Info exist, but prints a warning summary

3) Install from ClawHub with scan gate (staging install)

Install to a staging dir, scan, then copy into ~/.openclaw/skills only if allowed:

$HOME/.openclaw/skills/skill-scanner-guard/scripts/clawhub_scan_install.sh <slug>
# optionally
$HOME/.openclaw/skills/skill-scanner-guard/scripts/clawhub_scan_install.sh <slug> --version <version>

4) Auto-scan + quarantine on change (systemd user units)

Install the units (templates are in references/):

mkdir -p ~/.config/systemd/user
cp -a "$HOME/.openclaw/skills/skill-scanner-guard/references/openclaw-skill-scan."* ~/.config/systemd/user/

systemctl --user daemon-reload
systemctl --user enable --now openclaw-skill-scan.path

Behavior:

  • Any change under ~/.openclaw/skills/ triggers scripts/auto_scan_user_skills.sh
  • If High/Critical findings exist, the script moves failing skill directories to:

~/.openclaw/skills-quarantine/-

  • Reports are written to:

/home/rev/.openclaw/workspace/skill_scans/auto/

Inspect:

systemctl --user status openclaw-skill-scan.path
journalctl --user -u openclaw-skill-scan.service -n 100 --no-pager
ls -la ~/.openclaw/skills-quarantine

Bundled resources

scripts/

  • scan_openclaw_skills.sh: generate markdown reports for user + bundled skills
  • scan_and_add_skill.sh: scan candidate folder skill; install only if allowed
  • clawhub_scan_install.sh: stage-install from ClawHub, scan, then install
  • auto_scan_user_skills.sh: scan-all on ~/.openclaw/skills changes; quarantine High/Critical failures

references/

  • openclaw-skill-scan.path / openclaw-skill-scan.service: systemd --user path trigger units

版本历史

共 1 个版本

  • v1.0.2 当前
    2026-03-29 00:28 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

security-compliance

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,210 📥 265,994
security-compliance

OpenClaw Backup

alex3alex
备份与恢复 OpenClaw 数据。适用于创建备份、设置自动备份计划、从备份恢复或管理备份轮转。处理 ~/.openclaw 目录归档并包含适当的排除规则。
★ 89 📥 30,568

Active Defense Sentinal

jason-allen-oneal
用于OpenClaw、Hermes Agent、主机完整性以及OpenClaw技能供应链扫描的防御分诊技能。检测提示注入、会话漂移、上下文异常。
★ 0 📥 392