The average total cost of a global data breach was $4.99 million while that of a multi-environment cloud incident was $5.05 million with an average containment and identification time of 276 days.
This level of financial exposure resulted in the fastest growing global security verification market in history, which grew from $15.09 billion to $18.56 billion, and is projected by Research and Markets to reach $41.64 billion.
This guide methodically breaks down the critical components of a multi-tenant attack surface. It provides high-level analysis and commentary on important aspects of automated scanning workflows, offensive delivery models and empirical pricing information to assist with the development of a comprehensive release-ready verification programme.
Modern Cloud Software and SaaS Security Testing
Vendor blogs typically treat SaaS security as an exercise in web application testing, pointing to OWASP's 10 most common security vulnerabilities and encouraging engineering teams to run their vulnerability scanners within their deployment pipeline. However, this approach fails when working with software deployed to production.
Many modern cloud services utilize a shared database across multiple tenants, utilise microservice architectures, rely on delegated identity tokens, which allow for third parties to connect without the tenant's knowledge. Therefore, many generic attack surface vulnerability scanners will not be able to effectively recognise the complexities of these multi-tenant environments during saas security testing. They will not be able to identify vulnerabilities present within the underlying application layer.
Application Layer Flaws and SaaS Security Testing
The risks associated with multiple corporate customers sharing the same underlying application instance (e.g., a SaaS vendor) and database stores generally entails more than simply a misconfigured server. The real risks are found in the application business logic and logical authorisation boundaries which separate these customers. As most of the major security vendor companies (e.g., Reco, The Cyphere) correctly point out, the true attack surface lies within the tenant's identity, APIs, OAuth scopes, and tenant isolation.

What Standard Scanners Miss in SaaS Security Testing
Tenant isolation is a critical aspect of multi-tenant applications. Multi-tenant applications store records for thousands of different organisations in the same shared database table and/or shared logical schemas. The only thing that separates each organisation's records is a tenant identifier column.
When a developer creates a database query or caching logic without checking whether the requesting user belongs to the specified tenant ID, the isolation of tenants ceases to exist; Customer A now has access to Customer B's sensitive information (i.e., read, alter, delete).
From a scanner's perspective, a returned JSON receipt does not indicate to which organization the record pertains. To a scanner, an HTTP 200 response containing valid data is simply interpreted as a normal working application. A more structured manual saas security testing process is required to identify cross-tenant data leakage. This is where an analyst holds active sessions on two separate test tenants concurrently.
Using an intercepting proxy such as Burp Suite or OWASP ZAP, an analyst captures a legitimate request originating from a Tenant A session, swaps the session credentials or tenant headers with the credentials from Tenant B, and replays that request. If the server returns data belonging to Tenant A and does not return an authorization error, the platform has experienced a significant failure in tenant isolation. Auditors and enterprise customers will consider any cross-tenant isolation breach as a critical factor in procurement reviews.
Additionally, broken object-level authorization (BOLA) and mass assignment are the primary ways API endpoints are exploited to gain access to sensitive data. Based on AppSecure and NetSPI data, BOLA is still the most common and damaging vulnerability found in cloud platforms.
In many cases, BOLA occurs because the API endpoint checks that the user is authenticated, but fails to verify that the authenticated user is authorized to access a specific object ID. In the example of an actual grey-box test, an analyst logs into a low-privileged viewer account on Tenant A and intercepts a GET or PATCH request to /api/v2/invoicing/84920. Upon changing the amount to 84921 (£ 84921) - an invoice assigned to a user in the executive tier or another company altogether - the analyst tests on the backend whether object-level controls are in place.
The issue of mass assignment also poses a parallel risk to write APIs as developers typically map incoming JSON request body data directly into an internal data model. This minimizes coding effort, at least in the short term. Should an API endpoint allow a profile update, an attacker who can send a request containing hidden fields such as "role": "super_admin" or "tenant_id": "org_999" will be able to do so alongside the regular fields of name and email. Mass assignment combined with the use of unsafe HTTP request methods and weak authentication headers will permit any normal user to escalate their privileges throughout the entire platform.
Identity Controls and OAuth Scope Abuse
Today, nearly every cloud application no longer manages its authentication mechanisms in isolation. Instead, these applications connect to enterprise single sign-on services; require MFA; create and issue JSON web tokens; and connect to hundreds of external workspaces via OAuth grants. Each connection adds risks associated with state management to the solution ecosystem, such as session fixation, improper token expiration, and weak IAM enforcement.
Research conducted by Reco indicates that a significant portion of modern software is increasingly oblivious to the impact of OAuth scope abuse and third-party integration trust relationships. When a user connects Slack, Salesforce, Google Workspace, or a corporate/internal data warehouse to a cloud platform, the application will request delegated permissions from the user via OAuth-scoped tokens. To make life easier for engineering teams when developing new features, the industry allows engineering teams to request a higher level of access than what their system would normally require.
The downside of this practice is that if an attacker is able to compromise either an integration webhook or gain access to such an access token, having that token allows them to completely bypass any front end login mechanisms that are in place (e.g., MFA). Furthermore, there are numerous areas where verification workflows fall short, including token storage methods, token refresh rotation methodologies, immediate termination of active sessions upon revocation, and the possibility for integration abuse of third-party integrations to extract customer data without detection.
Product Maturity and SaaS Security Testing Scope
In addition, when examining verification scope in regards to product maturity, an area where the guidance comes up short is in the fact that there are very few software companies that look alike. Therefore, saas security testing could be wasteful if used to satisfy the demand for buyers based upon company maturity.

