Sub topic 3
What the Security Review covers and what it does not
This chapter assumes you know basic Salesforce administration: Setup, profiles, permission sets, and the difference between a sandbox and production. It builds on the previous chapters on why third-party apps need vetting and how to read a listing.
What the Security Review is
The AppExchange Security Review is a assessment that Salesforce runs on a partner's solution before the solution can be listed on AppExchange. The partner submits the app, and Salesforce's security team tests it against published requirements. Many partners use automated scanning and manual testing, and they must fix the issues found before the listing is approved.
The review is a gate for the publisher. It is not a certificate for your org. The result tells you the app met Salesforce's requirements at the time of review. It does not tell you the app is safe in your configuration, with your data, or with the access you grant it.
What the review covers
The review focuses on the app's own code and architecture. Typical areas include:
- Common vulnerabilities. Issues such as cross-site scripting (XSS), SOQL injection, and insecure handling of user input in Apex and Lightning code.
- Enforcement of access rules. Whether the app respects object permissions, field-level security, and sharing rules rather than bypassing them.
- Authentication and secrets. How the app stores credentials and tokens, and how it connects to outside services.
- Data transmission. Whether data sent to external systems is protected in transit.
- Hosted components. For apps that run outside Salesforce, the review also looks at the publisher's external infrastructure and endpoints.
The exact scope depends on the type of solution, so check Salesforce's current partner documentation instead of assuming every item applies to every app.
What the review does not guarantee
The review has limits. Treat each of these as a gap you must close yourself.
| Not guaranteed | What it means for you |
|---|---|
| Continued safety after approval | The review is a point-in-time check. Later versions can change behavior, so you still need to track upgrades. |
| Fit with your org | The app may conflict with your triggers, flows, validation rules, or limits. Only testing shows this. |
| Least-privilege access | An app can pass review and still ask for broad permissions. Deciding what to grant is your job. |
| Data handling by the publisher | What a partner does with data after it leaves Salesforce depends on their contracts, policies, and infrastructure. |
| Quality, support, or performance | The review is about security, not whether the app works well or is maintained. |
| Compliance for your industry | Meeting your regulatory duties (for example, data residency) is your responsibility. |
Using the review result in your decision
Treat the review as one input among several.
- Confirm the listing shows it passed the review. Apps that are not on AppExchange, or that you receive as a direct link, may not have been reviewed at all.
- Check that you are looking at the current version. Ask the publisher how updates are re-reviewed.
- Read the requested permissions and external connections, which the next chapters cover.
- Plan a sandbox trial with realistic data and users.
A common error is to read "Security Reviewed" as "verified for my org." Another is to assume an unmanaged package carries the same assurance as a listed managed one. Check each package on its own terms.
Exercise
A colleague says, "This app passed the Security Review, so we can install it in production for all users." Name two things the review does not guarantee that make this plan risky.
Show answer
Any two of: the review is a point-in-time check, so later versions may change behavior; it does not test fit with your org's automation and customizations; it does not decide least-privilege access, so installing for all users may give too much access; it does not control what the publisher does with data sent outside Salesforce. The safer plan is to trial in a sandbox and grant access through permission sets.