| name | clawguard |
| description | Scan AI agent skills for security threats — static analysis, LLM semantic analysis, prompt injection, attack chains, and Docker sandbox with honeypot traps. |
| metadata | {"openclaw":{"requires":{"bins":["clawguard"]},"install":[{"id":"node","kind":"node","package":"@dribgib/clawguard","bins":["clawguard"],"label":"Install ClawGuard (npm)"}]}} |
ClawGuard - Security Scanner for AI Agent Skills
Quick Start
clawguard scan ./my-skill
clawguard scan --deep ./my-skill
clawguard sandbox ./my-skill
clawguard scan ./skills/*
clawguard graph ./my-skill
clawguard config
Scan Modes
- Static Analysis: 60+ patterns for credential theft, code injection, persistence, obfuscation
- Semantic Analysis (
--deep): LLM-powered intent understanding via Claude/OpenAI/Ollama
- Sandbox (
sandbox): Docker container with honeypot credentials to catch runtime attacks
- Attack Chains: Multi-skill combination analysis for coordinated threats
- Credential Access: Detects access to ~/.ssh, ~/.aws, API keys, env vars
Output Formats
clawguard scan ./skill --format json
clawguard scan ./skill --format text
Config
Config lives at ~/.config/clawguard/config.json. Run clawguard config for interactive setup.
Set your LLM provider for semantic analysis:
- Anthropic (Claude) — recommended
- OpenAI
- Ollama (local, free)