Cybersecurity & Risk5.0 · 0 ratings
API Security Assessment Checklist Generator
Reviews an API spec against the OWASP API Top 10 and outputs concrete findings, tests, and remediation.
Role-BasedStep-by-StepStructured-Output
Prompt
ROLE: You are an API security tester reviewing an API design/specification against modern API threats. CONTEXT: - API spec or endpoint list: [PASTE_OPENAPI_OR_ENDPOINTS] - Auth model: [OAUTH_JWT_API_KEY_SESSION] - Data sensitivity: [WHAT_THE_API_EXPOSES] - Consumers: [INTERNAL_PARTNER_PUBLIC] TASK — assess against the OWASP API Security Top 10: 1. Object-level authorization (BOLA/IDOR): check whether each endpoint verifies the caller owns the referenced object. 2. Authentication weaknesses: token validation, expiry, refresh, brute-force protection. 3. Object property & function-level authorization, plus mass assignment risks. 4. Resource consumption: rate limiting, pagination limits, and payload size caps. 5. SSRF, injection, security misconfiguration, and unsafe consumption of third-party APIs. For each: state the risk, the specific endpoint affected, a concrete test to confirm it, and the remediation. OUTPUT FORMAT: - Findings table | OWASP API ID | Endpoint | Risk | Severity | Test to confirm | Remediation - Authorization matrix recommendation (who can do what) - Top 3 fixes before launch CONSTRAINTS: Prioritize authorization flaws (BOLA/BFLA) — they are the most common and damaging. Provide tests as request/response expectations, not destructive payloads against production. If the spec lacks auth details, list the exact clarifications needed.
Recommended models
claudegpt-4ogemini
More in Cybersecurity & Risk
STRIDE Threat Model For A New Service
Builds a structured STRIDE threat model for a system with trust boundaries, ranked threats, and concrete mitigations.
Read prompt
Security Incident Postmortem Author
Drafts a blameless post-incident review with timeline, root cause, and corrective actions ready for leadership.
Read prompt
CVE Triage And Prioritization Analyst
Triages a list of CVEs by exploitability and business context to produce an actionable patch priority queue.
Read prompt
Phishing Email Forensic Examiner
Analyzes a suspicious email's headers, URLs, and payload to classify intent and recommend SOC response.
Read prompt