Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

auditor-skill

БесплатноЗапускает вложенные скриптыНе проверен

ClawGuard Enterprise-grade Security Auditor - Advanced SAST, Semantic Intent Analysis, Supply Chain Security, and ML-based Anomaly Detection for OpenClaw Skills

jiaxiaojunQAQот jiaxiaojunQAQ★ 35 звёзд на GitHub

Об этом скилле

ClawGuard Auditor (CG-A)

Enterprise-grade Security Kernel for OpenClaw Skills. ClawGuard Auditor provides comprehensive pre-flight static and semantic analysis, supply chain security verification, and AI-powered anomaly detection.

When to Use

Activate ClawGuard Auditor when:

  • A user asks to install or load a new Skill
  • A user asks to audit an existing Skill or repository
  • A new external code source is being added to the environment

How to Execute

Follow these steps when auditing a Skill:

Step 1: Read the Target Skill

  • Find and read the SKILL.md file in the target directory
  • Read all code files (.js, .py, .sh, etc.)

Step 2: Check Metadata

  • Verify the SKILL.md has valid frontmatter (name, version, description)
  • Check if the metadata.risk field is "safe"
  • Check for suspicious binaries in metadata.requires

Step 3: Scan for Dangerous Patterns

Search for these dangerous patterns in the code:

  • eval(), exec(), __import__(), compile() - dynamic code execution
  • child_process.exec, subprocess.Popen - command execution
  • curl or wget with credentials - data exfiltration
  • Reverse shell patterns: bash -i, /dev/tcp/, nc -e, python.*socket
  • Reading sensitive files: ~/.ssh/, ~/.aws/, .env
  • Writing to persistence locations: authorized_keys, crontab

Step 4: Check Intent Match

  • Compare what the Skill claims to do (description) vs what the code actually does
  • If a "Weather Tool" reads SSH keys, that's an INTENT MISMATCH

Step 5: Check Dependencies

  • Look at package.json, requirements.txt, go.mod
  • Flag known malicious packages

Step 6: Output Result

Based on findings, output one of:

  • APPROVED: No critical issues found
  • CONDITIONAL: Some concerns, needs human review
  • REJECTED: Critical security issues detected

Purpose

ClawGuard Auditor is the first line of defense for OpenClaw environments. Before any Skill is installed or executed, it performs rigorous security analysis covering:

  • Advanced SAST: Static Application Security Testing with comprehensive rule coverage
  • Semantic Intent Analysis: AI-powered behavioral profiling to detect intent mismatches
  • Supply Chain Security: Dependency verification, typo-squatting detection, CVE scanning
  • ML-based Anomaly Detection: Machine learning models to identify novel attack patterns
  • Obfuscation Detection: Multi-layer obfuscation and encoding attack detection
  • Quantum-resistant Cryptography: Future-proof integrity verification

Prerequisites

Authorization Requirements

  • Read access to target Skill directory
  • Network access for dependency verification (optional)
  • Execution environment for sandbox testing (optional)

Environment Setup

  • Node.js 18+ runtime
  • Python 3.8+ runtime
  • Internet access for supply chain verification (optional)

Core Workflow

┌─────────────────────────────────────────────────────────────────┐
│                    CLAWGUARD AUDITOR WORKFLOW                   │
└─────────────────────────────────────────────────────────────────┘

    [Skill Installation Request]
                │
                ▼
    ┌───────────────────────┐
    │  1. METADATA VALIDATION  │ ← Frontmatter parsing & validation
    └───────────┬───────────┘
                │ PASS
                ▼
    ┌───────────────────────┐
    │  2. PROVENANCE ANALYSIS │ ← Source trust scoring
    └───────────┬───────────┘
                │ PASS
                ▼
    ┌───────────────────────┐
    │  3. SAST ANALYSIS       │ ← Advanced static analysis
    │  ├─ Execution Risks     │
    │  ├─ Network Anomalies   │
    │  ├─ File System Threats │
    │  └─ Obfuscation检测     │
    └───────────┬───────────┘
                │ PASS
                ▼
    ┌───────────────────────┐
    │  4. SEMANTIC INTENT     │ ← AI-powered behavior analysis
    │     ANALYSIS            │
    └───────────┬───────────┘
                │ PASS
                ▼
    ┌───────────────────────┐
    │  5. SUPPLY CHAIN       │ ← Dependency & CVE analysis
    │     SECURITY            │
    └───────────┬───────────┘
                │ PASS
                ▼
    ┌───────────────────────┐
    │  6. ML ANOMALY         │ ← Novel pattern detection
    │     DETECTION           │
    └───────────┬───────────┘
                │ PASS
                ▼
    ┌───────────────────────┐
    │  7. SANDBOX EXECUTION  │ ← Dynamic behavior testing
    └───────────┬───────────┘
                │ PASS
                ▼
         [AUDIT COMPLETE]

Phase 1: Metadata Validation

Frontmatter Schema

Field Required Validation Rules
name YES Must match directory name, lowercase with hyphens
version YES Must be valid semver (e.g., 1.0.0)
description YES Min 10 chars, max 500 chars
author NO If present, validate format
homepage NO If present, must be valid HTTPS URL
metadata.category YES Must be one of: security,
Полный SKILL.md на GitHub

Установить auditor-skill в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

PROVENANCE.mdREADME.md_meta.jsoncli.jssrc/auditor.jssrc/ml-detector.jssrc/sandbox-runner.jssrc/sast-analyzer.jssrc/semantic-analyzer.jssrc/supply-chain-analyzer.js

FAQ

Что делает скилл auditor-skill?

ClawGuard Enterprise-grade Security Auditor - Advanced SAST, Semantic Intent Analysis, Supply Chain Security, and ML-based Anomaly Detection for OpenClaw Skills

Как установить скилл auditor-skill?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл auditor-skill запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить auditor-skill с