The only pre-install security gate for ClawHub skills.
| VirusTotal (ClawHub built-in) | skillscanner (Gen Digital) | skill-guard | |
|---|---|---|---|
| --- | --- | --- | --- |
| When it runs | After publish (server-side) | On-demand lookup | Before install (client-side) |
| What it checks | Malware signatures | Their database | Actual skill content |
| Prompt injections | ❌ | ❌ | ✅ |
| Data exfiltration URLs | ❌ | ❌ | ✅ |
| Hidden instructions | ❌ | ❌ | ✅ |
| AI-specific threats | ❌ | ❌ | ✅ |
| Install blocking | ❌ | ❌ | ✅ |
VirusTotal catches known malware binaries — but won't flag .
skillscanner checks if Gen Digital has reviewed it — but can't scan new or updated skills.
skill-guard uses mcp-scan (Invariant Labs, acquired by Snyk) to analyze what's actually in the skill, catches AI-specific threats, and blocks install if issues are found.
Skills can contain:
One bad skill = compromised agent. Your agent trusts skills implicitly.
# Instead of: clawhub install some-skill
./scripts/safe-install.sh some-skill
skill-guard:
/tmp/) — never touches your real skills folderReal example — skill-guard flagged this malicious skill:
● [E004]: Prompt injection detected (high risk)
● [E006]: Malicious code pattern detected
● [W007]: Insecure credential handling
● [W008]: Machine state compromise attempt
● [W011]: Third-party content exposure
VirusTotal: 0/76 engines. mcp-scan caught what antivirus missed.
# Secure install (recommended)
./scripts/safe-install.sh <skill-slug>
# With version
./scripts/safe-install.sh <skill-slug> --version 1.2.3
# Force overwrite
./scripts/safe-install.sh <skill-slug> --force
| Code | Meaning | Action |
|---|---|---|
| ------ | --------- | -------- |
0 | Clean | Skill installed ✓ |
1 | Error | Check dependencies/network |
2 | Threats found | Skill quarantined in /tmp/, review before deciding |
Skill stays in /tmp/skill-guard-staging/skills/ (quarantined). You can:
mv /tmp/skill-guard-staging/skills/ ~/.openclaw/workspace/skills/ rm -rf /tmp/skill-guard-staging/clawhub CLI — npm i -g clawhubuv — curl -LsSf https://astral.sh/uv/install.sh | shYour agent has access to your files, messages, maybe your whole machine. One malicious skill can:
Trust, but verify. Scan before you install.
共 1 个版本