원클릭으로
audit-api
API endpoint security surface scan — auth gates, data exposure, rate limiting, input validation.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
API endpoint security surface scan — auth gates, data exposure, rate limiting, input validation.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Scan for PII exposure in API responses, committed files, grimoires, and data flow paths.
Scan for secret leakage in env files, client code, git history, and build artifacts.
Audit authentication flow completeness — login, refresh, logout, session, RBAC, middleware.
Map impact surface of a change or regression by tracing data flow through every consumer.
Generate defensive measure specifications from a PMR — test specs, types, error boundaries, checklists.
Create a structured Postmortem Record from an incident, mining git history and issues for timeline and blast radius.
| name | audit-api |
| description | API endpoint security surface scan — auth gates, data exposure, rate limiting, input validation. |
| user-invocable | true |
| allowed-tools | Read, Glob, Grep, Bash, Agent |
| triggers | ["audit api","security scan api","check api endpoints"] |
| capabilities | {"model_tier":"opus","danger_level":"safe","effort_hint":"medium"} |
Scan every API route for auth gaps, data exposure, rate limiting, and input validation.
Find all route files. For each framework:
**/routes/*.ts, search for .get(, .post(, .put(, .patch(, .delete(router.**/app/api/**/route.tsBuild a route table: [method, path, auth_middleware, rate_limit, input_validation]
For each route, check:
requireAuth() or equivalentoptionalAuth() that behave differently when authed — does the unauthed path expose anything it shouldn't?Severity: CRITICAL if write endpoint has no auth, HIGH if role check is wrong
For each endpoint response, check:
Severity: MEDIUM for user IDs, HIGH for emails/wallets, CRITICAL for tokens/keys
For each write endpoint:
For each endpoint accepting user input:
success_url, callback_url, redirect without origin validation — open redirect vectors## API Security Surface Audit
### Route Table
| Method | Path | Auth | Rate Limit | Validation | Findings |
|--------|------|------|-----------|-----------|----------|
### Findings
| ID | Severity | File:Line | Issue | Fix |
|----|----------|-----------|-------|-----|
### Summary
- N routes scanned
- N auth gaps
- N data exposure issues
- N rate limit gaps
- N validation gaps