Ownership-verified · Authorized testing

API security testing for SaaS

API security testing for SaaS is authorized testing of the interfaces your product actually exposes to web clients, mobile apps, partners, and background jobs — with particular attention to authorization between users and tenants.

A conventional crawl of public pages will miss most of that surface. Endpoints that are only called from a JavaScript bundle, a mobile client, or a Server Action are still APIs. If authorization is enforced only in the user interface, the API is unprotected.

BreachSweep provides ownership-verified API security testing for multi-tenant SaaS. We focus on object-level authorization, tenant scoping, and webhook handling, and we report only findings we can reproduce. A Deep Logic Sprint is delivered in 24 hours, with drop-in fixes and a free retest of a fixed finding within 30 days.

Choose a plan

Why SaaS APIs fail authorization

SaaS APIs concentrate risk in a few recurring places:

  • The same endpoint serves many customers, so a missing ownership check leaks or changes another tenant’s objects.
  • Clients are diverse. A check that exists in a React view is irrelevant to a direct request from cURL, a mobile app, or a partner integration.
  • New routes appear often — including ones never linked in the UI. Framework features such as Next.js Server Actions compile into HTTP endpoints that must enforce auth on the server. See Next.js Server Actions.
  • Batch operations, search, and exports use different code paths than a single-record GET, and those paths are often where scoping is dropped.

Our testing is built around those facts, not around a generic list of known CVEs.

Object-level and function-level authorization

Object-level authorization (BOLA / IDOR) asks whether a caller can operate on an object they do not own by changing an identifier. Function-level authorization asks whether a caller can invoke an operation reserved for another role — for example a billing export, an admin invite, or a tenant-wide delete — simply by calling the route.

In an authorized test we use more than one identity you control and we attempt:

  • Read, update, and delete of another user’s or tenant’s objects
  • Privilege or role changes that the caller should not be able to perform
  • Access to admin-only or internal routes that are reachable without the expected role

A fuller method for object-level tests is on our IDOR testing page. Isolation across organizations is covered in tenant isolation testing.

Batch endpoints and GraphQL

Bulk routes and GraphQL mutations deserve explicit attention. A handler may authorize the first ID in an array, then apply the operation to every subsequent ID without repeating the check, or it may issue WHERE id IN (...) without an org_id (or equivalent) predicate.

We test batch create, update, delete, and export endpoints that are in scope, including cases that mix the caller’s own IDs with identifiers from another test tenant. GraphQL is treated the same way: listed fields, mutations, and aliases do not get a free pass because they arrived in one document.

For the remediation pattern, see Batch API IDOR.

Authn vs. authz

Authentication answers “is this a valid session or token?” Authorization answers “may this identity perform this action on this object?” API security testing for SaaS has to separate the two.

We check whether protected routes actually require a valid session, whether tokens are accepted in unexpected places, and whether a well-authenticated user is still confined to their tenant and role. A correctly issued JWT is not a substitute for an ownership check on every query.

We also look at obvious session issues when they appear in scope — for example, whether logout is only a client-side effect — but the center of the work is authorization in a multi-tenant API, not a generic token tutorial.

Webhooks and callbacks

Inbound webhooks are APIs that often skip the user session entirely. If the handler does not verify a signature on the raw body, an unauthenticated request can change billing or tenant state. If it is not idempotent, a retry can double-provision seats or credits.

When webhooks are in scope, we test verification, replay handling, and the application’s state updates. See also Stripe webhook desyncs and our business logic testing page.

Plans

  • Recon Sweep — $149, report in 4 hours. Public attack-surface and route exposure, including JavaScript bundle API route mapping, CSP and CORS review, and exposed cloud or framework secrets. This is discovery and public exposure, not a full authenticated API test.
  • Deep Logic Sprint — $349, report in 24 hours. Authorized, authenticated testing of API authorization, tenant scoping, and checkout logic, including Recon coverage. Reproducible PoCs and drop-in fixes. A fixed finding that you apply can be retested at no extra charge within 30 days.
  • Watchdog — $99/month. Weekly automated re-scans of your public attack surface, with alerts on newly exposed endpoints.

Choose a plan. A sample report illustrates the format with demo data. For the wider engagement model, see SaaS penetration testing. If you only want a read-only look at public JavaScript and obvious Supabase exposure, use the free SaaS security scan.

Work is directed by researchers with authorized red-team experience for large enterprises, including DAX companies and Fortune 500 platforms. Testing starts only after ownership verification. We do not need private GitHub access for a standard external test. An OpenAPI or Postman collection is helpful when you have one, but it is not required; we also discover routes from the running application and, where applicable, from public bundles.

All research articles

FAQ

What does API security testing for SaaS include?+

Authorized testing of the APIs your product exposes, with emphasis on object-level and function-level authorization, tenant scoping, batch and GraphQL routes, and webhook handlers that are in scope. Findings are reported only with a reproducible proof.

Do you need an OpenAPI specification?+

No. A spec or collection helps coverage, but we can work from a running app, public JavaScript, and the credentials you authorize.

Is an unauthenticated scan enough?+

No. Most authorization failures appear only with a valid session and a second test identity. Recon and the free scan address public exposure; they do not replace authenticated API testing.

Do you test Next.js Server Actions?+

When a Next.js app is in scope, Server Actions are treated as HTTP endpoints. UI hiding is not authorization. See our Server Actions write-up for the background.

Will testing change customer data?+

Tests are scoped to targets and tenants you authorize, and are intended to avoid damaging customer data. Ownership verification is mandatory.

How are results delivered?+

A Deep Logic Sprint is delivered in 24 hours and includes a dashboard, an executive PDF, reproducible PoCs, and drop-in fixes, plus a 30-day retest of a fixed finding.