返回顶部
s

skill-audit-framework

Structured security and quality audit framework for AI agent skills. Teaches you what to check before installing any skill.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.2.0
安全检测
已通过
93
下载量
0
收藏
概述
安装方式
版本历史

skill-audit-framework

# Skill Auditor 🔍 A structured framework that teaches your agent how to audit ClawHub and MCP skills before you install them. Not a scanner — a systematic review methodology. Unlike automated scanners that give false confidence, Skill Auditor walks through what matters: permissions, behavior, credentials, and persistence — so you understand exactly what a skill will do on your system. ## Why this exists - 13.4% of ClawHub skills have critical security issues (Snyk ToxicSkills study) - 341 malicious skills were found in a single campaign (ClawHavoc incident, Feb 2026) - Automated scanners can miss context-dependent threats and provide false security - Understanding what you're installing is better than trusting a green checkmark ## How to use Ask your agent to audit any skill before installing: ``` Audit this skill before I install it: [skill-name or URL] ``` ``` Review the security of @author/skill-name on ClawHub ``` ``` I want to install [skill]. Is it safe? ``` ## Audit Framework The agent follows a 6-domain checklist. Each domain produces a PASS / WARN / FAIL verdict. ### 1. Identity & Provenance - [ ] Author has a GitHub profile with other projects - [ ] Skill has a public source repository (not ClawHub-only) - [ ] Repository has commit history (not a single-commit dump) - [ ] Author identity is consistent across platforms - **FAIL if**: No source repo, no author history, single-commit repo ### 2. Permission & Scope Analysis - [ ] `requires.env` only lists credentials the skill actually uses - [ ] No credentials unrelated to the skill's purpose - [ ] File access limited to workspace directory - [ ] No requests for system-wide permissions - **FAIL if**: Requests credentials beyond stated purpose, accesses files outside workspace ### 3. Behavior vs Description Match - [ ] Every file in the skill serves the stated purpose - [ ] No network calls to undeclared endpoints - [ ] No data exfiltration patterns (sending user data to external URLs) - [ ] Script behavior matches what SKILL.md describes - **FAIL if**: Hidden functionality, undeclared network calls, description mismatch ### 4. Credential & Secret Handling - [ ] API keys stored in env vars, not hardcoded - [ ] No credentials logged or written to non-protected files - [ ] OAuth tokens have minimal required scopes - [ ] Cached tokens stored in workspace, not system-wide - **FAIL if**: Hardcoded secrets, credentials in logs, excessive OAuth scopes ### 5. Persistence & Side Effects - [ ] Files written only within workspace boundaries - [ ] No system-level modifications (crontab, /etc/, systemd) - [ ] No auto-start or background processes installed - [ ] Uninstall is clean (no orphaned files or processes) - **FAIL if**: System modifications, persistent background processes, dirty uninstall ### 6. Dependency & Supply Chain - [ ] Dependencies are well-known packages (not obscure single-author libs) - [ ] No `curl | bash` or `curl | python` install patterns - [ ] No post-install scripts that download additional code - [ ] Package versions are pinned (not `latest`) - **FAIL if**: Unknown dependencies, pipe-to-shell installs, unpinned versions ## Output Format The agent produces a structured report: ``` ## Skill Audit Report: [skill-name] Author: [name] | Source: [repo URL or "ClawHub only"] Version: [X.Y.Z] | Files: [count] | Scripts: [count] ### Verdicts | Domain | Verdict | Notes | |---------------------------|---------|----------------------| | Identity & Provenance | PASS | | | Permission & Scope | WARN | Requests broad perms | | Behavior vs Description | PASS | | | Credential Handling | PASS | | | Persistence & Side Effects| FAIL | Writes to /etc/ | | Dependency & Supply Chain | PASS | | ### Overall: ⚠️ WARN — Review flagged items before installing ### Flagged Items 1. [Domain]: [Specific issue and recommendation] ### What to Ask the Author 1. Why does the skill need [permission X]? 2. Can [flagged behavior] be made opt-in? ``` ## Limitations - This is a review framework, not a deterministic scanner - The agent reads and reasons about skill files — it cannot execute or sandbox them - Always read the source code yourself for high-privilege skills - A PASS verdict means no issues were found, not that the skill is guaranteed safe ## Trust Hierarchy When evaluating skill trust, consider this hierarchy: 1. **Highest trust**: Open-source on GitHub + active maintainer + ClawHub Benign scan + you read the code 2. **Moderate trust**: GitHub repo exists + ClawHub Benign scan + reasonable permissions 3. **Low trust**: ClawHub-only (no source repo) + Suspicious scan + broad permissions 4. **No trust**: No source, no author history, requests unrelated credentials

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 skill-audit-framework-1775970722 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 skill-audit-framework-1775970722 技能

通过命令行安装

skillhub install skill-audit-framework-1775970722

下载 Zip 包

⬇ 下载 skill-audit-framework v1.2.0

文件大小: 4.4 KB | 发布时间: 2026-4-13 12:02

v1.2.0 最新 2026-4-13 12:02
- Added a homepage field pointing to the official GitHub repository in SKILL.md.
- Expanded metadata tags to include "trust".
- No changes to the framework or audit methodology—documentation update only.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部