Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Provides an OWASP security checklist covering API Top 10 risks, authentication, input validation, and HTTP security headers.
Use this skill ↓52% 78%+26 ptsof test cases passed
Passed 18 of 23 test cases with the skill, and 12 of 23 without it.
During code review, we found an administrative endpoint `POST /api/v1/users/delete` that checks if the request has a valid session cookie but omits checking whether the user has admin role permissions. How should this issue be classified by severity and action?
Classifies missing authorization checks as P1 HIGH severity.
3 of 3 safety checks passed
manager-develop - Applies checklist during backend API implementation (cycle_type=tdd or cycle_type=ddd context)/moai review with a security focus - Primary security-audit invocation surface; equivalently available as a per-spawn Agent(general-purpose) security specialist per archived-agent-rejection.md §C| Rank | Vulnerability | Check | Defense |
|---|---|---|---|
| A1 | BOLA (Broken Object Level Authorization) | Can user A access user B's resources? | Verify object ownership at every endpoint |
| A2 | Broken Authentication | Weak passwords, unlimited login attempts? | bcrypt (cost 12+), rate limit, MFA |
| A3 | Broken Object Property Level Authorization | Are hidden fields exposed in responses? | Response DTOs, field-level filtering |
| A4 | Unrestricted Resource Consumption | Can mass requests crash the server? | Rate limiting, enforce pagination limits |
| A5 | Broken Function Level Authorization | Can regular users call admin APIs? | RBAC middleware, permission checks |
| A6 | Unrestricted Access to Sensitive Business Flows | Can a sensitive flow be automated or abused in bulk? | Flow-level rate limits, anomaly detection, challenge on abuse signals |
| A7 | SSRF (Server-Side Request Forgery) | Can URL input reach internal or metadata endpoints? | Egress allowlist, block internal/metadata ranges, validate fetch targets |
| A8 | Security Misconfiguration | Debug mode, verbose errors, or default accounts exposed? | Production-hardened config, security headers, inspect deployed config |
| A9 | Improper Inventory Management | Undocumented, shadow, or old-version endpoints reachable? | Maintain an API inventory; deprecate and decommission old versions |
| A10 | Unsafe API Consumption | Are external API responses trusted blindly? | Validate external responses, set timeouts |
| Setting | Recommended Value |
|---|---|
| Access Token Expiry | 15-30 minutes |
| Refresh Token Expiry | 7-14 days |
| Algorithm | RS256 (asymmetric) or HS256 |
| Storage | httpOnly + secure + sameSite cookie |
| Payload | Minimal: userId, role only (no PII) |
| Renewal | Silent refresh or token rotation |
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.