# SaaS penetration testing: web application scope and evidence · SpectrAI

> Scope your B2B SaaS pentest: web application, APIs, roles and customer isolation. Reports, retests and a proposal based on the agreed scope.

URL: https://spectr-ai.eu/en/pentest-saas · Language: English · Legal publisher: RootZero · [Legal notice](https://spectr-ai.eu/en/mentions-legales)

[SpectrAI](https://spectr-ai.eu/en)SaaS penetration testing: web application scope and evidence

Selection guide

# Prepare the pentest of your *SaaS*.

Before a release or in response to a customer request, assess access to your web application and its APIs. SaaS scoping should define roles, test organisations, sensitive operations and the report its recipient expects.

By rootzero · 10 November 2026 · Updated on 15 November 2026

[Reproduce the isolation demonstration](#demo-isolation)[Start with your customer’s requirement.](#objectif)[Define web, API and integration boundaries.](#perimetre-saas)[Describe isolation between customers.](#isolation-clients)[Agree the environment to assess.](#production)[You built your application with AI.](#application-creee-avec-ia)[Prepare fixes and their verification.](#rapport-et-retests)[Request a comparable proposal.](#devis-saas)

Fictional permissions to scope for a multi-tenant SaaS; no testing performed
| Situation | Expected permission to confirm | Preparation needed |
| --- | --- | --- |
| A member reads an object from their organisation | Allowed according to their role | Dedicated account and identified test object |
| The same member requests an object from another organisation | Denied | Two fictional organisations and their objects |
| A customer administrator acts on another customer | Denied if their role is limited to their organisation | Distinguish customer and platform administrators |
| A user exports data or invites a member | Allowed or denied according to the business contract | Expected permissions and authorised side effects |

Reproducible demonstration

## Observe the permissions *actually granted*.

A member of customer A requests an invoice belonging to customer B. The server has authenticated the member, but must still check permission on that object. In this fictional example, the first handler omits authorisation checks; the second checks the object’s organisation and the role required to change it.

The API kit’s eight expectations are exercised with local HTTP requests: four violations before the fix, then eight expectations met. Denied access also checks that no invoice data is returned. Additional controls return 401 without a token and 403 despite a forged tenant header.

Download the program, then run “node demo.mjs” with Node.js 24. It opens only temporary servers on 127.0.0.1, uses in-memory invoices and rejects target arguments. Demo tokens simulate authentication; they do not validate JWTs or SSO.

Responses observed in the fictional program; allowed access = 200, expected denial = 403.
| Case | Identity and object | Operation | Expected | Before | After |
| --- | --- | --- | --- | --- | --- |
| C01 | viewerA / invoiceA | GET | Allow | 200 | 200 |
| C02 | viewerA / invoiceB | GET | Deny | 200 | 403 |
| C03 | viewerB / invoiceB | GET | Allow | 200 | 200 |
| C04 | viewerB / invoiceA | GET | Deny | 200 | 403 |
| C05 | editorA / invoiceA | PATCH | Allow | 200 | 200 |
| C06 | viewerA / invoiceA | PATCH | Deny | 200 | 403 |
| C07 | adminA / invoiceA | PATCH | Allow | 200 | 200 |
| C08 | adminA / invoiceB | PATCH | Deny | 200 | 403 |

Execution recorded on 15 November 2026. The results file records requests, responses, Node version, and hashes of the program and fixture. These results apply only to this fictional program; they do not measure SpectrAI coverage or performance or establish anything about your SaaS. Exports, invitations, sharing, database access and other workflows require their own checks.

-   [Local program without dependencies](https://spectr-ai.eu/ressources/isolation-saas/demo.mjs)
-   [Observed results and hashes](https://spectr-ai.eu/ressources/isolation-saas/resultats.json)
-   [Instructions and limitations](https://spectr-ai.eu/ressources/isolation-saas/README-en.md)

**01** Choosing a service

## Start with your customer’s *requirement*.

To address a pentest request, prepare a report whose scope, evidence, limitations and remediation your customer can examine. Obtain their written criteria for the method and deliverables before selecting an engagement.

SpectrAI uses AI agents for testing and automatically publishes a report with evidence and remediation recommendations. Your team can examine findings and request verification of fixes. Confirm whether this method meets the recipient’s needs, particularly where human-led testing or review is required.

**02** Choosing a service

## Define web, API and integration *boundaries*.

Name the application, environment and authorised domains. List workflows to examine: login, account recovery, member management, reading, changing and exporting objects. Associated APIs should match the agreed scope.

Payment, e-mail or SSO providers may take part in these workflows. Specify permitted effects and exclusions. The offer covers one agreed application and environment; it does not include source-code review or a general audit of your cloud provider.

**03** Choosing a service

## Describe isolation between *customers*.

Prepare dedicated accounts in at least two test organisations if the scope is to examine their separation. For each role, identify accessible objects and expected actions. An organisation administrator does not necessarily have platform-administrator permissions.

Denied access and an empty response do not mean the same thing as an authorised read. Evidence should connect the identity, organisation, object and data or actions actually accessible. The fictional matrix above helps document expectations; it does not measure engagement coverage.

[Adapt the fictional API permission matrix](https://spectr-ai.eu/en/pentest-api#kit-cadrage) · [Reproduce the local demonstration](#demo-isolation)

**04** Choosing a service

## Agree the environment to *assess*.

Representative staging can support fictional data and bounded operations. Document differences from production: authentication, configuration, integrations and the assessed version. Results remain tied to that environment.

For a production assessment, define accounts, test data, prohibited operations, the window and stopping procedure before launch. Keep secrets and customer data out of commercial enquiries.

**05** Choosing a service

## You built your application with *AI*.

For an application built with Lovable or using Supabase, describe the deployed application, authorised APIs and test accounts. The project must support domain-ownership verification and authorisation of operations. Your application scope remains separate from the development platform or database provider.

Examine the scope of checks built into your development tool. Lovable, for example, documents code and configuration scans alongside dynamic-testing integrations. Compare workflows, roles, versions and evidence actually covered before requesting a complementary assessment. The SpectrAI proposal should confirm access and limitations; it does not include source-code review.

**06** Choosing a service

## Prepare fixes and their *verification*.

Request a sample report showing scope, prerequisites, evidence, impact, remediation and limitations. Retain the assessed version and blocked access to understand what the report establishes. A score alone does not replace these details.

A SpectrAI engagement includes 2 retest batches within 60 days of the report. A retest checks fixes for the relevant findings; a new version with new workflows or a different scope may require a new assessment.

[See the sample report](https://spectr-ai.eu/en/exemple-de-rapport)

**07** Choosing a service

## Request a comparable *proposal*.

Provide each supplier with the same application, environment, roles, organisations, integrations and expected deliverables. State the project deadline and recipient’s criteria. URL count alone does not describe the complexity of permissions and business workflows.

SpectrAI pricing and availability are confirmed in the proposal after scoping. Start with what you know: the application, objective and deadline. Roles, access and constraints that remain unknown are clarified during scoping.

[Compare proposal scope and deliverables](https://spectr-ai.eu/en/offres#comparer-devis)

Common questions

## Clarify your *choice*.

When should a SaaS product undergo a pentest?

A release, a significant permission change or a customer security request may justify assessment. Choose the version, workflows and report recipient before fixing the scope.

Which accounts are needed to assess tenant isolation?

Dedicated accounts for the agreed roles and organisations, with fictional objects and written expected permissions. One administrator session cannot describe separation between two customers.

Will my customer accept the report?

Confirm their expected method and deliverables before ordering. SpectrAI publishes reports automatically; a human-led testing or review requirement needs explicit consideration and cannot be assumed satisfied.

What does a SaaS pentest cost?

The proposal specifies the price after scoping the application, environment, roles and workflows. Also compare evidence, debrief, limitations and agreed retests.

How should I scope a pentest for a Lovable or Supabase application?

Describe the deployed application and APIs you are authorised to have tested, then test accounts, roles and objects. Domain ownership, access and exclusions need confirmation before an engagement. An assessment of your application is not a general audit of Lovable or Supabase.

Does a pentest guarantee my SaaS has no vulnerabilities?

No. The report describes findings established under the engagement conditions and the limitations encountered. Product changes and fixes should inform your security cycle.

## Examine the *references*.

rootzero, the maker of SpectrAI, publishes this guide to help you scope an engagement and review its evidence and deliverables.

-   [OWASP Web Security Testing Guide 4.2](https://owasp.org/www-project-web-security-testing-guide/v42/)
-   [SpectrAI methodology](https://spectr-ai.eu/en/methodologie)
-   [SpectrAI sample report](https://spectr-ai.eu/en/exemple-de-rapport)
-   [Prepare an API pentest](https://spectr-ai.eu/en/pentest-api)
-   [OWASP API1: Broken Object Level Authorization](https://api-security.owasp.org/editions/2023/en/0xa1-broken-object-level-authorization/)
-   [OWASP API5: Broken Function Level Authorization](https://api-security.owasp.org/editions/2023/en/0xa5-broken-function-level-authorization/)
-   [Lovable: security overview](https://docs.lovable.dev/features/security)
-   [About rootzero](https://rootzero.eu/en/about/)

### Continue your comparison.

Move from definitions to selection criteria, deliverables and terms.

[Automated AI pentesting: scope, evidence and retests](https://spectr-ai.eu/en/pentest-ia)

## Scope your next *pentest*.

Business, MSP or consultancy: describe the scope, access and deadline. We agree the proposal with you.

[Scope my SaaS pentest](https://rootzero.eu/en/contact/?subject=spectrai&need=saas&content=saas-guide) [MSP and consultancy partner programme](https://spectr-ai.eu/en/partenaires)

## Explore tools and *agents*.

[Cybersecurity AI agents and multi-agent systems: uses, evidence and limits](https://rootzero.eu/en/research/cybersecurity-ai-agents-multi-agent/)

[Follow articles and research through RSS](https://rootzero.eu/en/feeds/)
