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★ 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 installationpip 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 OKwith 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
Установить ecap-security-auditor в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
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 запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
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