bworkx.

Application security

API security assessment

APIs fail at the object level, not just the endpoint.

Prefer to talk? Book a 30-minute call.

Who it is for

  • SaaS and API-first products with customer, partner, or mobile backends.
  • Teams using OpenAPI, GraphQL, or a mix of REST and internal services.
  • Companies with SAST coverage but no runtime API testing.
  • Teams preparing for a customer security review or an enterprise integration.

When it is not the right fit

  • A full red-team engagement or social engineering.
  • Destructive testing or denial-of-service testing against production.
  • A compliance certificate or a guarantee that the API is secure.
  • An API with no owner, no test accounts, and no agreed scope.

Scope

What is included

The scope is written down before work starts. Anything outside it is a change, with a cost and a date.

An API inventory with endpoints, roles, and data sensitivity.

Authentication and token review: OAuth2, OIDC, API keys, and session behaviour.

Object-level authorization testing across roles and tenants.

Excessive data exposure and mass-assignment checks.

Rate-limit, resource-consumption, and abuse-case review.

Injection and input-handling checks for the API surface.

A findings report with evidence, impact, and remediation guidance.

A retest of the agreed fixes.

Delivery

How an engagement runs

  1. Scope

    We agree the API surface, the roles, the test accounts, the test window, and the stop conditions. GraphQL and REST are mapped separately where both exist.

  2. Map

    We review the specification, the gateway, the authentication flow, and the object model. Missing documentation is recorded as a finding, not treated as a blocker.

  3. Test

    We test authentication, object-level authorization, data exposure, rate limits, input handling, and business logic. Testing is authenticated where authorized and non-destructive by default.

  4. Validate

    Every candidate finding is reproduced manually. Scanner output is evidence to investigate, not a finding to forward.

  5. Report

    The report includes the endpoint, the role, the evidence, the business impact, and the remediation direction. Critical issues are separated from hardening advice.

  6. Retest

    After fixes, we retest the agreed findings and update the report. A retest is evidence of change, not a new guarantee.

APIs are a product surface

A web application hides much of its object model behind a UI. An API exposes it directly. The most common API failure is not an exotic injection; it is an object-level authorization gap that lets one user read or change another user’s data.

That is why the assessment starts with the object model and the roles, not with a scanner.

Object-level authorization

For each endpoint, we ask:

  • Which role can call it?
  • Which objects can that role access?
  • Can the identifier be changed to reach another tenant or user?
  • Is the check enforced server-side, or only hidden in the UI?
  • Does the same rule hold for bulk operations and exports?

OWASP API Security Top 10:2023 puts broken object-level authorization at the top for a reason. It is the most common and most damaging API defect.

Data exposure and rate limits

An API can return more data than the client needs. It can also allow unlimited enumeration, expensive queries, or abuse of a business workflow.

We review:

  • Response fields against the role and the screen.
  • Mass assignment and writable server-controlled fields.
  • Pagination and filter abuse.
  • Rate limits and resource consumption.
  • Error messages that leak implementation detail.

Spec-driven and manual testing

An OpenAPI or GraphQL schema makes coverage easier, but it is not the assessment. We combine the specification with manual testing of the authorization model, the business logic, and the edge cases the schema does not describe.

What this service is not

It is not a full red-team engagement, a denial-of-service test, or a compliance certificate. It is a scoped API security assessment with explicit evidence, limits, and a retest path.

Related work

See the approach in practice

Lab builds use synthetic data in the bworkx environment. Reference methods describe how the work is scoped and delivered. Neither is a client case study.

API security assessment method

Reference method — scope, mapping, authorization testing, evidence, and retest. Not a client engagement.

Read more

Questions

Before you ask

Do you test REST and GraphQL APIs?

Yes. REST, GraphQL, and RESTful JSON APIs are in scope. Each has a different testing model, so the scope and tooling are agreed before testing starts.

Do we need an OpenAPI specification?

A specification helps, but it is not mandatory. Without one, we map the API from the client, the gateway, and the observed traffic. Missing documentation becomes part of the findings.

Do you need test accounts?

Yes. Test accounts with the roles in scope are required to test object-level authorization and tenant isolation. Shared administrator accounts are not a substitute for role-based test identities.

Is this a penetration test?

It is a focused API security assessment that includes manual testing where authorized. It is not a full red-team engagement, a denial-of-service test, or a compliance certification.

Can you test production?

A staging or controlled environment is preferred. If production is the only option, we agree rate limits, data-handling rules, and stop conditions in writing before testing.

Application security

More in this practice

Other services in this practice. Each is scoped separately.

Threat modeling workshop

A facilitated workshop that maps trust boundaries, assets, and abuse cases, then produces a prioritized mitigation plan.

  • A system context and data-flow model with assets and trust boundaries.
  • A threat list built with STRIDE and abuse cases, plus domain-specific threats.
  • A risk ranking based on impact and exploitability.
  • Mitigations with owners, decisions, and residual risk.
See how it works

Dynamic application security assessment (DAST)

Authenticated runtime testing of web applications with OWASP ZAP, WSTG, and manual validation — non-destructive by default.

  • A written scope covering targets, roles, test windows, and stop conditions.
  • An authenticated baseline scan with OWASP ZAP.
  • Manual validation of authentication, session, access control, and business logic.
  • Configuration and header review for the deployed application.
See how it works

OWASP SAMM 2.0 maturity assessment

A structured assessment of your software assurance programme across the five SAMM 2.0 business functions and 15 practices, with a costed roadmap.

  • A scoped SAMM 2.0 assessment covering the relevant business functions and practices.
  • Interviews and evidence review with engineering, security, and product owners.
  • Maturity scores for coverage and quality, with the evidence behind each score.
  • A gap analysis tied to the organisation risk and delivery model.
See how it works

Next step

Start with the situation, not the solution.

Describe what is happening today, what has been tried, and what a good outcome looks like. We will tell you whether this service is the right fit.