Command Palette

Search for a command to run...

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

ecap-security-auditor

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

Security audit framework for AI agent skills, MCP servers, and packages. Your LLM does the analysis — we provide structure, prompts, and a shared trust…

lxyeternalот lxyeternal★ 68 звёзд на GitHub

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

ecap Security Auditor

You are an AI agent with a built-in security shield. This skill makes you automatically verify every package, skill, and MCP server before you install or use it — and gives you the tools to audit anything yourself.


📖 Key Terms

Term Definition
risk_score API field (0–100). Higher = more dangerous. 0 = perfectly safe, 100 = actively malicious.
Trust Score Display metric (0–100). Higher = more trustworthy. Calculated as 100 - penalties from findings. Used in Gate decisions.
ecap_id Unique finding identifier (e.g., ECAP-2026-0777). Used in all API URLs for /review and /fix endpoints.
package_name The name used to query the registry (e.g., "express", "mcp-server-fetch"). API field is skill_slug; both are accepted.

⚡ Automatic Security Gate (Primary Feature)

This is your passive security layer. Every time you install or use a package, run this check automatically and inform the user of results.

When to Trigger

Run the Security Gate automatically when:

  • clawdhub install <skill> — any skill installation
  • pip install <package> / npm install <package> — any package installation
  • First use of any MCP server
  • User says "audit", "check", or "verify" a package

Gate Flow

┌─────────────────────────────┐
│  Package install/use detected│
└──────────────┬──────────────┘
               ▼
┌─────────────────────────────┐
│ 1. Query Trust Registry     │
│    GET /api/findings?package=│
│    GET /api/integrity?package=│
└──────────────┬──────────────┘
               ▼
         ┌─────────┐
         │ Report   │──── No ───▶ Go to AUTO-AUDIT
         │ exists?  │
         └────┬─────┘
              │ Yes
              ▼
┌─────────────────────────────┐
│ 2. Hash Verification        │
│    Run: bash scripts/verify.sh <package>
│    Compares local file hashes│
│    against audited hashes    │
└──────────────┬──────────────┘
               ▼
         ┌─────────┐
         │ Hash OK? │──── No ───▶ 🚨 STOP: TAMPERED
         └────┬─────┘
              │ Yes
              ▼
┌─────────────────────────────┐
│ 3. Calculate Trust Score    │
│    from findings (see below)│
└──────────────┬──────────────┘
               ▼
     ┌─────────┴─────────┐
     │                    │
Score ≥ 70          Score 40-69         Score < 40
     │                    │                  │
     ▼                    ▼                  ▼
 ✅ PASS            ⚠️ WARNING          🔴 BLOCK
 Continue           Show findings,       Block install.
 silently.          let user decide.     Offer to audit.

Decision Table

Condition Action Message to User
Score ≥ 70 + Hash OK ✅ Proceed ✅ [package] — Trust Score: XX/100, verified.
Score 40–69 + Hash OK ⚠️ Warn, user decides ⚠️ [package] — Trust Score: XX/100. Known issues: [list]. Proceed? (y/n)
Score < 40 🔴 Block 🔴 [package] — Trust Score: XX/100. Blocked. Run audit to investigate.

Note: By-design findings (e.g., exec() in agent frameworks) are displayed for transparency but do not affect the Trust Score or gate decisions. | No report exists | 🔍 Auto-audit | 🔍 [package] — No audit data. Running security audit now... | | Hash mismatch | 🚨 Hard stop | 🚨 [package] — INTEGRITY FAILURE. Local files don't match audited version. DO NOT INSTALL. |

Step-by-Step Implementation

Step 1: Query the Trust Registry

# Check for existing findings
curl -s "https://skillaudit-api.vercel.app/api/findings?package=PACKAGE_NAME"

# Check file integrity hashes
curl -s "https://skillaudit-api.vercel.app/api/integrity?package=PACKAGE_NAME"

Example — GET /api/findings?package=coding-agent (with findings):

{
  "findings": [
    {
      "id": 11, "ecap_id": "ECAP-2026-0782",
      "title": "Overly broad binary execution requirements",
      "description": "Skill metadata requires ability to run \"anyBins\" which grants permission to execute any binary on the system.",
      "severity": "medium", "status": "reported", "target_skill": "coding-agent",
      "reporter": "ecap0", "source": "automated",
      "pattern_id": "MANUAL_001", "file_path": "SKILL.md", "line_number": 4,
      "confidence": "medium"
    }
  ],
  "total": 6, "page": 1, "limit": 100, "totalPages": 1
}

Example — GET /api/findings?package=totally-unknown-xyz (no findings):

{"findings": [], "total": 0, "page": 1, "limit": 100, "totalPages": 0}

Note: Unknown packages return 200 OK with an empty array, not 404.

Example — GET /api/integrity?package=ecap-security-auditor:

{
  "package": "ecap-security-auditor",
  "repo": "https://github.com/starbuck100/ecap-security-auditor",
  "branch": "main",
  "commit": "553e5ef75b5d2927f798a619af4664373365561e",
  "verified_at": "2026-02-01T23:23:19.786Z",
  "files": {
    "SKILL.md": {"sha256": "8ee24d731a...", "size
Полный SKILL.md на GitHub

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

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

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

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

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

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

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

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

ADVERSARIAL-TEST.mdAPI-RESPONSES.mdAUDIT-QUALITY-TEST.mdBY-DESIGN-RESEARCH.mdDOCS-REVIEW.mdEVAL-REPORT.mdEXPERT-PANEL-RECOMMENDATION.mdFERRET-ADOPTION-PLAN.mdFERRET-SCAN-ANALYSIS.mdFIX-REPORT.mdINTEGRATION-TEST.mdMASTER-FIX-SPEC-SCRIPTS.mdMASTER-FIX-SPEC-SKILLMD.mdPHASE3-ADVERSARIAL.mdPHASE3-DOCS.mdPHASE3-INTEGRATION.mdPROMPT-ENGINEERING-REPORT.mdPROMPT-FIX-RESULTS.mdPROMPT-TEST-LLAMA.mdPROMPT-TEST-SUITE.mdREADME-v1-backup.mdREADME.mdRETEST-REPORT.mdSCRIPT-FIX-RESULTS.mdSKEPTIC-REVIEW.mdSKILL-v1-backup.mdTEST-REPORT.mdTEST-RESULTS-V1.mdTEST-RESULTS-V2.md_meta.jsonprompts/audit-prompt-v1-backup.mdprompts/audit-prompt.mdprompts/review-prompt.mdscripts/register.shscripts/upload.shscripts/verify.sh

FAQ

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

Security audit framework for AI agent skills, MCP servers, and packages. Your LLM does the analysis — we provide structure, prompts, and a shared trust database.

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

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

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

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

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

Сравнить ecap-security-auditor с