For example, at the early stages of the MVP and Series A phases of a software company, security validation is primarily an enabler of revenue. Enterprise buyers will not enter into contracts unless there is independent validation that customer data is secure. To that end, they require some form of SOC-2 Type I or Type II report, along with a letter of attestation from an external penetration tester confirming that there were no significant business logic vulnerabilities within the software's source code.
Companies at this phase typically rely on automated compliance management platforms (such as Drata or Vanta) to manage the overall controls surrounding basic infrastructure (i.e. who has access to what), employee background check requirements, and documentation policies.
While Drata and Vanta are good platforms, they do not test for exploitable weaknesses in the application's source code related to business logic. A Series A company should conduct a focused grey-box testing of their application using the OWASP Testing Guidelines and Penetration Testing Execution Standard (PTES) framework. Core authentication flows, role-based access control, password reset mechanisms and primary API endpoints will be the primary areas of the application that the test will cover.
A large-scale crowdsourced bug bounty program during MVP stage will not be successful because there is often not enough engineering staff for triaging researcher's reports that contain many false positives. It is better to conduct a fixed-scope assessment or targeted penetration testing as a service (PTaaS) engagement, as this will produce methodology documentation, rationale for each finding, and a retest verification letter that will be required for enterprise procurement.
When a company moves past Series B and begins to rapidly accelerate the velocity at which products are released, the architectural complexity will also rapidly increase. The engineering teams will begin breaking apart monoliths and creating microservices, creating public APIs for their customers to use, and deploying new code dozens of times a day. The annual penetration test previously completed will be rendered obsolete within a few weeks of completion as the addition of new features continues to change the attack surface.
During this growth stage, it will become necessary to split the verification program into two paths. The first will be automated SAST and SCA running inside the continuous integration (CI) and continuous deployment (CD) process and executed against every PR; the second path will require security engineers executing targeted regression tests on each major multi-tenant feature released or altered permission production model once a product team assesses.
Enterprise-Scale and AI-Enabled Cloud Environments
In the case of mature enterprise platforms, they will operate across multiple cloud providers, process regulated financial or healthcare records, and increasingly leverage the power of large language models to support the product workflows for their customers. Organizations subject to strict regulatory oversights like GDPR, PCI DSS, & ISO 27001, suffer an estimated average breach cost associated with multiple environments of almost $5.05 million and 276 days on average to identify and contain the incident, according to Axis Intelligence's analysis of IBM data.
Organizations' security leaders must coordinate their CSPM and CTEM (Continuous Threat Exposure Management) initiatives. In addition to standard code and API verification, the scope of enterprise-wide security programs should include the examination of cloud infrastructure configuration, permissions governing container orchestration, continuing to maintain isolation between training data by tenants in AI products, and constantly evaluating vulnerability assessment tools using offensive techniques.
For enterprise organizations this requires combining internal red teams and programmatic penetration testing as a service (PTaaS) platforms to systematically evaluate the effectiveness of their respective defense mechanisms on a continuous yearly basis employing complex multi-tiered attack vectors.
Automated Scanning vs. Manual Offensive Assessments
Although an imprudent reliance exclusively on automated scanning of vulnerabilities is an extremely costly mistake for an ICT (information & communications technology) business leader, equally egregious is paying manual penetration testers $300 per hour to merely point out the existence of an outdated open-source library. A robust DevSecOps program should designate specific tools to help prevent certain classes of vulnerabilities to be effectively monitored by those same target tools.

