OWASP API Top 10:2023 · REST, GraphQL & gRPC

API security, tested from gateway edge to object state.

Targeted manual testing for JSON REST services, GraphQL schemas, gRPC HTTP/2 endpoints, and webhook consumers—catching broken object-level authorization (BOLA), JWT forgery, mass assignment, and shadow routes that OpenAPI linters ignore.

Interactive API Protocol Blueprint
04 API Trust Planes
SELECTED · GATEWAY, EDGE & SHADOW ROUTES

Ingress routing & legacy version bypasses

Engineers map undocumented /v1 or beta handlers bypassing v2 authorizers, test API gateway path-normalization mismatches, audit credentialed CORS origin reflections, and probe spoofable rate-limit headers.
OWASP API8 & API9 Shadow Route Map
01 · Gateway Log vs. Real Exploit

Why OpenAPI fuzzers mark broken APIs green

Automated schema linters validate status codes, JSON syntax, and Swagger types using a single bearer token. They cannot determine whether a returned invoice belongs to Tenant B, whether a hidden planTier property should remain immutable, or how GraphQL aliases bypass gateway rate counters.

Automated schema scanner: Single-token contract & 200 OK status verification.

Manual API pentest: Dual-tenant token swaps, hidden DTO property fuzzing & batched mutations.

OPENAPI FUZZER · GET /v2/tenants/{orgId}/audit-logs STATUS: 200 OK · SCHEMA VALID
MANUAL DUAL-TOKEN REPLAY · TENANT_B CALLING TENANT_A RESOURCE CRITICAL · API1: BOLA
GET /api/v2/tenants/org_a_9914/audit-logs?limit=50 HTTP/2
Host: api.saas-platform.example
Authorization: Bearer <VALID_JWT_FOR_ORG_B_MEMBER>

--- SERVER RESPONSE (HTTP/2 200 OK) ---
{
  "tenant": "org_a_9914",
  "records": [{ "actor": "[email protected]", "apiKeyPrefix": "sk_live_91f...", "region": "us-east-1" }]
}
# Finding: Gateway validated JWT signature cleanly, but handler queried tenantId from URL path rather than claims.orgId.
02 · Offensive API Toolchain

Protocol-aware API tooling guided by senior testers

Automated OpenAPI checks alone miss cross-tenant logic. Our engineers pair spec parsers with manual dual-token proxies, JWT analyzers, and binary protocol tooling matched to your gateway stack.

01 · Spec & Shadow Route Mapping Discovery
Schema Ingestion

Postman & OpenAPI Parsers

Maps every documented REST operation, auth header scheme, and payload model from Swagger, OpenAPI 3.0, and team collections.

Shadow Endpoints

Kiterunner & ffuf

Uncovers legacy /v1 versions, undocumented microservice routes, and internal gateway endpoints missing from API specifications.

Gateway Hygiene

Nuclei (Human-Verified)

Checks exposed Swagger UI consoles, actuator health leaks, and known API gateway CVEs—strictly curated to eliminate false positives.

02 · Gateway, Token & Protocol Proxy Core Proxy
Core Workbench

Burp Suite Pro + Autorize

Executes live dual-token cross-tenant authorization replays across every HTTP verb and UUID to expose BOLA, BFLA, and tenant boundary gaps.

Token Cryptography

JWT & OAuth Analyzers

Tests RFC 7519 signature confusion, kid injection, remote JWK SSRF spoofing, expired token acceptance, and OAuth scope elevation.

GraphQL Depth & Resolvers

InQL & GraphQL Voyager

Reconstructs disabled GraphQL schemas, probes nested resolver BOLA paths, and validates alias batching and circular query limits.

03 · Binary Protocols & Verification Verification
HTTP/2 & Binary APIs

grpcurl & Mitmproxy

Decodes gRPC Protobuf requests over HTTP/2, tests reflection exposure, and intercepts stateful WebSocket frames for CSWSH abuse.

Mass Assignment & SSRF

