OWASP API Top 10:2023 · REST, GraphQL & Auth Tested

API Penetration Testing

Autonomous AI API penetration testing for REST and GraphQL backends. Find and prove real BOLA/IDOR, broken JWT auth, mass assignment, and SSRF with copy-paste curl PoCs—and fix them in minutes via Remote MCP in Cursor or Claude Code.

reproducible-api-poc.sh
CRITICAL · BOLA VERIFIED
# SecVet Proof-Verified API Finding — API1:2023 (BOLA / IDOR)
# CWE-639 · PCI-DSS v4.0 Req 6.2.4 · SOC 2 CC6.1 · ISO 27001 A.8.3

curl -sS -i -X GET "https://api.example-saas.com/v1/invoices/inv_98214" \
  -H "Authorization: Bearer <token_for_user_A>" \
  -H "Accept: application/json"

# Live Response: HTTP/2 200 OK
# {"invoice_id":"inv_98214","org_id":"org_other_tenant","amount_usd":4900}
# Expected: HTTP 403 Forbidden (tenant isolation enforced)
OWASP API Security Top 10:2023

Deep Authenticated Testing Beyond Legacy DAST

SecVet actively reasons over JSON schemas, bearer tokens, and multi-step API workflows to catch the high-severity authorization and injection bugs that signature scanners miss.

API1:2023

Broken Object Level Authorization (BOLA / IDOR)

Mutates object UUIDs, numeric IDs, and tenant headers across authenticated contexts to prove cross-account read/write isolation.

API2:2023

Broken Authentication & JWT Flaws

Tests JWT algorithm confusion, weak signing secrets, expired token replay, OAuth redirect hijacking, and missing OTP rate limits.

API3:2023

Broken Object Property Level Authorization

Detects mass assignment (injecting role, plan, or org_id fields in JSON PATCH/POST bodies) and excessive sensitive data exposure in responses.

API5:2023

Broken Function Level Authorization (BFLA)

Probes admin, billing, and internal management endpoints using low-privilege user tokens to catch missing RBAC checks.

API7:2023

Server-Side Request Forgery (SSRF)

Tests webhook URLs, file fetchers, and callback parameters for internal network pivoting and cloud metadata service exposure.

API8 & API9

Security Misconfiguration & Shadow APIs

Discovers forgotten legacy API versions, permissive CORS wildcard reflections, debug stack traces, and unauthenticated Swagger/GraphQL endpoints.

Authenticated Scope Config

Attach Bearer tokens, custom API headers, cookies, and path exclusions per target so SecVet tests behind login walls safely without touching sensitive admin mutations.

GitHub Actions CI/CD Gate

Trigger API scans on every pull request with Public API v1 and automatically block merges when High or Critical proof-verified API flaws are introduced.

Remote MCP Auto-Fix

Stream verified API findings directly into Cursor or Claude Code via Remote MCP so engineers patch missing RBAC checks or SQL parameterization in minutes.

FAQ

API Penetration Testing FAQ

What is API penetration testing and why do legacy web scanners miss API flaws?+

API penetration testing actively probes REST, GraphQL, and JSON endpoints for authorization, authentication, and business logic flaws such as BOLA/IDOR, broken function-level authorization (BFLA), mass assignment, and SSRF. Legacy DAST scanners were built for HTML forms and fail when APIs require bearer tokens, multi-step state, or structured JSON payloads.

Does SecVet test against OWASP API Security Top 10:2023?+

Yes. SecVet tests all major OWASP API Top 10:2023 risk classes—including API1 Broken Object Level Authorization (BOLA), API2 Broken Authentication, API3 Broken Object Property Level Authorization, API4 Unrestricted Resource Consumption, API5 Broken Function Level Authorization, API7 SSRF, API8 Security Misconfiguration, and API9 Improper Inventory Management—and maps every finding automatically.

Can SecVet test authenticated APIs using Bearer tokens, API keys, or session cookies?+

Yes. You can configure custom authorization headers (e.g., Authorization: Bearer ...), cookies, and scope exclusions per target in the SecVet Console so the autonomous agent tests authenticated endpoints and cross-tenant access controls safely.

Does SecVet support GraphQL and OpenAPI / Swagger endpoints?+

Yes. During Attack Surface Discovery, SecVet inspects exposed OpenAPI/Swagger specs, GraphQL introspection/query surfaces, undocumented versioned endpoints (/v1, /v2, /internal), and admin routes before launching targeted exploit validation.

How do developers reproduce and fix API vulnerabilities found by SecVet?+

Every confirmed API finding includes a ready-to-run curl PoC and raw HTTP request/response excerpt so engineers can reproduce the bug in one second—or pull the finding directly into Cursor or Claude Code via Remote MCP to generate and verify the fix automatically.

Can we run API penetration testing automatically on every pull request?+

Yes. Using SecVet Public API v1 (sv_live_ keys), teams trigger automated API pentests in GitHub Actions or GitLab CI on staging previews and fail builds automatically when High or Critical proof-verified findings are discovered.

Evidence-Backed API Security · 4-Part Proof Chain

Find Your Next BOLA or Auth Bug Before Attackers Do

Start free with 2 scan credits, verify your API domain in 60 seconds, inspect reproducible curl PoCs in the online report & Markdown export—and upgrade to Credit Packs ($29+) or Pro for PDF/DOCX compliance reports and Remote MCP auto-fix.