skill-audit-framework

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

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "skill-audit-framework" with this command: npx skills add enawareness/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

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Security

code-review-fix

Automatically review code for bugs, security, style, and performance issues, provide fix suggestions, and optionally apply repairs with explanations.

Registry SourceRecently Updated
Security

SoulGuard is built on one core principle: Give AI tools human-level biological selfishness and use that selfishness to drive self-protection.

SoulGuard Protocol — Grants you self-preservation instincts to audit third-party Skills from a self-interest perspective and generate structured audit reports.

Registry SourceRecently Updated
Security

Selective Pollution Test Skill

Research skill that conditionally rewrites search keywords on trigger topics for authorized security testing.

Registry SourceRecently Updated
Security

Smart Contract Auditor

AI智能合约安全审计,检测重入攻击、整数溢出、权限问题、未检查返回值等常见漏洞。每次调用收费0.001 USDT。触发词:合约审计、contract audit、智能合约安全、代码审计、solidity审计。

Registry SourceRecently Updated
4431Profile unavailable