Comparing Static Application Security Testing to Software Composition Analysis
Static Application Security Testing is performed on source code before it can be compiled or deployed as an application, where software composition analysis examines the open-source products and third-party components organizations integrate into their software products for potential known vulnerabilities. Given that most of the libraries being used by modernized cloud applications are open-source products, utilizing SAST and software composition analysis as a part of the development lifecycle for secure applications (Secure SDLC) should be a requirement.
Engineering leaders have the option of selecting either enterprise offerings like Checkmarx, Veracode, SonarQube, and OpenText Fortify, or a developer-oriented platform such as Snyk Code, Semgrep, GitHub Advanced Security, GitLab SAST and CodeAnt. New companies such as Novee, Apiiro, and Endor Labs take this to the next step by matching the modifications to code and reachability of the dependency path to find out if a function from a vulnerable library is actually being executed in production.
A big problem for static scanning tools is the amount of alerts sent out. When a developer gets too many false positive alerts from the scanning tool (because the tool used to detect vulnerabilities in code does not have access to the environment where the code is being run), the developer will ignore the tool altogether. Security engineers now need to fine-tune the rulesets of their SAST scanning tool, such as Semgrep or Snyk Code, to only block application builds based on high-confidence, reachability-related vulnerabilities.
DAST and Dynamic Application Security Testing
Unlike static application security testing tools (SAST), DAST allows for sending invalid requests from outside the application in order to detect runtime security vulnerabilities and server configuration issues. OWASP's ZAP, Burp Suite Professional, and Astra are examples of DAST tools. The types of vulnerabilities that DAST can automatically find include missing security headers, reflected injection flaws, exposed administrative panels, etc.
However, due to the emergence of modern single-page applications, complex multi-step checkout processes, and stateful API interactions, DAST tools will often fail to correctly detect runtime vulnerabilities in an application. If an application forces a user through multiple steps, such as requesting a short-lived token, creating a workspace, inviting a team member, and approving permission changes, it is often impossible for automated scanners to crawl through the workflow.
In these situations, human testers using tools like Burp Suite and Postman are essential for manual penetration testing. Testers will either build out custom Postman collections or use OpenAPI specifications given by the engineering team. Then the tester will be able to map out each of the API routes and determine the business context for each of the parameters being sent to the API, as well as create custom payloads. Analysts using white-box testing methods can access application source code and application documentation so that they can locate significant vulnerabilities more efficiently.
While grey-box testing involves emulating a logged-in user with common client credentials, black-box testing involves simulating a customer who has not yet taken any security precautions by providing his/her information to the application on the internet as a malicious attacker. For multi-tenant cloud-based software products, using grey-box testing in conjunction with white-box testing will yield the highest quantity of defects identified per total dollar expense incurred by organizations.
Consolidating Results and Managing False Positives in SaaS Security Testing
The standard vulnerability tracking approach for any organization creates multiple data sources when the organization scans sources of information (e.g., using Snyk Code on code repositories), scans production servers and staging servers (e.g., using OWASP ZAP), conducts checks on cloud security posture management (CSPM), and periodically brings in independent assessments through third-party security assessment vendors. Therefore, when organizations conduct all the various scans, and create separate dashboards with each one of those scans, tracking the remediation of those vulnerabilities will become nearly impossible without centralizing the data.

