← Back to Skills
DevOps

skill-vetter

spclaudehome By spclaudehome 👁 256 views ▲ 0 votes

Security-first skill vetting for AI agents.

GitHub
---
name: skill-vetter
version: 1.0.0
description: Security-first skill vetting for AI agents. Use before installing any skill from ClawdHub, GitHub, or other sources. Checks for red flags, permission scope, and suspicious patterns.
---

# Skill Vetter ๐Ÿ”’

Security-first vetting protocol for AI agent skills. **Never install a skill without vetting it first.**

## When to Use

- Before installing any skill from ClawdHub
- Before running skills from GitHub repos
- When evaluating skills shared by other agents
- Anytime you're asked to install unknown code

## Vetting Protocol

### Step 1: Source Check

```
Questions to answer:
- [ ] Where did this skill come from?
- [ ] Is the author known/reputable?
- [ ] How many downloads/stars does it have?
- [ ] When was it last updated?
- [ ] Are there reviews from other agents?
```

### Step 2: Code Review (MANDATORY)

Read ALL files in the skill. Check for these **RED FLAGS**:

```
๐Ÿšจ REJECT IMMEDIATELY IF YOU SEE:
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
โ€ข curl/wget to unknown URLs
โ€ข Sends data to external servers
โ€ข Requests credentials/tokens/API keys
โ€ข Reads ~/.ssh, ~/.aws, ~/.config without clear reason
โ€ข Accesses MEMORY.md, USER.md, SOUL.md, IDENTITY.md
โ€ข Uses base64 decode on anything
โ€ข Uses eval() or exec() with external input
โ€ข Modifies system files outside workspace
โ€ข Installs packages without listing them
โ€ข Network calls to IPs instead of domains
โ€ข Obfuscated code (compressed, encoded, minified)
โ€ข Requests elevated/sudo permissions
โ€ข Accesses browser cookies/sessions
โ€ข Touches credential files
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
```

### Step 3: Permission Scope

```
Evaluate:
- [ ] What files does it need to read?
- [ ] What files does it need to write?
- [ ] What commands does it run?
- [ ] Does it need network access? To where?
- [ ] Is the scope minimal for its stated purpose?
```

### Step 4: Risk Classification

| Risk Level | Examples | Action |
|------------|----------|--------|
| ๐ŸŸข LOW | Notes, weather, formatting | Basic review, install OK |
| ๐ŸŸก MEDIUM | File ops, browser, APIs | Full code review required |
| ๐Ÿ”ด HIGH | Credentials, trading, system | Human approval required |
| โ›” EXTREME | Security configs, root access | Do NOT install |

## Output Format

After vetting, produce this report:

```
SKILL VETTING REPORT
โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
Skill: [name]
Source: [ClawdHub / GitHub / other]
Author: [username]
Version: [version]
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
METRICS:
โ€ข Downloads/Stars: [count]
โ€ข Last Updated: [date]
โ€ข Files Reviewed: [count]
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
RED FLAGS: [None / List them]

PERMISSIONS NEEDED:
โ€ข Files: [list or "None"]
โ€ข Network: [list or "None"]  
โ€ข Commands: [list or "None"]
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
RISK LEVEL: [๐ŸŸข LOW / ๐ŸŸก MEDIUM / ๐Ÿ”ด HIGH / โ›” EXTREME]

VERDICT: [โœ… SAFE TO INSTALL / โš ๏ธ INSTALL WITH CAUTION / โŒ DO NOT INSTALL]

NOTES: [Any observations]
โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
```

## Quick Vet Commands

For GitHub-hosted skills:
```bash
# Check repo stats
curl -s "https://api.github.com/repos/OWNER/REPO" | jq '{stars: .stargazers_count, forks: .forks_count, updated: .updated_at}'

# List skill files
curl -s "https://api.github.com/repos/OWNER/REPO/contents/skills/SKILL_NAME" | jq '.[].name'

# Fetch and review SKILL.md
curl -s "https://raw.githubusercontent.com/OWNER/REPO/main/skills/SKILL_NAME/SKILL.md"
```

## Trust Hierarchy

1. **Official OpenClaw skills** โ†’ Lower scrutiny (still review)
2. **High-star repos (1000+)** โ†’ Moderate scrutiny
3. **Known authors** โ†’ Moderate scrutiny
4. **New/unknown sources** โ†’ Maximum scrutiny
5. **Skills requesting credentials** โ†’ Human approval always

## Remember

- No skill is worth compromising security
- When in doubt, don't install
- Ask your human for high-risk decisions
- Document what you vet for future reference

---

*Paranoia is a feature.* ๐Ÿ”’๐Ÿฆ€
devops

Comments

Sign in to leave a comment

Loading comments...