bworkx.

Reference method

Reference methodApplication securityOWASP API Security Top 10:2023OWASP ASVS 5.0OWASP ZAP

API security assessment method

How bworkx scopes, maps, tests, validates, and retests API security against the OWASP API Security Top 10:2023.

Problem. API tests often stop at endpoint fuzzing and miss the object-level authorization gaps that expose customer data.

Reference method. This page describes how bworkx runs an API security assessment. It is not a client engagement or a guarantee of API security.

1. Scope and authorization

We agree:

  • The API surface: REST, GraphQL, internal, partner, or mobile backend.
  • The roles and test accounts.
  • The test window, rate limits, and stop conditions.
  • The data that must not be accessed or extracted.
  • The environment: staging preferred, production only with a written safe-test plan.

2. Map the API

We review the specification, the gateway, the authentication flow, and the object model. Where documentation is missing, we map from the client, the observed traffic, and the gateway configuration.

The map covers endpoints, methods, roles, objects, tenants, and data sensitivity.

3. Authentication

We review:

  • OAuth2 and OIDC flows, scopes, and token lifetimes.
  • API keys and secret handling.
  • Session and refresh-token behaviour.
  • Password reset and account recovery where the API exposes them.

4. Object-level authorization

This is the core of the assessment. For each object and role:

  • Can the caller read or change an object they do not own?
  • Can an identifier be changed to cross a tenant boundary?
  • Are bulk operations, exports, and nested objects checked?
  • Is authorization enforced server-side for every path?

A scanner rarely finds these issues. Manual testing across roles does.

5. Data exposure and rate limits

We check response fields against the role, mass assignment, pagination and filter abuse, rate limits, resource consumption, and error messages that leak implementation detail.

6. Evidence and retest

Each confirmed finding includes the request, response, role, evidence, impact, and remediation direction. After fixes, the agreed findings are retested.

What this method does not cover

  • A full red-team engagement.
  • Denial-of-service testing.
  • A compliance certification.
  • A guarantee that every endpoint is secure.
  • GraphQL depth limits or cost analysis unless explicitly scoped.

What I would do differently

Start with the object model, not the endpoint list. The endpoint list tells you what exists; the object model tells you what can go wrong.

Outcome. A mapped API surface, tested roles, validated findings, and a retest path.

Next step

Need an assessment like this?

If you are preparing for a review, a launch, or a customer security questionnaire, start with the scope and the authorization.