OWASP API security checklist

Enforce OWASP API Top 10 checks with --preset owasp-api-top10 and tenant scoping.

Automated OWASP OpenAPI checks

Enforced on server URLs, security schemes, query parameters, and schema bounds.

RuleOWASP riskWhat the OpenAPI validator checksRemediation
ADP-014API8:2023 MisconfigurationRejects non-local http:// serversUse https:// with TLS 1.2+
ADP-015API2:2023 Broken AuthFlags missing components.securitySchemes or unprotected routesDeclare Bearer JWT / OAuth 2.1 security
ADP-016API2:2023 Broken AuthFlags api_key, token, or secret in query paramsPass credentials via Authorization header
ADP-021API4:2023 Resource ConsumptionFlags unbounded strings and arraysSet maxLength, maxItems, and maximum
ADP-010API4:2023 Resource ConsumptionFlags unpaginated collection GET routesRequire bounded cursor + limit

Prevent BOLA / IDOR (ADP-023) and ID enumeration (ADP-024)

Scope every single-record database query by the authenticated tenant (WHERE id = $1 AND tenant_id = $2) and use prefixed ULID or UUIDv7 identifiers such as ord_01J9Z4K8M2 instead of sequential integers.