Custom Python Harnesses

Automates multi-role DTO property fuzzing (BOPLA), webhook HMAC replay validation, rate-limit races, and out-of-band SSRF verification.

Stack-Matched Toolkit

+ And Many More Utilities

Engagements never stop at a fixed checklist—engineers also use Insomnia, Hoppscotch, Wfuzz, Blackbox Protobuf, and bespoke scripts tailored to your gateway stack.

03 · Interactive API Scope Estimator

Estimate your API testing window by endpoint count & protocols

API pentest effort scales with endpoint count, tenant role permutations, and protocol diversity. Select your architecture profile below to preview recommended test coverage.

01 · API Topology & Tenancy
02 · Documented Endpoints / Operations
03 · Protocols, Auth & Integration Risk (Multi-Select)
Calculated API Scope Profile OWASP API Top 10
Estimated active test window
6–9 business days
Recommended testing model
Multi-Tenant BOLA, BOPLA & Gateway Matrix
Primary protocol focus
cross-tenant BOLA (API1) & role BFLA (API5); JWT alg/kid forgery, mTLS & OAuth scope bypass.
Kickoff inputs needed
OpenAPI 3.0 spec + 2 tenant org token sets.
04 · Tangible Deliverable Specimen

What a verified API security finding looks like

Backend teams receive exact OpenAPI routes, sanitized curl reproduction proofs, DTO schema guard patches, and clean compliance attestation evidence ready for enterprise vendor reviews.

HIGH · CVSS 8.7

API-01: Cross-Tenant Billing Profile Overwrite via BOPLA + BOLA

OWASP API3:2023 & API1:2023 · Reproducible PoC

Reproducible API request demonstrating how a Member token in Tenant B mutates billing tier fields and transfers workspace ownership without administrative role privileges.

REPRODUCTION TRACE · SANITIZED FOR BACKEND TICKET ENDPOINT: PATCH /api/v2/workspaces/:id
curl -s -X PATCH "https://staging-api.example/api/v2/workspaces/ws_9421" \
  -H "Authorization: Bearer <TENANT_B_MEMBER_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{"displayName":"Test","planTier":"enterprise","orgOwnerId":"usr_tenant_b"}'

# Observed (200 OK): Updates ws_9421 planTier to enterprise & reassigns orgOwnerId cleanly
# Expected (403 Forbidden / Strict DTO): Ignore privileged keys & enforce caller.orgId == workspace.orgId
05 · OWASP API Top 10 (2023) Coverage

Four-plane API security testing architecture

Every API assessment covers all ten OWASP API Security Top 10 (2023) risks across REST, GraphQL, gRPC, and real-time WebSocket transports with repeatable PoC evidence.

PLANE 01 · AUTHORIZATION

BOLA, BOPLA & Function Auth

API1 · API3 · API5
Dual-token UUID/integer swapping across every tenant resource, read/write verb elevation checks on admin APIs, response PII leakage audits, and mass-assignment fuzzing on privileged ORM properties.
High-impact flaws caught Direct peer-tenant record downloads, silent plan-tier upgrades, and unguarded administrative mutations.
PLANE 02 · AUTHENTICATION

JWT, OAuth2, Keys & Headers

API2 · API8
Algorithm and key confusion testing, weak HMAC validation, refresh-token revocation checks after deprovisioning, API key scope escapes, CORS wildcard reflections, and internal header trust behind reverse proxies.
Audit alignment Verifies RFC 7519 token enforcement and gateway controls mapped to SOC 2 CC6.1, ISO A.8.5, and PCI-DSS 11.4.
PLANE 03 · QUOTAS & FLOWS

Rate Limits, GraphQL & Logic

API4 · API6
Evaluates alias-batched GraphQL queries bypassing RPM limiters, unbounded pagination payloads (limit=999999), OTP throttling via header spoofing, and concurrent coupon or quota replay races.
High-impact flaws caught Runaway worker/LLM token exhaustion, OTP brute-forcing via GraphQL batching, and credit multiplication races.
PLANE 04 · INVENTORY & SSRF

