# Zscaler: Zscaler: compromised Salesloft Drift OAuth tokens exposed Salesforce contacts and case headers

> **Safety notice:** Read-only metadata query against Salesforce org permissions.

- **Incident date:** Aug 8–18, 2025
- **Disclosed:** Aug 30, 2025
- **Source disclosure:** https://www.zscaler.com/blogs/company-news/salesloft-drift-supply-chain-incident-key-details-and-zscaler-s-response

## Reproduction lab
List every permission set and Connected App in Salesforce that holds read access to Case records so marketing tools cannot inspect support descriptions.

```bash
bash audit-crm-oauth-scopes.sh
```

## Policies and detection rules

### `audit-crm-oauth-scopes.sh`
Checklist command reminder for auditing Salesforce Connected App permissions and IP restrictions.

```sh
# Export Connected App permission sets using Salesforce CLI (sf)
sf data query --query "SELECT Id, Name, PermissionsApiEnabled, PermissionsViewAllData FROM PermissionSet WHERE PermissionsApiEnabled = true"
sf data query --query "SELECT Parent.Name, SobjectType, PermissionsRead, PermissionsViewAllRecords FROM ObjectPermissions WHERE SobjectType = 'Case' AND PermissionsRead = true"
```

## Indicators of compromise
- **Integration:** `Salesloft Drift Salesforce Connected App` (undefined)
