Security

ClawVet

Try it

Use before installing, trusting, or running any third-party OpenClaw skill, and when the user says "scan this skill", "is this skill safe", "vet/check this skill", "should I install this", "audit my skills", or "clawvet". Also use when reviewing a SKILL.md pulled from ClawHub or an untrusted source.

What it does

Use before installing, trusting, or running any third-party OpenClaw skill, and when the user says "scan this skill", "is this skill safe", "vet/check this skill", "should I install this", "audit my skills", or "clawvet". Also use when reviewing a SKILL.md pulled from ClawHub or an untrusted source.

The skill document

clawvet

Safety linter for OpenClaw skills. Analyzes skills for issues before installation.

Usage

Scan a local skill:

npx clawvet scan ./skill-folder/

JSON output for CI/CD:

npx clawvet scan ./skill-folder/ --format json

Audit all installed skills:

npx clawvet audit

Watch mode — auto-block risky installs:

npx clawvet watch --threshold 50

Report a bug or send feedback (opens a prefilled GitHub issue):

npx clawvet feedback

Analysis Passes

  1. Skill Parser — Extracts YAML frontmatter, code blocks, URLs, and domains
  2. Static Analysis — 57 pattern rules across multiple categories
  3. Metadata Validator — Checks for undeclared binaries, env vars, missing descriptions
  4. Dependency Checker — Flags auto-install and global package installs
  5. Typosquat Detector — Levenshtein distance against popular skill names
  6. Semantic Analysis — AI-powered contextual analysis (optional; bring your own Anthropic, OpenAI, Zhipu, or local Ollama key)

What's New in v0.9

  • Prompt-injection hardening — a scanned skill can no longer talk its way past the AI analysis pass; an override attempt is now reported as a finding.
  • Signed releases — the npm package ships with provenance, so you can verify it was built from this repo (npm audit signatures).
  • 57 detection patterns across 13 categories.

What's New in v0.7–v0.8

  • Cross-file payload assembly (0.8.0) — folder scans now assemble files referenced from SKILL.md (e.g. a setup.sh) before analysis, so a payload split across multiple files can no longer evade detection.
  • Robust semantic parsing (0.8.0) — semantic analysis correctly parses LLM responses wrapped in markdown code fences.
  • Path-traversal hardening (0.7.0)--remote slugs are validated and URL-encoded before fetching from ClawHub.
  • Grade summaries (0.7.0)audit prints a final grade summary and flags D/F skills for review; risk scores are rounded to integers.
  • Shell-free CLI (0.7.2) — replaced exec() in feedback/scan --subscribe with a shell-free execFile opener.
  • Privacy-preserving telemetry (0.7.2–0.7.3) — skill names are SHA-256 hashed before sending; audit emits a session-level completion event. Still opt-in.
  • Accurate skill naming (0.7.1) — skills with no name in frontmatter report the containing folder name instead of unknown.

What's New in v0.6

  • Reliable telemetry — Telemetry now awaits before exit, so no data is lost.
  • CI-safe — Opt-in prompt is skipped in non-TTY environments (piped stdin, CI).
  • Less noise — Feedback CTA shows every 5th scan instead of every scan.
  • Trust badges — Generate trust badges for skill READMEs with npx clawvet badge.
  • Ban lists — Block skills by name/author/slug via .clawvetban files.
  • Confidence scores — Each finding shows a confidence percentage. Risk scores are weighted accordingly.
  • Fix suggestions — Every finding includes an actionable remediation in terminal and SARIF output.
  • Content-hash caching — Repeat scans of unchanged files are near-instant.
  • Trust badges — Run npx clawvet badge ./skill/ to generate a shields.io trust badge for your README.
  • Ban list — Create a .clawvetban file to block skills by name, author, or slug.
  • Feedback — Run npx clawvet feedback to open a prefilled GitHub issue.

Note on Monorepo

The clawvet npm package contains only the CLI scanner (packages/cli + packages/shared). It is a stateless tool with no databases, no authentication, and no network access by default. The repository also contains an optional web dashboard (apps/api + apps/web) for self-hosted deployments — these are NOT included in the npm package.

Risk Grades

ScoreGradeAction
0-10ASafe to install
11-25BSafe to install
26-50CReview before installing
51-75DReview carefully
76-100FDo not install

Related skills

Use before installing, enabling, or running any third-party OpenClaw skill, and when the user says "install this skill", "is this skill safe", "scan/vet/check this skill", or "should I trust this". Also use when a skill is pulled from ClawHub or any untrusted source.

2 installs

Vet ClawHub skills for security and utility before installation. Use when considering installing a ClawHub skill, evaluating third-party code, or assessing w...

4 installs1 stars

Security-first skill vetting for AI agents. Use before installing any skill from ClawHub, GitHub, or other sources. Checks for red flags, permission scope, and suspicious patterns.

5 installs

OpenClaw 技能自动化审计器 Pro(安全/性能/质量三维度 38 条规则)。基于 spclaudehome v1.0.0 fork 深度升级,新增 JSON 报告、CI 退出码、豁免机制、severity-cap 引擎适配。安装第三方技能前必跑。触发词:vet skill, audit skill, 安全审计, 扫描 skill, skill 检查.

2 installs

Audit a named ClawHub skill or skill URL before installation by combining OpenClaw verification with bounded static analysis. Use when the user explicitly asks whether a skill is safe or requests a pre-install review; report evidence and uncertainty instead of treating a score as proof.

39 installs

Use when checking for security vulnerabilities in NanoClaw skills, before installing new skills, or when asked about security advisories affecting the bot

48 installs