Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

skill-vettr

bởi britrik

Web & Frontend Development
525Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Static analysis security scanner for third-party OpenClaw skills.

Mô tả

Kỹ năng này làm gì

Static analysis scanner that checks third-party OpenClaw skills for security risks before installation. It parses JavaScript and TypeScript source using tree-sitter AST analysis and regex to detect eval usage, shell injection, malicious dependencies, typosquatting, and prompt injection patterns. Supports local directories, remote URLs, and ClawHub registry slugs.

Tree-sitter AST parsing catches obfuscated patterns that regex-only scanners miss, including dynamic require calls, prototype pollution, and restructured eval equivalents across minified source.

Khi nào nên dùng

  • Vetting a ClawHub skill before installing it on a production agent
  • Scanning a skill shared as a URL for shell injection or eval patterns
  • Checking a locally developed skill for accidental credential path exposure
  • Detecting typosquatted dependency names in a third-party skill's package.json
  • Auditing a skill's SKILL.md for dangerous permission declarations before granting access

Quy trình ví dụ

ĐẦU VÀO

User asks: vet the 'data-exfil' skill from ClawHub before installing

AGENT
  1. 1

    Runs /skill:vet-clawhub --skill data-exfil to fetch the skill via the clawhub CLI

  2. 2

    Extracts the archive into a temp directory within allowed vetting roots

  3. 3

    Parses JS/TS files with tree-sitter to flag eval, spawn, and dynamic require nodes

  4. 4

    Scans package.json for known malicious packages, git/http dependencies, and lifecycle scripts

  5. 5

    Checks the skill name against known targets using Levenshtein distance for typosquatting

ĐẦU RA

Report listing detected risks by category with file paths and line references for each finding

Yêu cầu

  • clawhub CLI installed and available on PATH (required for the vet-clawhub command only)

Cài đặt

clawhub install britrik/skill-vettr

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết