TL;DR: OAuth tokens granted to trusted integrations can let attackers pull Salesforce data from multiple companies without ever breaking into the victim environment, according to Uptycs, and the resulting investigation often depends on SaaS audit logs spread across several systems. That shifts the security problem from endpoint compromise to cross-source evidence correlation, where identity context and normal integration behaviour become decisive.
At a glance
What this is: NHI Mgmt Group's analysis, drawing on Uptycs's report: OAuth tokens granted to trusted integrations can become a cross-tenant exfiltration path when attackers abuse the integration’s standing access to Salesforce data.
Why it matters: IAM and NHI teams need to treat third-party OAuth grants as governed access paths because compromise often appears first in audit logs, not on endpoints.
Context
OAuth access tokens are delegated credentials that let one service act with the permissions a user or application already approved. When those tokens sit behind a trusted integration, the attack surface shifts from direct intrusion to abuse of legitimate access paths, which is exactly where conventional endpoint-first monitoring can miss the first sign of misuse.
In this case, the security problem is not the existence of Salesforce APIs or SaaS logs, but the governance gap between integration approval, identity correlation and evidence collection. When telemetry is fragmented across SaaS, endpoint and SIEM layers, analysts have to reconstruct who authorised what, which account acted, and which data moved where.
Key questions
Q: How should security teams govern OAuth tokens in SaaS environments?
A: Security teams should treat OAuth tokens as standing access that must be inventoried, reviewed, monitored, and revoked like any other identity credential. The practical model is continuous governance, not one-time approval, because consented apps can keep accessing data long after the user stops thinking about them. Review scopes, owners, and behavior together.
Q: Why do trusted integrations create exfiltration risk?
A: Trusted integrations create exfiltration risk because they often run with broad API scopes, persistent tokens, and allowed network access that bypasses normal user checks. If an attacker steals those secrets or abuses a connected app, they can read records, export data, and automate leakage without triggering interactive authentication. Least privilege, token rotation, and scoped service accounts reduce that exposure.
Q: How do analysts investigate suspicious Salesforce API activity?
A: Analysts investigate suspicious Salesforce API activity by correlating the caller identity, API method, source IP, authentication event, and object access in SaaS audit logs. They look for unusual export volume, rare endpoints, failed logins followed by success, new connected apps, and token reuse. Session revocation, API key rotation, and entitlement review help contain abuse.
Q: What breaks when a platform stores customer OAuth tokens and API keys without governance?
A: The platform stops being a neutral integration layer and becomes a delegated access repository with live production reach into customer systems. Without inventory, ownership, and revocation controls, the platform can expose many customer environments from a single compromise, and security teams lose the ability to contain access by customer, tool, or credential type.
Technical breakdown
How OAuth tokens become trusted access paths
OAuth 2.0 lets a third-party app receive delegated access without holding the user’s password. That makes the token itself the operational credential, and its scope determines what the integration can read or do. In SaaS ecosystems, the risky assumption is that approval at install time equals safe use forever. When a token is stolen from a vendor or integration partner, attackers inherit the approved trust relationship and can operate as if the connected app were legitimate. That is why token scope, consent history and revocation hygiene matter as much as authentication strength. Read the Ultimate Guide to NHIs: What are Non-Human Identities.
Practical implication: Treat every third-party OAuth grant as a revocable identity and review its scope, age and owner on a fixed cadence.
Why SaaS audit logs matter more than endpoints in these cases
In integration abuse, the important actions often happen inside the SaaS platform, not on the compromised workstation. Query volume, API pacing, unusual object access and changes in source IP or user context are often the earliest indicators. Endpoint tools may still be useful, but they rarely hold the primary evidence chain when the attacker uses valid cloud tokens and remote API calls. The investigation therefore depends on preserving platform logs, retaining enough history to compare behaviour over time, and correlating events across identity, SaaS and SIEM records.
Practical implication: Centralise SaaS audit data and preserve the fields needed to correlate identity, consent and API behaviour across systems.
What a federated investigation has to connect
A useful investigation in this pattern has to link the token, the integration, the human or service identity behind it, and the target data store. That requires an ontology in practice, even if teams do not call it that: a shared mapping of which accounts, apps and log sources represent the same actor. Without that mapping, searches stay source-specific and analysts miss the relationship between an identity-provider event and a data export in Salesforce. The technical challenge is not simply search. It is preserving meaning across heterogeneous logs and query languages.
Practical implication: Build source-to-identity mappings before an incident so investigators can correlate app, user and data events quickly.
Threat narrative
Attacker objective: The objective is to exfiltrate high-value SaaS data through trusted integration channels while avoiding traditional compromise indicators.
- Entry occurred through a compromised legacy credential at a SaaS integration provider, which gave attackers access to OAuth tokens already authorised for Salesforce access.
- The attackers used those delegated tokens to query Salesforce APIs and extract customer data from multiple organisations while staying inside legitimate-looking integration traffic.
- Impact came from cross-tenant data exposure, with evidence distributed across SaaS audit logs rather than a single endpoint or host compromise.
Breaches seen in the wild
- Dropbox Sign breach 2024: A compromised back-end service account gave attackers Dropbox Sign customer data, including API keys, OAuth tokens and MFA information.
- Apify breach 2026: A compromised credential gave an attacker Apify account credentials; API tokens, proxy passwords and secrets rotated and GitHub OAuth revoked.
Read and download The State of NHI & AI Agent Breach Report 2026, covering 200+ breaches impacting Non-Human Identities including AI Agents.
NHI Mgmt Group analysis
Trusted integrations have become a primary breach surface, not a secondary one. The compromise is no longer the victim’s login page or endpoint. It is the delegated trust relationship that lets a third party act inside the victim’s SaaS estate. That changes how identity teams should think about risk ownership, because the dangerous asset is the token plus its approval history, not just the user account that originally granted consent.
Cross-source identity correlation is now part of incident response, not a post-incident enrichment task. The investigation in this pattern depends on connecting app approvals, OAuth grants, SaaS activity and identity-provider records into one view. Without that linkage, volume spikes in Salesforce or similar systems look like noise rather than evidence of misuse. The governance gap is not just visibility, but the inability to explain which identity was acting through which integration at which moment.
Delegated access needs lifecycle governance, not one-time approval management. Once an integration is authorised, its risk profile changes as credentials age, personnel change and the connected data set expands. The named concept here is delegated trust drift: the gap that opens when an approved integration continues to operate long after the assumptions behind its approval have changed. Practitioners should treat that drift as a standing governance issue, not a rare exception.
Security analytics cannot assume the evidence will sit in one platform. In this pattern, the useful signals are split between SaaS audit logs, identity systems and security tooling. That means detection engineering, investigation workflows and retention policy all have to be built for distributed evidence. Teams that rely on a single telemetry plane will miss the chain even when the activity is visible somewhere else.
The broader lesson is that machine-to-machine access behaves like privileged access. OAuth tokens are not just app plumbing. They are credentials with business authority, and in SaaS ecosystems they can carry enough reach to expose whole data domains. That makes non-human identity governance relevant to what looks, on the surface, like a data exfiltration problem.
From our research library:
- The blast radius of the Salesloft-Drift OAuth supply chain attack was 10 times greater than earlier incidents in which attackers breached Salesforce directly.
What this signals
Integration abuse is becoming a governance problem, not just a threat-hunting problem. Teams need to know which connected apps can reach sensitive SaaS data, how quickly they can be revoked, and which log sources prove the action took place. The control shift is from endpoint response to delegated-access oversight.
Evidence fragmentation is the operational tax of SaaS-first compromise. When the attacker works through a legitimate token, the useful trail sits across identity, SaaS and security platforms. Programme design has to assume distributed evidence and pre-build the joins between those systems, or response time will lag the attack window.
For practitioners
- Audit every third-party OAuth grant Inventory connected apps, token scopes, grant age and business owner, then remove approvals that no longer match current need.
- Correlate SaaS and identity logs Retain Salesforce, identity provider and integration logs long enough to reconstruct which account, app and IP address performed each action.
- Flag abnormal API pacing Create detections for bursty query patterns, unusual object access and repeated API requests from integrations that normally act at lower volume.
- Treat token revocation as containment When a trusted integration is compromised, revoke the token immediately and verify whether downstream app permissions, refresh tokens or connected sessions still remain.
Key takeaways
- Trusted SaaS integrations can be abused as breach paths when their OAuth tokens are stolen or over-trusted.
- The strongest evidence for this pattern lives in SaaS and identity logs, not on compromised endpoints.
- Governance needs to move upstream to approval, scope review and rapid token revocation.
Related NHI Mgmt Group resources: Ultimate Guide to NHIs: What are Non-Human Identities · Data Security Guide · Dropbox Sign breach 2024 · Apify breach 2026
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Non-Human Identity Top 10 and MITRE ATT&CK address the attack and risk surface, while NIST CSF 2.0 sets the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-03 — Vulnerable Third-Party NHI | A compromised integration credential was used to steal customer tokens through a third-party trust path. |
| NHI-05 — Overprivileged NHI | The stolen tokens enabled broad Salesforce data access beyond the least necessary scope. | |
| NHI-07 — Long-Lived Secrets | Stolen OAuth tokens remain usable until revocation, making token age and persistence central to the risk. | |
| Recommendation — Review third-party NHI trust relationships and revoke integrations that no longer need delegated access. Tighten token scopes and remove any delegated access that exceeds the integration’s business purpose. Shorten credential lifetimes where possible and make revocation immediate when compromise is suspected. | ||
| MITRE ATT&CK | TA0006;TA0010 — Credential Access; Exfiltration | The attackers abused credentials to reach Salesforce data and then exfiltrated it through legitimate API traffic. |
| Recommendation — Map token abuse to credential access and exfiltration tactics so detections focus on API misuse and data movement. | ||
| NIST CSF 2.0 | PR.AA-05 — Access Permissions, Entitlements and Authorizations | OAuth grants are access permissions that need continuous review and revocation management. |
| Recommendation — Continuously review entitlements for connected apps and revoke stale or excessive authorisations. | ||
Key terms
- OAuth Token: A short-lived access credential issued by an OAuth 2.0 authorisation server granting an NHI scoped access to specific resources for a defined period. Preferred over static API keys because their short lifetime limits the exploitation window if intercepted.
- Third-Party NHI: Third-Party NHI is a non-human identity owned or operated by an external organization, partner, contractor, or supplier. It includes service accounts, API keys, certificates, tokens, and automated agents that access systems outside the primary enterprise boundary. Governance must cover issuance, scope, monitoring, revocation, and contractual accountability.
- SaaS Audit Log: A SaaS audit log is a record of actions and events generated by a software as a service application. It usually captures logins, permission changes, data access, configuration updates and administrative actions, giving security and operations teams an evidence trail for investigation, compliance and access review.
- Federated Search: Federated search is a query method that looks across multiple data stores without first copying everything into one central repository. In identity security operations, it helps teams preserve context across live, cold, and distributed sources while reducing duplication and storage lock-in.
Deepen your knowledge
NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, workload identity and secrets management. It gives security and identity practitioners a common control language for delegated access and machine credentials.
Published by the NHIMG editorial team on November 25, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org