A lot of organizations still assume Salesforce doesn’t need penetration testing because it’s SaaS. Salesforce manages the infrastructure, secures the underlying platform, and performs its own security testing. That’s true. But it’s only half of the story.

Customers still decide how records are shared, which permissions users receive, what custom Apex and Lightning Web Components do, and how flows, integrations, Experience Cloud sites behave. Those choices can expose sensitive information or allow unauthorized changes even when Salesforce itself is operating as designed.

 A feature can look secure through the standard interface while a different part of the application handles the same data with fewer restrictions.

Salesforce Isn’t Just Another Web App

Even more concerning is what happens when an organization does commission a penetration test but treats Salesforce like an ordinary web application. A firm is given a URL and a couple of test accounts, exercises the obvious pages, runs familiar tools, and produces a clean report. That work may be accurate for what was tested. The trouble is that nobody may have asked whether the test covered the business restrictions that matter.

An experienced web application tester can find vulnerabilities in Salesforce. But someone who doesn’t understand Salesforce’s sharing model, object and field permissions, Apex execution contexts, and guest access can easily miss problems simply because they don’t know which paths to exercise. A feature can look secure through the standard interface while a different part of the application handles the same data with fewer restrictions.

Consider a partner portal where resellers register sales opportunities. Each partner should see only their own deals. But a sharing rule that is too broad, or custom functionality that fails to enforce the intended restrictions, could allow one partner to retrieve another partner’s pipeline. The portal may appear to work exactly as intended, even while exposing confidential commercial information to a competitor.

A permission set might look harmless on its own. A custom Apex method might also look secure when reviewed in isolation. Combine the two, though, and a restricted user can suddenly gain access to information or perform actions well beyond their intended role. That’s why Salesforce testing has to examine how permissions, configuration, and custom functionality work together, not just whether each component passes an individual check.

The Risks are Real, Not Hypothetical

In March 2026, Salesforce warned about attackers targeting Experience Cloud sites with overly permissive guest-user configurations. Salesforce emphasized that the issue stemmed from customer-configured access, not a vulnerability in the underlying platform. For organizations operating those sites, the urgent question was whether anonymous visitors could retrieve records that were never intended to be public.

A previous blog, Authorization Differential Testing in Salesforce, described a technical way to investigate these gaps by comparing what the same user can do through different parts of the application. The method matters to the tester, but the business question is much simpler: can someone reach information they were never supposed to see? And this isn’t limited to reading data. Imagine an employee who can add notes to a customer case but isn’t authorized to approve it.

If a flaw in a custom workflow lets that employee change the approval status, the concern is no longer just data exposure. It’s the integrity of a business decision. An assessment needs to establish whether that unauthorized change actually took effect, not simply whether the application accepted a request.

That doesn’t mean every operation performed with elevated access is a vulnerability. Some legitimate business processes allow users to initiate actions they could not perform directly. The point is to understand what those users are meant to be able to do and then test whether the workflow stays within that boundary. That takes more than a scanner. It takes a conversation with the people who understand the business process.

Testing the Boundaries That Matter

This is why organizations need to approach Salesforce penetration testing differently. Which boundaries matter most to the organization? Perhaps it’s separation between customers and partners, the integrity of approvals, access to confidential fields, or what an anonymous visitor can retrieve. The testing team needs accounts with genuinely different privileges and enough representative data to exercise those boundaries. Otherwise, even a capable consultant may be unable to demonstrate whether they hold.

The report should then make clear what was actually proven. Could one partner retrieve another partner’s records? Could an employee complete an action reserved for a manager? Was public access evaluated? Which business workflows couldn’t be tested because a required account or transaction was unavailable? Those answers tell a security leader much more than a list of tools or a statement that no critical vulnerabilities were found.

Traditional web and API testing still belongs in the assessment, as does code analysis where source is available. Conventional vulnerabilities can have serious consequences in Salesforce, and automated checks are useful. Even Salesforce’s AppExchange security review guidance recognizes that initial automated scanning doesn’t catch everything a deeper manual review may find. The gap to watch for is an assessment that does those familiar checks but never examines how the Salesforce application actually enforces the customer’s business rules.

Questions to Ask Your Testing Partner

  • Will fixes be tested again?
    When a permission, workflow, or custom component is changed to address a finding, the restriction should be tested again with the same low-privilege role.
  • Who actually performs the work?
    How much hands-on experience does they have with Salesforce authorization, sharing, Apex, and Experience Cloud?
  • What won’t be covered?
    A well-scoped assessment may exclude certain features or lack the accounts needed to complete a sensitive workflow. Those are limitations to report clearly, not reasons to assume features are secure.
  • How do they identify vulnerabilities that arise when permissions, configuration, and custom functionality interact?
    These questions are more revealing than a generic promise to cover the OWASP Top 10.

What Real Assurance Looks Like

When penetration testing Salesforce at NetSPI+Synack, the goal is to understand what users are supposed to be able to do and then determine whether they can go beyond those restrictions. That’s where understanding the platform becomes important. It’s not enough to identify unexpected behavior. Organizations need to understand why it’s happening and what it means for their business. A penetration test report should give an organization confidence that its important security boundaries were actually tested.

It shouldn’t just show that someone visited the Salesforce URL and ran through a standard checklist. Without real platform expertise and evidence of what was tested, you may not be buying the assurance you think you are. You may simply be buying false confidence.

Wondering how secure your Salesforce environment is?

Connect with our Salesforce testing team to find out.