Automatic Revocation of Compromised Client Secrets

Marketing Cloud Engagement uses automated threat intelligence to protect your account. If we detect that an active or staged OAuth client secret for an installed package is compromised, we immediately revoke the secret.

A compromised secret presents risks that are severe and immediate. Unauthorized third parties can use a compromised client secret to send spam or phishing content from your sending domains. An attacker can also use API credentials to access personally identifiable information (PII) stored in your account.

Shared Responsibility Model 

The security of your account is a shared responsibility. Marketing Cloud Engagement uses automated threat intelligence to identify compromised credentials, but we can’t guarantee the detection of every exposed or leaked API secret.

To safeguard your account, implement organization-wide security policies, including but not limited to these practices:

  • Safeguarding API credentials
  • Preventing secrets from entering source code or unsecure environments
  • Monitoring your integrations for unauthorized activity
  • Rotating client secrets regularly
  • Limiting access to your account by configuring a login IP allowlist

Detection Sources 

Marketing Cloud Engagement continuously identifies compromised credentials from several sources, including:

  • Public code repositories
  • Access attempts from anonymizing VPNs, proxies, and high-risk IP addresses
  • Salesforce Platform telemetry
  • Customer-reported evidence

Containment Policy 

Marketing Cloud Engagement automatically revokes a compromised client secret immediately after it confirms that the secret is compromised.

After the threat intelligence system revokes a secret, the API rejects all attempts to authenticate using the compromised secret with an HTTP 401 Unauthorized response.

Secret Revocation Notifications 

When an API client secret is revoked, Marketing Cloud Engagement alerts your organization in several ways so that you can resolve the issue immediately. Immediately after the revocation event, admins see a notification banner when they log in to Marketing Cloud Engagement. The banner alerts admins of the revocation action and provides recovery steps. We also send all admins a notification email within 5 minutes of the revocation event.

The Installed Packages summary page in Setup also shows an Action Required notification banner. In the list of installed packages, the affected package has a value of Revoked in the Secret Status column.

Restore Access After Revocation 

To restore API access after a secret is revoked, rotate the OAuth 2.0 secret. After you generate a new secret, update all the apps, scripts, and middleware that use the secret. Verify that these external systems can obtain an OAuth token using the new secret. If your testing is successful, activate the staged secret.

Audit Trail Logging 

When the threat intelligence system revokes a client secret, Marketing Cloud Engagement records the event in the Basic Audit Trail. The Basic Audit Trail is included and enabled by default in all Marketing Cloud Engagement accounts.

Each event logs the account information, installed package information, and the revocation date. This example shows the structure of an activity log event obtained via a Get Audit Event API call.

1{
2  "id": 87583,
3  "createdDate": "2026-10-25T14:22:31.963", // Revocation date based on server time
4  "memberId": 123456789,
5  "enterpriseId": 123456789,
6  "employee": {
7    "id": 0, // Indicates a system-generated event
8    "employeeName": "Unavailable",
9    "userName": "Unavailable"
10  },
11  "objectType": {
12    "id": 962,
13    "name": "ClientSecret"
14  },
15  "operation": {
16    "id": 246,
17    "name": "RevokeClientSecret"
18  },
19  "object": {
20    "id": "abcdefghijklmn0123456789", // Client ID
21    "name": "secret version 01234" // Client secret description
22  },
23  "transactionId": "43ce2777-a8ec-438e-9bb4-552334877540"
24}

An Audit Trail Data Extract Activity in Automation Studio saves activity log events in CSV format. These logs contain the fields in this table.

FieldValue
CreatedDateThe revocation date based on the server time in the configured time zone.
EmployeeID0
EmployeeNameUnavailable
ObjectTypeNameClientSecret
OperationNameRevokeClientSecret
ObjectIDThe client ID of the secret.
ObjectNameThe description of the client secret.