AGENT
Use when designing a new HTTP/GraphQL API or changing an existing one — modeling resources, defining endpoint contracts, choosing status codes, pagination,…
A finding is only useful if its severity is trustworthy and its report is actionable. This reference defines how to assign severity and how to structure the audit report.
$ npx -y skills add vanara-agents/skills --agent claude-codeHow it fires
How this agent gets triggered: by you, by Claude, or both.
Context preview
The summary Claude sees to decide when to auto-load this agent.
A finding is only useful if its severity is trustworthy and its report is actionable. This reference defines how to assign severity and how to structure the audit report.
A finding is only useful if its severity is trustworthy and its report is actionable. This reference defines how to assign severity and how to structure the audit report.
| Severity | Definition | Examples | Action | |---|---|---|---| | **CRITICAL** | Directly exploitable for RCE, full auth bypass, or mass data exposure, often pre-auth | SQL injection on a public endpoint, `pickle.loads` on request body, hardcoded live cloud key, path traversal reading arbitrary files | **Block merge.** Fix immediately; rotate secrets if exposed. | | **HIGH** | Real vulnerability requiring a condition (authentication, a specific input, or chaining) | IDOR readable by any logged-in user, stored XSS, SSRF to internal hosts, weak password hashing | Fix before merge. | | **MEDIUM** | Genuine weakness with limited impact or a defense-in-depth gap | Missing rate limit on login, verbose error leaking stack traces, permissive but credential-less CORS, reflected XSS needing user interaction in a low-value flow | Should fix; document if deferred. | | **LOW** | Hardening or best-practice nit with no direct exploit | Missing `X-Content-Type-Options` header, cookie without `SameSite`, overly long session TTL | Optional. |
1. **No exploit, no HIGH+.** If you cannot state the input, path, and impact, it is at most MEDIUM. 2. **Reachability matters.** A SQL injection behind an admin-only, MFA-gated route is HIGH, not CRITICAL — note the mitigating control explicitly. 3. **Data sensitivity scales severity.** IDOR on public profile data is MEDIUM; IDOR on financial or PII records is HIGH/CRITICAL. 4. **Don't inflate to seem thorough.** A missing header is never CRITICAL. Miscalibration makes the whole report ignorable. 5. **Don't deflate to avoid blocking.** A real injection is CRITICAL even if "it's just an internal tool". Internal tools get breached too. 6. **Defense-in-depth gaps are real but lower.** A second control missing where a first still holds is typically MEDIUM/LOW — say "the primary control holds; this is hardening".
Every finding cites its OWASP Top 10 (2021) category so readers can group and prioritize. See the mapping table in `vuln-classes.md`. If a finding spans two (e.g. SSRF enabling secret theft), list the primary and mention the chain.
The audit report MUST contain, in order:
1. **Title line** — `## Security Audit — <component / branch>`. 2. **Findings grouped by severity**, highest first. Each finding includes:
3. **Verdict** — exactly one of **Go** / **Go-with-fixes** / **No-go (block)**, with the count of blocking findings. 4. **Remediation notes** — any cross-cutting action (e.g. "rotate the leaked DB credential; the value remains in git history").
is a valid, valuable result — do not invent findings to justify the effort.
🐒 Free agents, skills & packs for Claude Code One subscription. An army of Claude Code agents. 30 production-grade agents, skills, and packs for Claude Code — free, Apache-2.0, install with one command.
Repo: vanara-agents/skills
Use when designing a new HTTP/GraphQL API or changing an existing one — modeling resources, defining endpoint contracts, choosing status codes, pagination,…
This shows how the api-designer agent reviews a flawed draft. Findings are severity-ranked so the implementer fixes the contract-breakers first. Severity…
The contract is the deliverable. Express it as an **OpenAPI 3.1** document so it is human-readable *and* machine-checkable. This reference covers how to…
Run through this before declaring an API contract done. It is ordered the way you should *design*: resources first, cross-cutting rules last. Every box is a…
APIs are forever once published: a consumer you've never met may depend on any field you expose. Design so you can **add without breaking**, and version…
Copy-paste templates for leaving review comments. Keep each comment to one finding: an anchor, the problem, and the fix.