ClawVet
Offline static and install-time security scanner for AI agent skills, rules, hooks, and MCP configs.
At a Glance
MIT-licensed ClawVet CLI, scanner engine and browser playground, free to use, modify and distribute.
Engagement
Available On
Alternatives
Listed Nov 2026
About ClawVet
ClawVet is an MIT-licensed security scanner from MohibShaikh that vets AI agent skills, rules, hooks, and MCP configurations for OpenClaw, Claude Code, Cursor, Codex, and Windsurf. It ships as an npm CLI, a GitHub Action, a pre-commit hook, and a browser playground that scans locally via WebAssembly Tree-sitter. The latest release listed is v0.18.0.
What It Is
ClawVet analyzes a SKILL.md and the scripts it bundles for prompt injection, credential theft, remote code execution, typosquatting, and rug-pull updates. It runs offline by default, with optional LLM (--semantic) and OSV.dev (--osv) passes. Each scan outputs a 0-100 risk score, a letter grade, a permissions summary, and severity-ranked findings.
How the Scan Works
The README describes seven passes: skill parsing, regex static rules, Tree-sitter AST taint analysis for Python, JavaScript/TypeScript, and shell (code is never executed), metadata validation, dependency checks, typosquat detection against popular ClawHub skills, and an opt-in LLM judge. Permissions output lists connected sites, credential stores, secret env vars, persistence locations, and high-risk behaviours.
Install-Time Gate and CI
clawvet gate hooks into OpenClaw's security.installPolicy so staged skills are vetted before installation completes, mapping scores to allow, warn, or block. On updates it compares permissions with the previously allowed install and asks when new secret reads, persistence, or risky sites appear. clawvet init configures the OpenClaw policy and a Claude Code PostToolUse guard. The GitHub Action can upload SARIF and post a Permissions Diff comment on pull requests.
Benchmarks
The project reports its own results: on SkillTrustBench v1.1 (556 held-out skills), clawvet gate --semantic scored 0.833 accuracy and 0.770 macro F1, and its v0.17.0 rug-pull detection caught 95.2% of code-injection rug-pulls on a held-out half. These are vendor-published figures.
Community Discussions
Be the first to start a conversation about ClawVet
Share your experience with ClawVet, ask questions, or help others learn from your insights.
Pricing
Open Source (MIT)
MIT-licensed ClawVet CLI, scanner engine and browser playground, free to use, modify and distribute.
- MIT License
- CLI: npm install -g clawvet
- Static passes 1-6 are offline and free
- Browser playground runs 100% locally via WebAssembly; nothing uploaded
- GitHub Action and pre-commit hook
Capabilities
Key Features
- In-browser playground using WebAssembly Tree-sitter; nothing uploaded
- Tree-sitter AST taint analysis for Python, JS/TS, and shell
- Regex static rules for RCE, reverse shells, credential theft, and exfiltration
- Permissions extraction (sites, credential stores, secret env vars, persistence)
- 0-100 risk score with A-F grade
- Install-time gate for OpenClaw installPolicy
- Rug-pull permission diff on skill updates
- Typosquat detection
- Optional LLM judge (--semantic) and OSV.dev check (--osv)
- Baselines for accepted findings
- GitHub Action with SARIF upload and PR Permissions Diff
- Pre-commit hook
- JSON output for CI
- Machine-wide audit of skills, rules, hooks, and MCP configs
