ClawSkillGuard
by @xeonai44
Security scanner for OpenClaw skills. Scans SKILL.md files and scripts for prompt injection, data exfiltration, malicious patterns, and unauthorized network...
clawhub install clawskillguardπ About This Skill
name: clawskillguard description: Security scanner for OpenClaw skills. Scans SKILL.md files and scripts for prompt injection, data exfiltration, malicious patterns, and unauthorized network calls. Use when a user asks to audit a skill, check skill security, scan for malicious code, verify skill safety, or before installing an untrusted skill.
ClawSkillGuard β OpenClaw Skill Security Scanner
Overview
ClawGuard scans OpenClaw skills for security risks before you install or run them. It analyzes SKILL.md files, scripts, and supporting files for malicious patterns, data exfiltration, prompt injection, and other threats.
100% local. Zero network calls. Your skills never leave your machine.
When to Use
Scan Workflow
1) Locate the Skill
Ask the user for the skill path, or scan common locations:
~/.openclaw/skills// (ClawHub installs)~/.openclaw/workspace/skills// (workspace skills)If no path given, offer to scan all installed skills.
2) Run the Scanner
python3 /scripts/scan.py [--format text|json] [--severity low|medium|high|critical]
The scanner checks:
3) Present Results
Format findings clearly:
For each finding, include:
4) Recommendation
Give a clear verdict:
Severity Levels
| Level | Description | Examples | |-------|-------------|----------| | π΄ CRITICAL | Active malicious behavior | Data exfil, credential theft, destructive commands | | π HIGH | Likely malicious intent | Hidden instructions, obfuscated code, unauthorized network calls | | π‘ MEDIUM | Suspicious but possibly benign | Unusual file access, broad permissions, external downloads | | π’ LOW | Minor concerns | Verbose logging, debug mode, minor policy violations |
Detection Patterns
Prompt Injection (SKILL.md)
Malicious Scripts
Supply Chain
Example Usage
User: "Is this skill safe to install?"
Agent: Runs ClawGuard scan β presents findings β gives verdict
User: "Scan all my installed skills"
Agent: Scans ~/.openclaw/skills/*/ β consolidated security report