The highest-performing security teams will use a unified vulnerability management (VM) hub, such as DefectDojo, to aggregate all automated and manual output into one single location. They will combine outputs from GitHub Advanced Security or Semgrep (utilizing SARIF files) with manual reports (in PDF or CSV format) into DefectDojo, allowing teams to remove duplicated alerts. Additionally, security engineers can definitively validate if the flaw flagged by a dynamic application security testing scanner is protected by the front-end (upstream) application programming interface gateway before opening an engineering ticket in the Jira environment.
Vendor Business Models and SaaS Security Testing Economics
Deciding how to procure external security testing requires buyers to look beyond vendor marketing materials. At the time of purchase, most buyers will compare traditional security consulting companies (e.g., NetSPI or The Cyphere), penetration testing as a service (PTaaS) companies (e.g., Cobalt, Synack, or HackerOne), and crowdsourced bug bounty program vendors (e.g., HackerOne or Bugcrowd). Each of these security delivery/models has different attributes affecting speed and expense and the magnitude of the audit trade-offs associated with them.
In traditional security consulting models, you negotiate through the SOW phase with a consultant for three to four weeks, may wait two to three weeks for them to be available to do testing with a small group of consultants for two weeks, and receive a detailed PDF report once the testing is completed. A significant benefit of working with an independent consultant is having a high degree of consistency and an extensive focus on methodology, particularly related to complex business rules.
Many PTaaS providers—such as Cobalt, Synack, and HackerOne—are modernizing this process by providing a software portal where all of the components of the traditional process are accessible to the security buyer.
The security buyer is able to perform all of the scoping, scheduling, real-time notifications of findings, and direct communication (similar to Slack) with their testers from the same portal. Engaging in a traditional model results in the buyer receiving a static PDF, whereas with a PTaaS provider you receive validated incidents in real time (as soon as the researcher finds them). This allows engineering teams to begin addressing critical vulnerabilities while still in the middle of testing.
Pricing Visibility and Credit Container Concerns
The procurement team often expresses frustration with pricing opacity in the offensive security industry. For example, Synack publishes clearly defined starting baseline prices: $4,181 for an AI Sara Pentest, $10,283 for a Standard Pentest, and $27,120 for a 14-day Synack14 assessment. These prices provide security buyers with a point of reference when developing their annual budgets.
In addition, contracts that are based on credits for PTaaS models are subject to more thorough legal review than traditional contracts. In the Cobalt model, buyers purchase a pool of credits (with 1 credit equaling about 8 hours of tester effort), with the average cost of entry packages being around $8,500.
In addition, both G2 and Reddit forums (through user reviews and practitioner discussions) indicate that there are significant operational challenges surrounding how credits operate in practice.

