auditor-skill
БесплатноЗапускает вложенные скриптыНе проверенClawGuard Enterprise-grade Security Auditor - Advanced SAST, Semantic Intent Analysis, Supply Chain Security, and ML-based Anomaly Detection for OpenClaw Skills
от 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.mdfile 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.riskfield 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 executionchild_process.exec,subprocess.Popen- command executioncurlorwgetwith 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, |
Установить auditor-skill в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
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 запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic