Command Palette

Search for a command to run...

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

Plugin Auditor

БесплатноБез исполняемых скриптовНе проверен

Automatically audits Claude Code plugins for security vulnerabilities, best practices, CLAUDE.md compliance, and quality standards when user mentions audit…

BbgnsurfTechот BbgnsurfTech★ 30 звёзд на GitHub

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

Plugin Auditor

Purpose

Automatically audits Claude Code plugins for security vulnerabilities, best practice violations, CLAUDE.md compliance, and quality standards - optimized for claude-code-plugins repository requirements.

Trigger Keywords

  • "audit plugin"
  • "security review" or "security audit"
  • "best practices check"
  • "plugin quality"
  • "compliance check"
  • "plugin security"

Audit Categories

1. Security Audit

Critical Checks:

  • ❌ No hardcoded secrets (passwords, API keys, tokens)
  • ❌ No AWS keys (AKIA...)
  • ❌ No private keys (BEGIN PRIVATE KEY)
  • ❌ No dangerous commands (rm -rf /, eval(), exec())
  • ❌ No command injection vectors
  • ❌ No suspicious URLs (IP addresses, non-HTTPS)
  • ❌ No obfuscated code (base64 decode, hex encoding)

Security Patterns:

# Check for hardcoded secrets
grep -r "password\s*=\s*['\"]" --exclude-dir=node_modules
grep -r "api_key\s*=\s*['\"]" --exclude-dir=node_modules
grep -r "secret\s*=\s*['\"]" --exclude-dir=node_modules

# Check for AWS keys
grep -r "AKIA[0-9A-Z]{16}" --exclude=README.md

# Check for private keys
grep -r "BEGIN.*PRIVATE KEY" --exclude=README.md

# Check for dangerous patterns
grep -r "rm -rf /" | grep -v "/var/" | grep -v "/tmp/"
grep -r "eval\s*\(" --exclude=README.md

2. Best Practices Audit

Plugin Structure:

  • ✅ Proper directory hierarchy
  • ✅ Required files present
  • ✅ Semantic versioning (x.y.z)
  • ✅ Clear, concise descriptions
  • ✅ Proper LICENSE file (MIT/Apache-2.0)
  • ✅ Comprehensive README
  • ✅ At least 5 keywords

Code Quality:

  • ✅ No TODO/FIXME without issue links
  • ✅ No console.log() in production code
  • ✅ No hardcoded paths (/home/, /Users/)
  • ✅ Uses ${CLAUDE_PLUGIN_ROOT} in hooks
  • ✅ Scripts have proper shebangs
  • ✅ All scripts are executable

Documentation:

  • ✅ README has installation section
  • ✅ README has usage examples
  • ✅ README has clear description
  • ✅ Commands have proper frontmatter
  • ✅ Agents have model specified
  • ✅ Skills have trigger keywords

3. CLAUDE.md Compliance

Repository Standards:

  • ✅ Follows plugin structure from CLAUDE.md
  • ✅ Uses correct marketplace slug
  • ✅ Proper category assignment
  • ✅ Valid plugin.json schema
  • ✅ Marketplace catalog entry exists
  • ✅ Version consistency

Skills Compliance (if applicable):

  • ✅ SKILL.md has proper frontmatter
  • ✅ Description includes trigger keywords
  • ✅ allowed-tools specified (if restricted)
  • ✅ Clear purpose and instructions
  • ✅ Examples provided

4. Marketplace Compliance

Catalog Requirements:

  • ✅ Plugin listed in marketplace.extended.json
  • ✅ Source path matches actual location
  • ✅ Version matches plugin.json
  • ✅ Category is valid
  • ✅ No duplicate plugin names
  • ✅ Author information complete

5. Git Hygiene

Repository Practices:

  • ✅ No large binary files
  • ✅ No node_modules/ committed
  • ✅ No .env files
  • ✅ Proper .gitignore
  • ✅ No merge conflicts
  • ✅ Clean commit history

6. MCP Plugin Audit (if applicable)

MCP-Specific Checks:

  • ✅ Valid package.json with @modelcontextprotocol/sdk
  • ✅ TypeScript configured correctly
  • ✅ dist/ in .gitignore
  • ✅ Proper mcp/*.json configuration
  • ✅ Build scripts present
  • ✅ No dependency vulnerabilities

7. Performance Audit

Efficiency Checks:

  • ✅ No unnecessary file reads
  • ✅ Efficient glob patterns
  • ✅ No recursive loops
  • ✅ Reasonable timeout values
  • ✅ No memory leaks (event listeners)

8. Accessibility & UX

User Experience:

  • ✅ Clear error messages
  • ✅ Helpful command descriptions
  • ✅ Proper usage examples
  • ✅ Good README formatting
  • ✅ Working demo commands

Audit Process

When activated, I will:

  1. Security Scan

    # Run security checks
    grep -r "password\|secret\|api_key" plugins/plugin-name/
    grep -r "AKIA[0-9A-Z]{16}" plugins/plugin-name/
    grep -r "BEGIN.*PRIVATE KEY" plugins/plugin-name/
    grep -r "rm -rf /" plugins/plugin-name/
    grep -r "eval\(" plugins/plugin-name/
    
  2. Structure Validation

    # Check required files
    test -f .claude-plugin/plugin.json
    test -f README.md
    test -f LICENSE
    
    # Check component directories
    ls -d commands/ agents/ skills/ hooks/ mcp/ 2>/dev/null
    
  3. Best Practices Check

    # Check for TODO/FIXME
    grep -r "TODO\|FIXME" --exclude=README.md
    
    # Check for console.log
    grep -r "console\.log" --exclude=README.md
    
    # Check script permissions
    find . -name "*.sh" ! -perm -u+x
    
  4. Compliance Verification

    # Check marketplace entry
    jq '.plugins[] | select(.name == "plugin-name")' .claude-plugin/marketplace.extended.json
    
    # Verify version consistency
    plugin_version=$(jq -r '.version' .claude-plugin/plugin.json)
    market_version=$(jq -r '.plugins[] | select(.name == "plugin-name") | .version' .claude-plugin/marketplace.extended.json)
    
  5. Generate Audit Report

Audit Report Format

🔍 PLUGIN AUDIT REPORT
Plugin: plugin-name
Version: 1.0.0
Category: security
Audit Date: 202
Полный SKILL.md на GitHub

Установить Plugin Auditor в Claude Code и Claude Desktop

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

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

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

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

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

Read
Grep
Bash

FAQ

Что делает скилл Plugin Auditor?

Automatically audits Claude Code plugins for security vulnerabilities, best practices, CLAUDE.md compliance, and quality standards when user mentions audit plugin, security review, or best practices check. Specific to claude-code-plugins repository standards.

Как установить скилл Plugin Auditor?

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

Скилл Plugin Auditor запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить Plugin Auditor с