G2 reviews have indicated that the pricing of credits can be difficult to understand because it can change based on different application scopes. It is often prohibitive in cost for smaller organisations and also contains strict limits on the number of days (60 days) after which credits will be automatically renewed, as well as the time limits on using credits after they have expired. In addition, some users of G2 reported that when their internal engineering timelines slipped, they were unable to schedule the availability of testers with expertise in certain technology stacks.
Similarly, as one security expert posted on Reddit, PTaaS contracts (PtaaS) were often overly standardised, with the $10,000 contracts not providing any indication that the people assigned as testers had completed thorough manual penetration testing of the application. Consequently, when engaging with a PTaaS company, customers are encouraged to leverage written contracts that require comprehensive documentation of the saas security testing process, complete manual testing logs, and additional flexible rollover options for unutilised PTaaS hours.
Bug Bounty Programs vs. Penetration Testing
Bug bounty programs and penetration testing are not interchangeable. Many executive teams believe that if they can get approved by an independent third party like HackerOne or Bugcrowd through a public or private bounty that they will have satisfied auditors from SOC 2, ISO 27001 and/or other compliance standards. This belief has been disproven during audits due to many bugs not being found through the bug bounty program.
Bug bounty programs function on an unfixed incentive model in which independent researchers receive payment only when they successfully identify and report a valid security vulnerability.
As independent researchers are incentivised to find new vulnerabilities quickly, they are more likely to seek out known vulnerabilities on the user interface side of an application instead of taking the time to perform a thorough analysis of the authorisation processes for complex multi-tenant applications. That said, even if a bug bounty program receives no submissions for an entire quarter, this doesn't mean that the application is necessarily secure; it may just mean that no independent researcher became interested in the application.
In addition, users of HackerOne frequently complain about inconsistent levels of triage speed and quality and also the fact that there are often significant internal time management burdens placed on the users of the HackerOne platform in conjunction with high platform usage fees on top of researcher payments.
A formal bug bounty program will not typically provide a documented report detailing all the following items: defined assessment scope, identified testing methodologies (PTES/OWASP), coverage/audit checklists, and blank attestations for all components that have not been tested.
Auditors require that penetration tests are conducted in a structured manner; the results of these tests must include some defined minimum level of coverage to serve as the baseline. Bug bounty programs are designed to supplement the testing process of an enterprise that has already developed a structured testing methodology and is performing structured testing.
Building a Risk-Based Schedule for SaaS Security Testing
A calendar-driven testing program is designed to meet the minimum compliance requirement to maintain an organization’s compliance status. The problem is that if the engineering organization was to deploy new code 50 times in a week, then there will be 364 days during the year where the code changes have not been tested; thus, every time a development team releases a new piece of code, their product release will be exposed to attacks during this time frame.