Shadow APIs, SSRF & Webhooks

API7 · API9 · API10
Tests webhook callback targets and file-by-URL importers for cloud IMDS or VPC SSRF, hunts down unauthenticated deprecated /v1 routes, and checks unsanitized third-party webhook ingestion.
High-impact flaws caught IAM role credential theft via webhook SSRF, forgotten beta routes missing v2 authz, and downstream parser injection.
06 · Engineering Readiness

Four inputs for a clean Day-1 API kickoff

No OpenAPI spec? No problem—we also reconstruct routes cleanly from frontend traffic or staging code, paired with privately allowlisted RoE egress testing.

01 · SPEC OR PROTO EXPORT

OpenAPI / Postman / SDL

Swagger 3.0 JSON, Postman collection, GraphQL SDL, or .proto files for rapid coverage mapping.

02 · MULTI-TENANT TOKENS

2+ Org Credentials

Sample OAuth/JWT credentials across Tenant A, Tenant B, Member, and Admin scopes for BOLA & BFLA testing.

03 · DEDICATED EGRESS IP

RoE Gateway Allowlist

All manual proxy traffic originates from an engagement-scoped egress IP shared privately under Rules of Engagement.

04 · RAPID ESCALATION

P0 Slack & 30-Day Retest

Immediate alert for critical auth/tenant leaks, plus complimentary 30-day fix verification and clean Audit LoA.

07 · API Testing FAQs

Scoping, rate limits & protocol questions

Practical answers covering OpenAPI inputs, GraphQL & gRPC testing, production safety controls, and enterprise compliance acceptance.

What inputs should we share to scope an API penetration test accurately?

Sharing your OpenAPI 3.0 / Swagger specification, Postman or Insomnia collection, GraphQL SDL schema, or gRPC .proto definitions lets us count exact endpoints and operations in 1–2 business days. Also specify how authentication works (OAuth 2.0, JWT, mTLS, HMAC, API keys) and how many tenant roles need cross-account BOLA verification.

Can you test our APIs if we do not have an OpenAPI specification or Postman collection?

Yes. If no specification exists, engineers reconstruct endpoints by proxying your web frontend, mobile clients, or developer docs, or by pairing with your backend team to enumerate core resource controllers before running deep authorization and logic tests.

How do you prevent automated fuzzing from overwhelming production rate limits or triggering billing spikes?

We prioritize manual proxy inspection and surgical parameter tampering over noisy brute-force traffic, execute tests exclusively from a dedicated egress IP disclosed privately under Rules of Engagement so you can apply controlled allowlists in staging, and agree on strict RPS ceilings and prohibited stress targets in the Rules of Engagement.

Do you test GraphQL, gRPC, and WebSocket APIs as well as REST?

Yes. Beyond standard JSON REST APIs, we test GraphQL introspection, nested resolver authorization, alias batching, gRPC HTTP/2 protobuf endpoints, and real-time WebSocket origin validation and message tampering.

How long does an API penetration test take from kickoff to final report?

A focused microservice or product API (roughly 20 to 60 endpoints) typically takes 5 to 7 business days of manual testing and reporting. Large multi-tenant ecosystems exceeding 100 endpoints or spanning multiple gateway services usually run 8 to 12 business days.

Does API penetration testing satisfy customer security questionnaires and PCI-DSS / SOC 2 audits?

Yes. Our final report maps findings directly to OWASP API Security Top 10 (2023) and includes a clean Letter of Attestation suitable for SOC 2 CC7.1, ISO/IEC 27001 Annex A 8.8, PCI-DSS v4.0 Requirement 11.4, and enterprise vendor risk reviews after 30-day retest sign-off.

Ready to scope your API penetration test?

Share your OpenAPI operation count, protocols (REST, GraphQL, gRPC), and tenant roles to receive a structured scope within 1–2 business days.