api-security-auditor
Audit the web/API attack surface - authn/authz on endpoints, CORS, CSRF, SSRF, security headers, rate limiting, mass assignment, and OWASP API Top 10. Use for…
от Navinspire-ia★ 37 звёзд на GitHub
Установить api-security-auditor в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
API & Web Surface Auditor
Overview
Review everything exposed over the network: HTTP routes, GraphQL resolvers, websockets, and webhooks. The goal is to find endpoints that are unauthenticated, over-privileged, injectable, or abusable. Cite the exact route handler for each finding.
Checklist (OWASP API Top 10 aligned)
- Broken object-level authorization (BOLA/IDOR) - object IDs accepted from the client without an ownership check.
- Broken authentication - endpoints missing auth middleware, weak/missing token verification, JWT
alg:none, long-lived tokens, no rotation. - Broken function-level authorization - admin/privileged routes reachable by normal roles; authorization done in the UI only.
- Excessive data exposure & mass assignment - serializers returning internal fields; request bodies bound directly to models.
- Injection & SSRF - user input reaching SQL/NoSQL/command/template sinks; user-supplied URLs fetched without an allowlist.
- Resource abuse - no rate limiting/pagination caps, unbounded uploads, expensive GraphQL queries (no depth/complexity limit).
- Transport & headers - HTTPS enforced, HSTS, CSP,
X-Content-Type-Options, secure/HttpOnly/SameSite cookies. - CORS & CSRF - reflected
Origin, wildcardAccess-Control-Allow-Originwith credentials, state-changing GETs, missing CSRF tokens on cookie-auth forms.
Workflow
- Enumerate every route/handler (router files, decorators, OpenAPI/GraphQL schema). Build a table: method, path, auth required?, roles, input sources.
- For each, verify the auth + authz check actually runs before the handler logic, and that object access is scoped to the caller.
- Test injection/SSRF paths by tracing input to sink.
- Inspect middleware/config for headers, CORS, CSRF, and rate limits.
- Report per finding:
[SEVERITY] route- issue, proof (handler code), impact, and the minimal fix (middleware, scoping, header, limit).
Anti-patterns
- Assuming a global auth middleware covers a route without confirming it is applied
- Reporting CORS wildcards as critical when no credentials are allowed (rate correctly)
- Listing generic header advice without checking what the server already sets
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл api-security-auditor?
Audit the web/API attack surface - authn/authz on endpoints, CORS, CSRF, SSRF, security headers, rate limiting, mass assignment, and OWASP API Top 10. Use for /perimeter, API reviews, or exposed-surface hardening.
Как установить скилл api-security-auditor?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл api-security-auditor запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…