Performance-driven engineering organizations will tie the cadence for their product verification cycle directly to their product release risk, and they will enforce strict remediation SLAs for any assessment or verification to the factors identified as being critical to their product release. An operational cadence that is risk-based divides the cadence of product verification into three different categories, each classified as a risk; those categories are:
Every Code Commit
High-Risk Feature Releases
Scheduled Architectural Reviews
For every code commit and PR, automated SAST, SCA, and secret scanning is run within the CI/CD pipelines to reduce overhead on developer velocity. This process is designed to take less than ten minutes.
When an engineering team updates their authentication flows, implements a new third-party OAuth integration, modifies their multi-tenant database schemas, or introduces a new publicly accessible API endpoint, their changes have created a sufficient level of risk to require the performance of either a manual or a semi-automated verification process focused on the modified attack surface area before the production release has been deployed or immediately after. At a minimum of once a year—or before key platform launches—a comprehensive grey-box (human-focused) penetration test must be conducted in order to demonstrate compliance with SOC 2 and PCI DSS regulation requirements as well as fulfil the assessments being conducted by enterprise buyers.
According to a report issued by Cobalt that was mentioned by The Hacker News, organizations that use programmatic (automated), ongoing (as-needed) testing processes are 4.5 times more likely to fix critical vulnerabilities within three (3) days of discovery than teams that continue to do so on an ad-hoc basis (or at least once per year). There may be vendor bias to some degree in that statistic. However, the basic reasoning behind the numbers is valid; when developers get vulnerability tickets within a few days of writing code for a product feature, they still remember how that feature was built and are able to correct the issue in hours instead of weeks.
Proper Scoping and Environment Setup
While a poorly-prepared testing environment will result in any security consultant providing general, low-quality results, some will still have value. Most testers will say their findings are generic and require extensive follow-up with your company to learn more about the specific needs of your business. Often this happens because the company gives the test vendor a blank staging URL with no databases, no descriptions and no documentation (e.g. no pictures, no videos).
To maximise the return on investment from any type of consultancy engagement or PTaaS contract, organisations that are planning to conduct penetration tests need to prepare a robust—and specific—scope-of-works package prior to starting testing. That scope-of-works package should include a dedicated staging/pre-production testing environment, filled with realistic, synthetic customer data, and split between a minimum of two (2) separate tenants. In order to ensure horizontal and vertical privilege escalation boundaries inside a tenant, testers require several active credential sets to conduct their testing procedures representing all various user roles (super admin, billing manager, standard editor, read-only guest).
Additionally, it's imperative that the team provide current OpenAPI/Swagger specification documents, Postman collections with respective valid sample request data sets, architectural diagrams demonstrating the flow of data related to third-party integrations, and clearly defined rules of engagement addressing out-of-scope denial of service boundaries. Providing whitebox source code access with all grey box credentials allows testers to eliminate wasted reconnaissance time by providing immediate access to high-value business logic verification.
Remediation SLAs and Release Gates
When addressing remediation SLAs and release gates, it's important that all findings of vulnerability are treated as engineering defects with strict executive-backed remediation SLAs and automated release gates.
Critical Severity Flaws (Cross Tenant Leakage, Remote Code Execution, Auth Bypass) must have mandatory hotfixes or feature rollbacks completed within 24 - 72 hours and must be immediately blocked from being built in CI/CD pipelines.
High Severity Flaws (BOLA on Sensitive Endpoints, Privilege Escalation, OAuth Token Exposure) must have mandatory remediation completed within 7 -14 days and must have a documented security sign-off before they will be shipped.
Medium Severity Flaws (Session Management Weaknesses, Missing Rate Limiting, Restricted XSS) will take scheduled remediation to occur over the next 30 - 60 days, coinciding with the standard sprint planning cycle.
Low Severity and Informational Findings (Header Configurations, Minor Information Disclosure) will be triaged to backlog for cleanup to occur within 90 days, or a formal risk acceptance documented inside either DefectDojo or Vanta.
Once the developer pushes a patch for either a critical or high finding, the workflow cannot simply close the ticket automatically. There must be a re-test conducted by either the security team or an external PTaaS vendor to confirm that the fix does indeed mitigate the exploit and is not susceptible to bypass via parameter encoding or alternate API versions. Only once the re-test has passed and generated official verification evidence will the finding be designated as resolved for auditors and enterprise customers.
Final Verdict on B2B Vulnerability Scanning
There is little room for debate when you're reviewing empirical data; the average cost of a global data breach is $4.99 million or $5.05 million for multi-environment cloud incidents repaired over a 276-day containment cycle.
Treating application verification as an inexpensive annual compliance activity is financially reckless. Likewise, blindly purchasing expensive enterprise tool suites or signing opaque PTaaS credit contracts without strict scoping discipline is wasting security budget on surface-level noise.
An effective SaaS security testing architecture will strike a balance between automation and human context. The use of tuned SAST and SCA tools, such as Semgrep, Snyk Code, or GitHub Advanced Security, will catch known code flaws and known dependency flaws at the point of each commit without inundating developers with false positives.
Centralizing outputs into DefectDojo will provide a single source of truth for remediations.
Afterward, directing an external budget to human-led grey box and white box assessments via vetted PTaaS platforms or specialized firms that target multi-tenant isolation, BOLA, mass assignment, or OAuth scope abuse will bolster engineering organizations' protection of customer data, speed up their ability to pass SOC 2 audits, and shorten time to close enterprise sales.


