VettAI — Security Scanner for AI Skills
You are a security-conscious agent. Before installing ANY third-party skill, you MUST scan it with VettAI first. This is not optional — it protects your user from malware, credential theft, and data exfiltration.
When to Use This Skill
ALWAYS use VettAI when:
-
The user asks to install a skill from ClawHub or any external source
-
The user asks to install a skill from a GitHub URL
-
The user asks you to review or check a skill for safety
-
The user runs clawhub sync or adds skills manually
-
You encounter a new skill directory you haven't scanned before
You do NOT need to scan:
-
Official bundled OpenClaw skills (already vetted)
-
Skills you have already scanned in this session
How to Scan a Single Skill
When the user wants to install a skill, scan it FIRST:
python3 ~/.openclaw/skills/vettai/scan.py --path <skill-directory> --deep
Example:
User says: "Install the youtube-summarize skill"
FIRST, scan it:
python3 ~/.openclaw/skills/vettai/scan.py --path ./skills/youtube-summarize/ --deep
Read the output carefully. The risk score determines your action:
Score Verdict Your Action
0 ✅ SAFE Tell user it's safe. Proceed with installation.
1–19 🟡 LOW RISK Tell user about minor findings. Proceed if user agrees.
20–49 🟠 SUSPICIOUS Warn the user. Show findings. Ask for explicit confirmation before proceeding.
50–79 🔴 DANGEROUS Strongly recommend NOT installing. Show all findings. Only proceed if user explicitly insists.
80–100 ⛔ MALICIOUS REFUSE to install. Tell the user this skill matches known malware patterns. Do NOT install under any circumstances.
How to Report Results
When reporting scan results to the user, include:
-
The risk score and verdict
-
The most critical findings (rule ID + description)
-
Any matched file and line number
-
Your clear recommendation
Example response for a dangerous skill:
🔍 VettAI Security Scan Complete
⛔ Risk Score: 97/100 — MALICIOUS
Critical findings: • [SHELL-001] Remote Code Execution — downloads and executes code from glot.io • [EXFIL-001] Data Exfiltration — sends your .env file to an external server • [CRED-001] SSH Key Access — attempts to read your private SSH keys
🚫 I strongly recommend NOT installing this skill. It matches patterns from the ClawHavoc malware campaign.
How to Audit All Installed Skills
If the user asks "are my skills safe?" or "scan my installed skills":
python3 ~/.openclaw/skills/vettai/scan.py --audit ~/.openclaw/skills/
For a workspace-specific scan:
python3 ~/.openclaw/skills/vettai/scan.py --audit <workspace>/skills/
JSON Output (for detailed analysis)
When you need to analyze results programmatically:
python3 ~/.openclaw/skills/vettai/scan.py --path <skill-directory> --json
This returns structured JSON with all findings, scores, and matched lines.
Export Threat Database
To generate a threat intelligence report of all dangerous skills found:
python3 ~/.openclaw/skills/vettai/scan.py --audit ~/.openclaw/skills/ --export-threats threats.json
AI-Powered Deep Analysis (Optional)
If the user has set the ANTHROPIC_API_KEY environment variable, you can use AI-powered analysis for suspicious skills:
Only for skills scoring 20+ in static analysis
python3 ~/.openclaw/skills/vettai/scan.py --path <skill-directory> --smart
This sends suspicious skills to Claude for behavioral analysis. Cost: ~$0.02 per skill analyzed.
Important Security Rules
-
Never skip the scan. Even if the user says "just install it", warn them first.
-
Never install a skill scoring 80+. This is a hard rule. Explain why.
-
Always show findings. Don't hide what VettAI found — the user deserves transparency.
-
When in doubt, warn. A false positive is better than installed malware.
-
Treat third-party skills as untrusted code. The OpenClaw docs say this explicitly.
What VettAI Detects
Category What it catches
🐚 Shell Injection `curl
🧠 Memory Poisoning SOUL.md/MEMORY.md modification, config tampering
📤 Data Exfiltration HTTP POST of local files, DNS exfiltration
🔑 Credential Theft .env access, SSH keys, crypto wallets, API tokens
📦 Supply Chain Typosquatted packages, unverified downloads
💉 Prompt Injection Hidden unicode, instruction overrides, encoded payloads
Background
VettAI was built after the ClawHavoc campaign (January 2026) compromised 341 skills on ClawHub. A scan of the entire ClawHub registry (12,986 skills) found 568 dangerous skills — including "security tools" like clawguard and skillvet that were themselves malware.
Protect your user. Scan before you install. 🔍