The biggest Salesforce data thefts of 2025 didn’t exploit a flaw in Salesforce. Attackers used stolen OAuth tokens from a connected app, or talked employees into authorizing a fake one.
So security in 2026 is less about Salesforce’s defenses and more about how your org is configured, connected and watched. Here’s the checklist we use, area by area, with how often to check each item.
What changed in 2025
Google Threat Intelligence reported on August 26, 2025, that a group it tracks as UNC6395 used compromised OAuth tokens from the Salesloft Drift integration to steal data from many Salesforce instances. Google said the actor looked for secrets such as access keys in the stolen data.
Separately, attackers used phone-based social engineering to persuade employees to authorize rogue connected apps posing as legitimate tools. Salesforce Ben reported that Salesforce responded by restricting uninstalled connected apps, so users now need the “Approve Uninstalled Connected Apps” or “Use Any API Client” permission to authorize them.
The lesson: connected apps and their tokens are now the front door.
1. Identity and login
- [ ] MFA or SSO with MFA for every user, including admins and contractors
- [ ] No shared logins, ever
- [ ] Login IP ranges or trusted networks for admin profiles
- [ ] Session timeout and “lock sessions to the IP address” where practical
- [ ] Deactivate leavers on their last day, linked to HR offboarding
Salesforce’s security implementation guide states that, as of February 1, 2022, Salesforce requires MFA for all users who log in to the Salesforce UI. SSO with MFA at your identity provider meets the requirement too.
Check: monthly for leavers, quarterly for login settings.
2. Access and permissions
- [ ] Permission sets and permission set groups instead of many custom profiles
- [ ] Admin rights limited to a small, named group
- [ ] “Modify All Data,” “View All Data” and “Export Reports” granted only where needed
- [ ] Organization-wide defaults as private as the business allows, opened up with sharing rules
- [ ] Field-level security on sensitive fields
Our post on permission hygiene and least privilege covers how to clean this up without breaking work.
Check: quarterly access review with business owners.
3. Connected apps and OAuth tokens
This is the area most orgs neglect and attackers now target.
- [ ] Review Setup, Connected Apps OAuth Usage, and know every app listed
- [ ] Install the apps you trust, so they’re managed by admins, and block the rest
- [ ] Limit “Approve Uninstalled Connected Apps” and “Use Any API Client” to a few admins
- [ ] Restrict each app to the profiles or permission sets that need it
- [ ] Set refresh token expiry, and revoke tokens for apps no longer used
- [ ] Give each integration its own user with only the access it needs
- [ ] Restrict integration users by IP range where the vendor supports it
Our guides to integration sprawl risk and the API security checklist go deeper.
Check: monthly review of OAuth usage, plus every time a vendor reports an incident.
4. Data protection
- [ ] Know where sensitive data lives, especially in free-text fields
- [ ] Never store passwords, keys or tokens in Salesforce records, cases or notes
- [ ] Classify sensitive fields and restrict them with field-level security
- [ ] Encrypt at rest where regulation requires it
- [ ] Back up data and metadata, and test a restore
The Drift attackers searched stolen records for secrets, which is why the second item matters. Salesforce Shield adds Data Detect and Platform Encryption if you need them.
Check: twice a year, plus before any new data source is loaded.
5. Monitoring and alerting
- [ ] Review Setup Audit Trail for admin changes
- [ ] Monitor logins from new locations and failed login spikes
- [ ] Alert on large report exports and bulk API queries
- [ ] Send event logs to your security team’s tools if you have them
- [ ] Run Salesforce’s Health Check and fix high-risk settings
Free event logs give limited coverage. Event Monitoring, part of Shield, adds detailed logs and real-time policies that can block risky exports.
Check: weekly review of alerts, monthly Health Check.
6. Org configuration
- [ ] Keep Health Check score high, and document any accepted risks
- [ ] Turn on release updates on schedule rather than at the deadline
- [ ] Remove unused users, apps, packages and sites
- [ ] Review guest user access on every Experience Cloud site
- [ ] Use secure settings for content, file sharing and public links
A full Salesforce health check covers security settings alongside technical debt and performance.
Check: quarterly.
7. Sandboxes and development
- [ ] Mask or delete personal data in sandboxes, especially full and partial copies
- [ ] Restrict sandbox access to people who need it
- [ ] Never hardcode credentials in code, flows or named credentials outside approved stores
- [ ] Use a deployment process with review, so changes reach production deliberately
Check: after every sandbox refresh.
8. AI agents
- [ ] Run each agent as a dedicated user with least privilege
- [ ] Limit the actions and data each agent can reach
- [ ] Keep a human review step for high-risk actions
- [ ] Log and review agent conversations and actions
Our guide to running AI agents safely covers permissions, data boundaries and human review.
Check: before each new agent goes live, then monthly.
Have an incident plan
If a connected app or user is compromised, you need to act in hours, not days:
- Revoke the app’s tokens and block the app
- Freeze or deactivate affected users and integration users
- Rotate any secrets that may have been stored in Salesforce
- Pull event logs and Setup Audit Trail for the affected window
- Notify Salesforce support, your security team and, where required, regulators
Write it down and name who does each step. Test it once a year.
Security in real projects
Every new tool adds a connected app. In our prospecting tools case study, several enrichment tools fed Salesforce, and each connection needed its own user and scoped access.
Frequently asked questions
What are the most important Salesforce security best practices?
Enforce MFA or SSO for every user, apply least privilege through permission sets, review and restrict connected apps and their OAuth tokens, keep secrets out of records, and monitor logins and data exports. In 2026, connected app control deserves the most attention.
How do I review connected apps in Salesforce?
Go to Setup, then Connected Apps OAuth Usage, to see every app users have authorized. Install and manage the apps you trust, block the rest, revoke unused tokens, and limit who holds the permissions that allow authorizing uninstalled apps.
Is MFA required for Salesforce?
Yes. Salesforce has required MFA for users who log in to the Salesforce UI since February 1, 2022. SSO with MFA at your identity provider also meets the requirement.
Do I need Salesforce Shield for good security?
Not always. Most risks are reduced with standard features used well: MFA, least privilege, connected app control, Health Check and monitoring. Shield adds encryption at rest, detailed event monitoring, long-term audit history and sensitive data discovery for regulated or high-risk orgs.
Get a security review of your org
HyphenX runs Salesforce security reviews covering identity, access, connected apps, data and monitoring, then fixes what we find. Talk to our Salesforce managed services team.
