From Shubhi K | Product & Market Analysis
Salesloft Drift Breach: One Chat Agent's OAuth Tokens, 700 Organisations
On this page
In August 2025 an attacker used OAuth tokens stolen from the Drift AI chat integration to pull data out of Salesforce, and Google's threat intelligence team later said it knew of at least 700 victims. The Salesloft Drift breach did not exploit Salesforce itself. It exploited the trust every customer had already granted to one connected app, and that is the part your own environment almost certainly repeats.
Key takeaways
- The Salesloft Drift breach was a token theft, not a platform exploit. Google Threat Intelligence Group and Salesforce both said the core Salesforce platform was not vulnerable. The attacker logged in with valid OAuth tokens issued to the Drift integration.
- The intrusion started roughly five months before the data theft. Salesloft's investigators found an attacker inside a company GitHub account from March to June 2025. Stolen tokens were then used against customers from 8 to 18 August 2025.
- Support cases were the prize because customers paste secrets into them. Cloudflare found 104 of its own API tokens in the exfiltrated case text. Google said the attacker searched stolen data for AWS keys, passwords and Snowflake tokens.
- Customer-side controls would have shrunk the damage, not prevented the entry. IP restrictions on the connected app, narrow scopes, short sessions and bulk-export alerting each map to a specific step. None stops a vendor's own GitHub account from being compromised.
What the Salesloft Drift breach actually was
Drift is an AI chat agent that sits on a company's website and talks to visitors. To be useful, it writes leads and conversations into the customer's CRM, which for most of its users means Salesforce. That connection runs on OAuth: a customer administrator approves Drift once, and Salesforce issues tokens that let Drift act without a password.
Google Threat Intelligence Group, writing on 27 August 2025, said an actor it tracks as UNC6395 used compromised Drift OAuth tokens to query and export data from numerous corporate Salesforce instances. The activity ran between 8 and 18 August 2025. Its assessment was that the primary intent was credential harvesting, not the CRM data for its own sake.
That framing matters for how you read the rest of this post. The attacker was not after your pipeline. They wanted the keys your staff and customers had left lying inside it, so they could use them somewhere else.
This is also why we think the incident deserves more attention from buyers than from security teams. Security teams already understand token theft. The people who approve a sales tool's Salesforce connection usually do not, and they are the ones who decide what that token can reach.
The Salesloft Drift breach timeline, from vendor advisories
The record below uses only dates stated by Google, Salesloft (as reported), Cloudflare and Palo Alto Networks' Unit 42. Where a source is secondary coverage of a Salesloft Trust Center notice, the reference list says so. The figure compresses about six months into one line. The shape is the point: a long quiet period, a short loud one.
March to June 2025: a vendor's GitHub account
Salesloft's update of 6 September 2025 was reported by The Register and The Record. It said Mandiant found the actor had accessed a Salesloft GitHub account from March to June 2025. The actor downloaded content from multiple repositories, added a guest user and established workflows. The Register noted the postmortem does not say how the account was first compromised.
Mandiant also found reconnaissance in both the Salesloft and Drift application environments. It then found the actor reached Drift's AWS environment and took the OAuth tokens Drift held for its customers' integrations. Those tokens are the hinge of the whole incident, because every customer token in that store was now portable.
8 to 20 August 2025: theft, then revocation
From 8 August the attacker began using the stolen tokens against Salesforce. Google listed the queries it saw: counts of Account, Opportunity, User and Case records, a pull of active users, and a Case export with a limit of 10,000 rows. Unit 42 added Contact to the list of objects taken.
On 20 August, Salesloft and Salesforce revoked every active access and refresh token for the Drift application. Salesforce also removed Drift from its AppExchange. Counting from the first observed theft, that is 12 days during which every stolen token stayed valid.
27 August to 6 September 2025: the scope widens
Google's advisory went out on 27 August. A day later it added an update: the actor had also taken tokens for the "Drift Email" integration. On 9 August it read mail from a very small number of Google Workspace accounts configured for Drift. Google told every Drift customer to treat all tokens stored in or connected to Drift as potentially compromised.
By 6 September Salesloft said the incident was contained, with Drift taken offline, credentials rotated and Drift infrastructure isolated. Salesforce restored the Salesloft integration, while the Drift component stayed disabled.
One victim's logs: Cloudflare's minute-by-minute record
Most victims said little. Cloudflare published a detailed timeline on 2 September 2025. It is the best primary evidence of what OAuth token theft looks like from the receiving end. It is one company, so read it as a worked example rather than as a typical case.
Reconnaissance looked like ordinary integration traffic
The attacker first tested a Cloudflare API token on 9 August, which failed. Initial access to Cloudflare's Salesforce tenant came on 12 August at 22:14 UTC using the credential the Salesloft integration held. Over the next four days the attacker listed objects, pulled the Case schema, ran a broad query. Then it went quiet for nearly 48 hours.
On 16 August the attacker returned and ran a count query against Case, which Cloudflare called a dry run. Every one of those calls arrived as the integration user, through a sanctioned connected app, using a valid token. Nothing about authentication failed, so nothing about authentication alerted.
The export took three minutes and then deleted itself
On 17 August, from a different IP address, a Salesforce Bulk API 2.0 job ran from 11:11:56 to 11:15:18 UTC. By our arithmetic that is 3 minutes 22 seconds. The attacker deleted the job 24 seconds after it finished. Google observed the same habit across victims and noted that deleting jobs did not remove the logs.
What left was the text of support cases: subject lines, case bodies and requester contact details, with no attachments. Cloudflare then searched its own copy and found 104 API tokens customers had pasted into cases. It rotated all of them and reported no suspicious use. That search is the step most victims should copy, because the stolen CRM rows are only the first-order loss.
If your team reviews logs weekly, a 3-minute export with a deleted job is effectively invisible until someone else tells you. Cloudflare learned of it from Salesforce and Salesloft on 23 August, 11 days after the attacker first logged in.
Why a chat agent's OAuth token was worth stealing
A website chat widget sounds like the least sensitive tool in a sales stack. The token behind it is a different matter. Third party AI integration risk is rarely about the AI. It is about the standing access the integration needs to do a boring job like writing leads into a CRM.
Refresh tokens outlive every person who approved them
OAuth access tokens are short-lived, but connected apps usually also hold refresh tokens that mint new access tokens indefinitely. Nobody logs in again. The administrator who approved Drift may have left the company years ago, and the connection still works. That is the defining property of a non-human identity: it has access, it has no manager, and it never takes holiday.
Google's own remediation list asks customers to set Salesforce session timeouts to limit the lifespan of a compromised session. That advice only lands if someone owns the integration and has decided what lifespan is acceptable. In most companies nobody has.
The integration user sees far more than the chat agent needs
Drift needs to create leads and perhaps read a few account fields. In many tenants the integration user could read Cases, Users and Opportunities across the whole org, because the connected app was approved with broad scopes and the user profile carried "API Enabled". Google's hardening advice names this directly: avoid overly permissive scopes such as full access.
We would go further than the advisory. Any integration user that can read Case should be treated as holding customer secrets. Customers paste them into support tickets whether you ask them to or not. Cloudflare's 104 tokens prove that the case body is a credential store with a CRM interface on top.
| Object | Plausible need for a chat agent | Seen in attacker queries | Source |
|---|---|---|---|
| Lead | Write new leads from chats | Not listed | Google, Unit 42 |
| Account | Read to match visitors to customers | Counted and exported | Google, Unit 42 |
| Contact | Read or write to link chats | Exported | Unit 42 |
| Opportunity | Rarely needed | Counted and exported | Google, Unit 42 |
| User | Assign chat owner, limited fields | Active users with names, emails, phones | |
| Case | No obvious need | Up to 10,000 rows per query; full case text at Cloudflare | Google, Cloudflare |
The "plausible need" column is our judgement of a minimal chat integration, not Drift's documented scope list, which we could not verify for every customer configuration. The last row is the one to check in your own tenant.
Service account controls mapped to each attack step
This is the table we built the post around. Each row is a step the sources document, the customer-side control that would have limited it, and whether that control would have stopped the step or only contained it. The honest answer for the first two rows is that no customer control helps.
| Attack step (source) | Control that applies | Owner | Effect |
|---|---|---|---|
| Vendor GitHub account accessed, March to June (Salesloft via Mandiant) | Vendor security review: ask how tokens held on your behalf are stored and who can reach them | Vendor, assessed by you | None directly; informs who you trust |
| Customer OAuth tokens taken from Drift's AWS environment (Salesloft via Mandiant) | Fewer standing connections; disconnect integrations you no longer use | You | Removes you from the blast radius, if done before |
| Stolen tokens used from Tor and cloud hosts (Google) | Connected app IP Relaxation set to enforce IP restrictions; Login IP Ranges on the integration profile | Salesforce admin | Likely stops the login outright |
| Broad queries across Account, User, Case (Google, Unit 42) | Narrow OAuth scopes; dedicated integration user with object-level read only where needed; "API Enabled" via permission set | Salesforce admin | Shrinks what a valid token can read |
| Bulk API export in minutes, job deleted (Cloudflare, Google) | Event Monitoring alerts on bulk jobs and on UniqueQuery from integration users | Security operations | Detects in minutes, not days |
| Stolen data mined for AWS keys, Snowflake tokens, passwords (Google) | Secret scanning of case text; rotation on a schedule; policy that secrets never go in tickets | Support and security | Makes the second-order theft worthless |
| Tokens stay valid for 12 days until vendor revocation (Google) | Short session timeouts; an internal owner who can revoke one app in minutes | Integration owner | Shortens the exposure window |
Controls in rows 3 to 7 are drawn from Google's and Cloudflare's published recommendations. The "effect" column is our assessment. IP restrictions only work if the vendor publishes stable egress addresses, which not every SaaS vendor does.
Service accounts and non-human identity: what to change first
Every connected app is a service account with a marketing name. Treating integrations as non-human identities, with an owner, a scope and an expiry, is the single change that turns the table above from advice into practice. Our view of how far to take that comes from the evidence: none of the controls in rows 3 to 7 is expensive. All of them were available in August 2025.
Start with an inventory. Salesforce lists every connected app with OAuth usage, and the same exercise applies to Google Workspace and Microsoft 365. Most teams that run it find integrations nobody remembers approving. That is the same sprawl problem covered in the analysis of companies running 291 SaaS apps, seen from the access side instead of the spend side.
Then assign one named owner per integration. The owner decides scope, approves renewals, and is the person who can revoke the connection in minutes when a vendor advisory lands. Without an owner, revocation waits for the vendor. In this incident the vendor took 12 days from the first theft. The broader case for treating agents and integrations this way is in the post on agent identity and non-human access.
Next, cut scopes. Ask every vendor for the minimum object list its integration needs, run it under a dedicated integration user, and remove "API Enabled" from general profiles. A practical method for that review, written for AI agents but equally valid for a chat widget, sits in the guide to reviewing AI agent OAuth scopes. The choice between a dedicated credential and acting as a user changes what you can scope at all. The comparison of agent credentials and user impersonation works through it.
Finally, make bulk exports by integration users an alerting event, not a log line. Whatever audit record you keep should capture which identity ran which query. The field list in the agent audit log specification maps closely to what Salesforce's UniqueQuery event already records.
The same OAuth token theft pattern returned with Gainsight
If the Drift incident were a one-off, the case for this much process would be weaker. It was not. On 20 November 2025 Salesforce said it had revoked all active access and refresh tokens tied to Gainsight-published apps. It also temporarily removed them from AppExchange, as The Register reported.
Austin Larsen of Google Threat Intelligence Group told the publication his team was aware of more than 200 potentially affected Salesforce instances. He attributed the activity to the same criminal crew that breached Drift. Salesforce again said the platform itself was not vulnerable.
Two incidents three months apart, through two different customer success and sales tools, with the same mechanism. The software supply chain here is not code packages, as in the MCP server supply chain risk pattern, but standing OAuth grants. The defence is the same shape, though: know what you connected, and limit what each connection can reach.
Where this argument is weakest
We have argued that customer-side service account controls would have limited the Salesloft Drift breach. The evidence for that is thinner than the table makes it look, and three points deserve stating plainly.
The victim count is not a damage count
The 700 figure is a statement by a Google analyst to a reporter about organisations related to the token theft. It is not a count of confirmed data losses. The Register described the confirmed total as "hundreds" without a complete list. We have one detailed victim account, Cloudflare's. One company is a thin basis for describing what happened to everyone else. Our 3-minute export figure is true for Cloudflare and may not hold anywhere else.
IP restrictions break real integrations
Enforcing IP ranges on a connected app is the only control in the table that plausibly blocks the login. It also depends on the vendor publishing stable egress addresses. Many SaaS vendors run on shared cloud ranges that change. An attacker operating from inside the vendor's own infrastructure would also pass the check. Google's own indicators included AWS and DigitalOcean addresses alongside Tor, which shows how close attacker traffic can sit to legitimate vendor traffic.
There is also a competing view we take seriously: that the real fix belongs to vendors and platforms, through token binding and shorter-lived credentials by default. On this view, asking every customer to hand-tune scopes shifts the burden onto the party least able to carry it. We think that view is right about the long run. It does not help you this quarter.
Frequently asked questions
What happened in the Salesloft Drift breach?
An attacker tracked by Google as UNC6395 accessed a Salesloft GitHub account between March and June 2025, reached Drift's AWS environment and took the OAuth tokens Drift held for customer integrations. From 8 to 18 August 2025 the attacker used those tokens to export Salesforce data, then searched it for credentials. Salesloft and Salesforce revoked all Drift tokens on 20 August 2025.
How many companies were affected by the Salesloft Drift breach?
Austin Larsen of Google Threat Intelligence Group told The Record his team was aware of at least 700 victims related to the stolen Drift OAuth tokens. That is a count of organisations linked to the theft, not of confirmed data losses. Publicly named victims included Cloudflare, Palo Alto Networks and Zscaler, and no complete list has been published.
How do you stop OAuth token theft from third party integrations?
You cannot stop a vendor from losing tokens it holds, but you can limit what a stolen token does. Restrict connected apps to the vendor's published IP ranges, grant the narrowest scopes, run each integration under a dedicated user, set short session timeouts and alert on bulk exports. Keep one named owner who can revoke the app immediately.
Are service accounts and connected apps non-human identities?
Yes. A connected app holding OAuth refresh tokens is a non-human identity: it authenticates without a person, keeps access after the approving administrator leaves, and often holds broader permissions than any single employee. Treat each one like a service account, with an inventory entry, an owner, a defined scope, a review date and a documented way to revoke it quickly.
What data did the Salesloft Drift attackers steal?
Google and Unit 42 reported exports from Salesforce Account, Contact, Case, Opportunity and User records. At Cloudflare the loss was the text of support cases, including subjects, bodies and requester contact details, with no attachments. The attacker then searched the data for AWS access keys, passwords and Snowflake tokens, which is why rotating secrets found in case text mattered more than the CRM rows.
Was Salesforce hacked in the Drift breach?
No. Google Threat Intelligence Group stated the incident did not stem from a vulnerability in the core Salesforce platform. The attacker authenticated with valid OAuth tokens that customers had granted to the Drift integration. Salesforce's role was to revoke those tokens and remove Drift from AppExchange, and it made the same statement about the later Gainsight incident in November 2025.
Where to start this week
Open the connected apps list in your Salesforce org, or the third-party access page in Google Workspace, and sort by last used. Disconnect anything nobody can name an owner for. That one hour removes you from the blast radius of the next vendor compromise before it happens.
Then search your support case text for strings that look like keys: "AKIA", "password", "secret" and your own token prefixes. Whatever you find is already a credential sitting in a system you share with integrations. Rotate it, and add a line to your support macros telling customers never to paste secrets into a ticket.
Related on identity and access
For how the same token problem shows up in AI coding tools, read the account of the s1ngularity attack on AI command-line tools.
References
- Google Threat Intelligence Group, Widespread Data Theft Targets Salesforce Instances via Salesloft Drift, 27 August 2025, updated 28 August 2025. Used for actor, dates, queries, credential targets, revocation and hardening advice.
- The Record, Salesloft hacker broke into GitHub, September 2025. Secondary coverage of Salesloft's 6 September Trust Center update; used for the 700 victim quote and GitHub findings. Should be upgraded to the Salesloft Trust Center notice.
- The Register, Drift breach entry point was Salesloft GitHub, 8 September 2025. Used for containment steps and the unknown initial access.
- Cloudflare, The impact of the Salesloft Drift breach on Cloudflare and our customers, 2 September 2025. Used for the per-victim timeline, export timing and 104 rotated tokens.
- Palo Alto Networks Unit 42, Threat Brief: Salesloft Drift Integration Used To Compromise Salesforce Instances, 2 September 2025. Used for objects queried; Unit 42 stopped updating it on 2 December 2025.
- The Register, Salesforce-linked data breach claims 200+ victims, 20 November 2025. Used for the Gainsight token revocation and GTIG count.
Weakest point in the source base: the root-cause findings reach us through press coverage of Salesloft's Trust Center notices, and only one victim, Cloudflare, published a full timeline. Last verified 3 December 2026.
Related reading