Sub topic 1
Why Third-Party Apps Need Vetting
Prerequisites
This chapter assumes you can do the following:
- Navigate Setup and explain what profiles and permission sets control.
- Tell a sandbox from a production org.
- Describe roughly what data and customizations your org holds, such as sensitive objects, integrations, and automation.
You do not need to have installed an AppExchange app before.
The trust model: who is responsible for what
An AppExchange app is code and configuration written by a company other than Salesforce and other than you. Once installed, it runs inside your org. It can read and write records, add objects and fields, run Apex code, and call outside services, within the permissions you grant it.
Responsibility is shared:
| Party | Responsible for |
|---|---|
| Salesforce | The platform, and running the Security Review on listed apps |
| Publisher | The app's code quality, security fixes, support, and honest disclosure |
| Your org's admin | Deciding what to install, who gets access, and what the app can reach |
The last row is the one you control. A review by Salesforce lowers risk, but it does not take over your decision to install or your duty to limit access.
What can go wrong
Most problems fall into a few categories:
- Excess data access. The app asks for broad permissions, or you give it to more users than needed. Sensitive records such as contacts, financial data, or health information then become reachable.
- Data leaving your org. Some apps send data to the publisher's servers or to other services. If you did not check where it goes, you may break a privacy commitment or regulation.
- Unwanted changes to your org. Packages can add fields, objects, triggers, flows, and validation rules. These can slow transactions or conflict with your own automation.
- Abandoned or poorly supported apps. A publisher that stops releasing updates leaves you with known bugs and no security fixes.
- Hard-to-undo installs. Removing a package can fail when your own components depend on it, and data stored in the app's objects is deleted with it.
None of these means third-party apps are unsafe by default. They mean you should check before you act, and the checks are cheap compared with cleanup afterward.
The vetting workflow
This tutorial follows a sequence. Each step reduces a specific risk, and each later chapter covers one of them in detail.
Notice that the sandbox sits in the middle. Everything before it is research. Everything after it touches real users and real data. If an app fails the research steps, you never need to install it anywhere.
A short example
Suppose your sales team asks for a document-generation app that merges Opportunity data into PDFs. A quick vetting pass might look like this:
- Listing. The publisher has been listed for years, has recent releases, and offers documented support channels.
- Access. The app asks to read Accounts, Contacts, and Opportunities. It also calls an external rendering service. You ask the publisher what data is sent and whether it is stored.
- Sandbox. You install it in a sandbox, restricted to administrators, and generate a few documents from realistic records.
- Production. Only then do you install in production, and you assign access to the sales team through a permission set instead of opening it to everyone.
The commands for these steps appear in later chapters. For now, the point is the order: research, test, then widen access gradually.
Common mistakes
- Treating the AppExchange badge or star rating as a complete assessment.
- Installing directly in production because the app "only adds a tab."
- Choosing "install for all users" to avoid permission troubleshooting.
- Having no plan to remove the app if it misbehaves.
Exercise
A colleague says, "It's on AppExchange, so Salesforce has already checked it. We can install it in production today." Give two reasons this reasoning is incomplete, and name the party responsible for limiting who can use the app.
Show answer
First, listing and review lower risk but do not cover your org's specific data, automation, or compliance needs, so you still must check requested access and external connections. Second, a review is a point-in-time check, and your own testing in a sandbox is what shows how the app behaves with your data and customizations. The org admin is responsible for limiting access, by choosing install options and assigning permission sets.