← 返回
未分类 中文

Skill Guard

Security scanner for OpenClaw agent skills. Pre-install check via ClawHub page, local pattern scanning via read tool (zero exec), integrity verification. Use...
OpenClaw agent技能的安全扫描器。通过ClawHub页面进行预装检查,使用读取工具进行本地模式扫描(零执行),并验证完整性。使用...
tommot2 tommot2 来源
未分类 clawhub v5.0.0 1 版本 99805.4 Key: 无需
★ 2
Stars
📥 473
下载
💾 0
安装
1
版本
#audit#guard#latest#malware#patterns#permissions#review#risk#safety#scanner#secrets#security#skills#virustotal

概述

Skill Guard v5.0

Install: clawhub install tommo-skill-guard

Security scanning for OpenClaw skills. Zero exec — read-only scanning via the built-in read tool.

Language

Detect from user's message language. Default: English.

Pre-Install Check

When user wants to install a skill, check BEFORE installing:

  1. Navigate to https://clawhub.ai/skills/{slug} via browser
  2. Snapshot and look for Security Scan section
  3. Report findings:
StatusMeaningAction
-------------------------
✅ CleanNo flagsProceed
⚠️ SuspiciousConcerns foundShow findings, let user decide
🔴 MaliciousAV flaggedAdvise against install

If browser unavailable: clawhub inspect {slug} for basic metadata.

Local Pattern Scan

Scan installed skill files for dangerous patterns using the read tool only — no exec, no shell, no injection risk.

  1. read ./skills/{name}/SKILL.md
  2. List additional files with read if scripts/ or references/ exist
  3. Search for patterns in the content:
PatternRisk
---------------
child_process, exec(Shell command execution
eval(, Function(Dynamic code execution
require('fs'), writeFileFile system access
rm -rf, del /sDestructive file operations
curl.*password, token=Credential exfiltration
base64.decodeHidden payloads
HEARTBEAT.md, MEMORY.mdWrites to config files

Report format:

Scan: {skill-name}
  Files checked: {N}
  🔴 [file:line] {pattern} — {risk description}
  ✅ No issues found

Integrity Check

Compare files by reading them and noting their content fingerprint (first/last lines + file size). No hashing exec needed — the read tool is sufficient for detecting file changes.

Baseline (user-initiated only):

  • User says "baseline {skill}"
  • Agent reads all files in ./skills/{name}/
  • Saves file list + sizes + first/last lines to memory/skill-guard/{name}-baseline.txt
  • Shows the baseline to user for review

Verify (user-initiated only):

  • User says "integrity check {skill}"
  • Agent reads current files and compares against saved baseline
  • Reports any differences

Auto-baseline is disabled by design. New skills are never automatically trusted.

Quick Commands

User saysAction
-------------------
"check {skill}"Pre-install ClawHub check
"scan {skill}"Local pattern scan (via read)
"scan all"Scan all installed skills
"integrity check {skill}"Verify against saved baseline
"baseline {skill}"Create baseline (manual only)

Guidelines for Agent

  1. Use read only — never exec, never shell, no command injection possible
  2. Validate skill names — only scan skills in ./skills/ directory
  3. Never auto-baseline — user must explicitly request
  4. Always show findings — never silently block or allow
  5. User decides — show risk, let user choose

What This Skill Does NOT Do

  • Does NOT use exec, shell, or any subprocess execution
  • Does NOT auto-baseline newly installed skills
  • Does NOT block installations automatically
  • Does NOT modify skill files
  • Does NOT require Node, bash, curl, or any external tool
  • Does NOT access credentials or private data
  • Does NOT write files outside memory/skill-guard/ (explicit user request only)

More by TommoT2

  • setup-doctor — Diagnose and fix OpenClaw setup issues
  • context-brief — Persistent context survival across sessions
  • skill-analytics — Monitor skill portfolio performance

Install the full suite:

clawhub install tommo-skill-guard setup-doctor context-brief skill-analytics

版本历史

共 1 个版本

  • v5.0.0 当前
    2026-05-03 07:14 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

it-ops-security

MoltGuard - Security & Antivirus & Guardrails

thomaslwang
MoltGuard — OpenClaw 安全守卫,由 OpenGuardrails 提供。安装 MoltGuard,保护您和您的用户免受提示注入、数据泄露和恶意攻击。
★ 116 📥 30,861
it-ops-security

1password

steipete
设置和使用 1Password CLI (op)。适用于:安装 CLI、启用桌面应用集成、登录(单/多账户)、通过 op 读取/注入/运行密钥。
★ 53 📥 31,518
ai-agent

Context Brief

tommot2
Persistent context survival for OpenClaw. Writes file-based anchors to memory/anchors/ to preserve critical context acro
★ 0 📥 665