Skip to Content
0%

Understanding Salesforce Connected App or External Client App Suspension

Image of laptop coding // A Go-To Guide for Identifying and Prioritizing Vulnerabilities
Scanning for and identifying security risk is an integral part of any companies’ security charter. [Adobe Stock]

Many Connected Apps and External Client Apps are developed, maintained, and distributed by third parties on the AgentExchange and other marketplaces. Salesforce customers can choose to connect these third-party applications directly to their Salesforce instances. Consistent with the Salesforce trust and compliance documentation, application developers are responsible for ensuring the security of the applications made available, the decision to add a third-party application is entirely at the discretion of the customer, and customers are responsible for the interoperation of such applications with their Salesforce orgs.  

At Salesforce, Trust is our number one value. If we identify activity that may put customer data at risk, we will take steps to protect the customer and their data: even when that risk may arise from a third-party application. When we detect activity suggesting that customer data is at risk from the potential compromise of a third-party application, we will routinely suspend the app as a preventive measure, and then work closely with the developer of that application to return it to service only after the risk has been addressed. A suspension completely halts the application, preventing access by any user or system, which can significantly affect your business operations depending on the application’s role.

In this post we explain how that suspension process works to help customers who subscribe to third-party apps understand the potential impacts, why Salesforce is taking action, and how third-party developers can have their applications restored.

What can lead to an App Suspension

We do not take app suspension lightly: we know that it represents disruption for our customers and partners. We will suspend an app when we determine that there is reason to believe that customer data is at risk from potential compromise of that app and doing so is necessary to protect customers. A suspension may be the result of:  

  • Detection of potentially malicious behavior: We detect or receive a report of potentially malicious activity involving the app, its tokens, or the integrations that depend on it.
  • Credible security incident: We detect or are informed by credible industry and/or government partners of a security incident affecting the app.
  • Failure to meet security requirements: We determine that the app no longer meets the published security requirements for Connected Apps and External Client Apps, which can also affect its listing on AgentExchange or other marketplaces.

How Salesforce Implements App Suspensions

Our first priority is protecting customers and their data. Only when we are sure that the identified risk has been sufficiently addressed will we consider restoring the app to service as quickly as possible.

The specific steps we take in connection with an app suspension can include: 

  1. Suspending the app’s connection to Salesforce: Suspension revokes the app’s existing access and refresh tokens and prevents any new authorization. Depending on the situation, associated Connected Apps, External Client Apps and/or Managed Packages (see definitions below), may be suspended. Customers can no longer use the app or authorize it to access their org, credentials issued before the suspension stop working, and integrations that depend on it stop. This is the most immediate and effective protection we can provide to customers, because it cuts off the app’s connection entirely and contains the potential exposure.
  2. De-listing from AgentExchange: In addition to suspending an app’s connection to Salesforce, we may also de-list or restrict Managed Packages on AgentExchange while we work with the publisher.
  3. Contacting and engaging the app developer: While protecting customers and their data by suspending the app, we simultaneously engage with the app developer. We inform them of the actions we took and why and seek to work with them to restore their app as quickly and safely as possible. Additionally, we provide the developer with the requirements for restoration, including any additional security reviews their apps must go through. 
  4. Notifying customers: We notify customers about what is happening and why via the Salesforce Trust site. Our post will describe the situation and the protective steps we’ve taken.  We will also notify impacted customers directly if there is evidence of unauthorized access to their data.

Restoring a Suspended App

Salesforce will restore a suspended app once the developer has completed any required remediation and they have demonstrated to Salesforce’s satisfaction that the risk to customers is resolved. 

We will typically require the developer to:

  • Share the steps taken to contain the threat and remediate the root cause. This includes, but is not limited to:
    • Addressing the identified root cause across all instances of the impacted application and/or environment;
    • Evidencing that compromised credentials and tokens can no longer be used; and 
    • Investigating to identify any other potential compromises.
  • Have an approved quote sent directly from the third-party breach response provider to Salesforce stating the incident is contained (e.g, “Based on the <provider’s> investigation, the findings support the incident has been contained.”).
  • Meet the Connected App and External Client App security control requirements. 
  • Pass an updated AgentExchange security review, or an independent assessment at the publisher’s expense. A prior review or an existing listing does not, on its own, clear an app to return.

For App Customers Relying on a Suspended App 

If a third party app you rely on is suspended, here is what to expect.

  • The App will stop connecting, so your data stays protected. We suspend its connection and revoke its tokens while the situation is investigated. You will not be able to use it or authorize it again until it returns. If Managed Packages were suspended, those will stop working as well – the Salesforce Trust site post will provide updates about what has been suspended.
  • The app developer provides the fix. Responsibility for the security of third-party apps and the systems behind it belong to the developer, and they are the ones who must remediate it. Salesforce will work with them but does not patch third-party apps. 
  • We will keep you informed. Watch the Salesforce Trust site for status. If we have evidence that there has been unauthorized access to your data, our team will notify you directly. Third-party app developers are responsible for communicating with you directly about the status of their products and their remediation status. Salesforce cannot share the status of the developer’s investigation, remediation, or timeline.  
  • Salesforce restores the app once the risk has been addressed. The suspension holds until the provider completes remediation and demonstrates to Salesforce’s satisfaction that the risk has been sufficiently mitigated. Only at that point will we re-enable the apps. We will post updates to the Salesforce Trust site. 

When the app returns, plan to re-authorize it and review the access you grant it.

Best Practices for Customers Leveraging Apps

We recommend the following practices to reduce the risk that an app exposes your data. Security for a third-party app is a shared responsibility between the app developer and you, and these steps help you uphold your side.

Before an app connects

  • Validate OAuth security controls. Before you install an app, ask the developer to confirm that it meets OAuth security requirements. If the app is already installed, use the Insights tool to make sure the app meets relevant Salesforce security requirements.

Apply the principle of least privilege

  • Control who can authorize apps. Set Permitted Users to “Admin approved users are pre-authorized,” then grant access through profiles or permission sets. This keeps users from authorizing apps on their own.
  • Review an app’s reach (scopes). When you install or authorize an app, review the OAuth scopes it requests, and approve it only if they match what the app does. The developer sets the requested scopes, and you can’t narrow that list. If an app asks for broad access, such as the full scope, when a narrower one like, api, would work, question the developer before you approve it.

Server-to-server integrations

  • Give each integration its own user. In the client credentials flow, no one authorizes the app. Instead, you assign an integration user to run it, and the access token is issued on that user’s behalf. Create a dedicated user for each integration and grant only the access it needs.
  • Avoid shared secrets where possible. The JWT bearer flow authenticates with a certificate instead of a shared secret.

Definitions 

  • Connected App: A Salesforce configuration that lets an external application integrate with Salesforce using OAuth, SAML, or OpenID Connect. It defines scopes, callback URLs, credentials, and access policies.
  • External Client App (ECA): is Salesforce’s next-generation framework for letting a third-party or external application connect to Salesforce through APIs. It uses standard protocols like OAuth, SAML and OpenID Connect. It replaces the older Connected App.
  • Managed Package: A namespaced, versioned, upgradeable bundle of Salesforce components. A publisher distributes it, usually through AppExchange, and protects its code.

Additional Resources

We publish guidance like this so customers and partners know what to expect and can act on it. This post describes how Salesforce protects customer data. It is not a notice of any specific security incident.

Security resources

Curious about more ways to bolster the security of your Salesforce org? Check out our guide for additional guidance and resources

Get the latest articles in your inbox.

Get the latest articles in your inbox.