Authorized · Tenants you control

Tenant isolation testing for SaaS

Tenant isolation testing answers one high-consequence question: can a user, integration, or process acting for organization A read, change, or indirectly influence organization B’s data? If the answer is yes, the product’s core promise is broken, even when login works and the public site looks tidy.

BreachSweep performs authorized, ownership-verified tenant isolation testing for SaaS. We exercise the tenant boundary on tenants you control, require a reproducible proof for every reported finding, and include drop-in fixes. This work is part of a Deep Logic Sprint, delivered in 24 hours.

Choose a plan

What tenant isolation testing must prove

Isolation is an invariant, not a checkbox on one endpoint. It must hold wherever tenant data is read, written, listed, searched, exported, cached, or processed in the background. A useful test tries to violate that invariant, not only to confirm that a happy-path request returns the caller’s own records. For each relevant operation we want a clear result:

  • An identity for tenant A cannot read a marker that belongs only to tenant B.
  • The same identity cannot modify, delete, or attach itself to B’s objects.
  • List, search, and export endpoints do not include B’s records in A’s result set, including in pagination, filters, or secondary fields.
  • Asynchronous work — jobs, webhooks, reports, and notifications — does not run with the wrong tenant context or leak B’s data into A’s channels.

A useful finding states the exact request, the precondition, the proof (a synthetic marker, not a real customer’s file), and the layer at which the invariant should have been enforced.

Where isolation usually breaks

Cross-tenant failures rarely sit only on GET /items/{id}. They appear wherever the application trusts an identifier or a context the client can influence:

  • Direct object access. Changing an ID in a path, query string, or JSON body to reach another tenant’s record — the classic IDOR / BOLA case. See IDOR testing and The UUID Fallacy.
  • Batch and bulk routes. Single-record endpoints may check ownership, while /batch-delete, bulk patch, or GraphQL mutations apply a weaker check, or a check only on the first ID. See Batch API IDOR.
  • Search, analytics, and shared indexes. A query that filters in the application after fetching a wider set, or that omits org_id in the database predicate, can return another tenant’s documents.
  • Exports, files, and signed URLs. CSV downloads, invoice PDFs, buckets, and long-lived signed URLs sometimes skip the same authorization as the HTML UI.
  • Tenant context in headers or subdomains. If the server honors an X-Tenant-Id header, a slug, or a body field instead of the tenant bound to the verified session, isolation depends on client honesty.
  • Background jobs and webhooks. A job that reloads an object by ID without tenant scope, or a webhook that provisions the wrong organization, crosses the boundary after the HTTP request has finished.

Admin and support tools deserve the same scrutiny. A “view as customer” path that is only hidden in the UI is still a tenant boundary.

How we test with tenants you control

Authorized isolation testing should not trawl real customer data. Our approach:

  1. Ownership is verified first. Paid testing does not start until you prove control of the target, for example with a DNS TXT record or an HTTP token.
  2. You provide (or we help you create) two or more tenants you own, with synthetic records and recognizable markers. Cross-tenant attempts stay inside those tenants.
  3. We authenticate as tenant A and request tenant B’s objects across reads, writes, lists, exports, batch APIs, and, where in scope, jobs and webhook handlers.
  4. Proof stays minimal. A cross-tenant read is shown with the marker, not by downloading a collection “to make sure.” If a response suggests an out-of-scope, real customer object, we stop and treat that as an incident path, not as extra evidence.
  5. Every reported finding includes a reproducible request, typically a cURL proof, plus a drop-in fix. A fix you apply can be retested at no extra charge within 30 days.

This is authorized work, directed by researchers with years of red-teaming experience for large enterprises, including DAX companies and Fortune 500 platforms. It is a core part of SaaS penetration testing, not a scan of public headers.

RLS and application-layer checks

In shared-database designs, Row Level Security can be an important enforcement layer. It is not a substitute for a complete isolation test. Policies must be exercised through the same role, connection, and pooling mode the application uses. A check that runs as a table owner can make a sound policy look broken, or hide a bypass the app would actually allow. A clean SQL policy also does not help if the API queries as a privileged service account and filters in the client, or if files, search, and exports never touch that policy.

The application should derive tenant context from a verified session or token and enforce it in every query and store. Client-supplied organization IDs are hints, not authorization.

If you only need a first look at public exposure, such as a reachable PostgREST surface or a leaked client key, start with the free SaaS security scan. That scan cannot prove tenant isolation.

Deliverables and plans

Tenant isolation testing is included in the Deep Logic Sprint — $349, report in 24 hours — alongside authenticated checks of access control and checkout logic. You receive an interactive dashboard, an executive PDF, reproducible PoCs, and drop-in fixes.

Recon Sweep — $149, report in 4 hours maps the public attack surface and exposed routes. It is useful preparation, but it is not an isolation test.

Watchdog — $99/month re-scans the public surface weekly and alerts on newly exposed endpoints. It does not replace authenticated isolation testing after you ship new list, export, or batch features.

Choose a plan. A sample report shows the shape of a deliverable using demo data, not a real customer.

All research articles

FAQ

Why do you use two test tenants?+

Isolation is a relationship between identities. A single account only shows what that account can see. Two or more tenants you control, with synthetic markers, let us show whether A can reach B without touching another customer’s data.

Will you test with real customer data?+

No. Cross-tenant checks belong on tenants you own, with synthetic records. We do not prove a weakness by retrieving a third party’s data.

Is enabling Supabase RLS enough?+

RLS is valuable when the application queries through the restricted role and every path to the data uses that policy. It does not by itself cover search indexes, files, exports, batch routes, or queries issued with a privileged key. Those paths still need testing.

How is this different from a public security scan?+

A public scan sees what an unauthenticated visitor can retrieve. Isolation failures typically appear only after login, often on list, batch, or export routes. Proving them requires an authorized, authenticated test.

Do you need our source code, and can you retest a fix?+

Source code is optional for a standard external test; we do not require private GitHub access. A reported finding that you fix can be retested at no extra charge within 30 days.