API & identity

API security testing checklist: identity, data, and cost

An API security testing checklist should cover who is calling, which objects and actions they can reach, what data is returned, and how much work the service can be asked to perform. Review browser, mobile, integration, and background-job paths against the same intended boundaries.

What matters first

  • Inventory endpoints and identities, including older versions and internal integrations.
  • Check object, property, and function access independently.
  • Include resource consumption and asynchronous processing in scope.

Build an endpoint and identity inventory

Collect API definitions, gateway routes, deployed versions, integration documentation, and observed application workflows. Compare them with the services actually running. A documented API collection is a starting point, but it can omit old endpoints, administrative operations, and routes used only by mobile clients.

List identities alongside endpoints: anonymous users, customers, organization administrators, support staff, service accounts, and incoming webhooks. Identify the data and actions each identity should access. This turns a generic endpoint list into a testable model of the product’s trust boundaries.

References: [1] OWASP, [2] OWASP

Test authorization at the right level

Authentication establishes an identity; it does not decide ownership of every object or permission for every operation. Check whether a user can read or change only the records they are permitted to reach, whether response fields are appropriate, and whether privileged functions require the correct role.

Use accounts and records created for the review. Compare allowed and disallowed behavior across organizations and roles, including exports and queued work. A protected UI button is not evidence that the underlying API applies the same rule. Verify decisions where sensitive operations execute.

References: [3] OWASP, [4] OWASP

Review input paths and consumption boundaries

Trace untrusted values through validation, data stores, file handling, outbound requests, and third-party services. Review how errors are returned and whether sensitive data is exposed. Different endpoints can share code while having different authentication or deployment conditions.

Inspect limits for request size, pagination, batch operations, concurrency, processing time, and billable integrations. A request-rate threshold alone may not constrain an expensive export or an AI operation. Consider limits per user, tenant, endpoint, and shared resource, based on the product’s intended use.

References: [5] OWASP, [2] OWASP

Verify a fix and preserve useful evidence

For a confirmed finding, record the caller’s role, object ownership, expected result, observed result, and affected version. This helps developers reproduce the boundary with synthetic data and choose a correction. Keep sensitive request details in the agreed evidence store.

Retest the original failure and neighboring cases, then check legitimate behavior. Include asynchronous consumers, alternate API versions, and integration identities where the same policy should apply. A successful test of one route should not be generalized to every route that handles the same business object.

References: [6] OWASP, [7] OWASP

Your next steps

  1. Reconcile deployed routes with documentation and identify endpoint owners.
  2. Create a role, action, and object matrix using safe test accounts.
  3. Select high-impact data and resource-consumption paths for scoped review.
  4. Record remediation criteria and book a call to discuss coverage.

Questions teams ask

Is an OpenAPI specification enough for API testing?

It helps inventory expected behavior, but it may omit deployment differences, authorization rules, older routes, and business workflows that need additional context.

Can a scanner test tenant isolation completely?

Automation can support checks, but correct tenant behavior depends on the product’s ownership and role rules. Representative accounts and expected outcomes are needed.

Sources and editorial notes

Public-source facts are cited above. The review questions and action plans are Cyphen’s guidance for applying those lessons to your own systems. Sources checked on .

  1. OWASP: API Security Top 10
  2. OWASP: REST Security Cheat Sheet
  3. OWASP: API1: Broken Object Level Authorization
  4. OWASP: Authorization Cheat Sheet
  5. OWASP: API4: Unrestricted Resource Consumption
  6. OWASP: Web Security Testing Guide
  7. OWASP: Application Security Verification Standard