DVT Secure API Review
Review an API surface against DVT's security baseline before it ships.
When to use this skill
Use this skill when you need to:
- Review a new or changed API endpoint before merge/release.
- Produce a short, actionable security findings list.
Review checklist
- Authentication — every non-public route requires a verified identity; tokens validated (signature, expiry, audience).
- Authorization — object-level checks (the caller can act on this resource), not just route-level.
- Input validation — all inputs validated/whitelisted at the boundary; reject unknown fields.
- Rate limiting & abuse — sensitive/unauthenticated endpoints are rate-limited.
- Secrets — no secrets in code, logs, or responses; pulled from the secret manager.
- Errors & logging — errors don't leak internals; logs exclude PII and credentials.
- Transport — TLS enforced; secure headers set.
Output
Produce findings as: Severity (high/med/low) — Endpoint — Issue — Recommended fix.