{"incident":{"slug":"salesloft-drift-aug-2025-oauth-cascade","caseId":"BI-2025-005","organization":"Salesloft Drift","title":"Salesloft Drift: stolen GitHub PATs exposed Drift OAuth tokens and reached over 700 customers","shortSummary":"From March to September 2025, attackers used Salesloft GitHub PATs to steal Drift AWS secrets and OAuth tokens, then queried more than 700 customers’ Salesforce and Google Workspace tenants.","lede":"Between March 22 and September 5, 2025, an attacker tracked as UNC6395 and GRUB1 abused Salesloft GitHub personal access tokens to enumerate repositories and extract environment secrets belonging to Drift, Salesloft’s acquired AI chat platform. Between August 8 and August 18, the attacker used stolen Drift OAuth tokens to pull support cases and CRM data from more than 700 organizations, including Cloudflare and Zscaler, hunting for pasted AWS keys and Snowflake tokens. Salesloft’s core GCP and AWS production apps stayed segmented and untouched.","incidentDate":"Mar–Aug 2025","incidentDateIso":"2025-08-08","incidentEndIso":"2025-08-18","waves":[{"id":"sl-w1","label":"Wave 1","date":"Mar 22 to Jun 2025","startIso":"2025-03-22","endIso":"2025-06-30","summary":"Attackers used Salesloft GitHub PATs from TOR and anonymizing proxies to copy repositories and environment secrets tied to Drift."},{"id":"sl-w2","label":"Wave 2","date":"Aug 8 to Aug 18, 2025","startIso":"2025-08-08","endIso":"2025-08-18","summary":"Stolen Drift OAuth tokens queried over 700 connected customer Salesforce and Google Workspace tenants for support tickets containing cloud credentials."}],"disclosedDate":"Aug 20, 2025","sourceUrl":"https://trust.salesloft.com/","sourceAuthor":"Salesloft Trust Center (Mandiant Investigation Summary) and Google Threat Intelligence","vectorFilter":"Third-party vendor","timeToDetect":"~5 months from March GitHub intrusion (tokens revoked Aug 20, 2025)","detectedBy":"Salesforce, Salesloft, and Mandiant (engaged Aug 26, 2025)","initialAccess":{"label":"Compromised GitHub PATs & Drift AWS secrets","detail":"Attackers used Salesloft GitHub PATs from TOR/proxies to exfiltrate repos, env secrets, and Drift OAuth tokens","evidence":"confirmed"},"secondaryVectorMeta":{"term":"Initial PAT acquisition","label":"How PATs were first obtained withheld","evidence":"withheld"},"blastRadius":"700+ customer Salesforce and Google Workspace tenants","whatItReachedShort":"Salesloft GitHub repos, Drift AWS environment secrets, Drift OAuth access and refresh tokens, and downstream customer Salesforce tenants including Cloudflare and Zscaler","whatHeldShort":"Salesloft core GCP and AWS production applications, Salesloft endpoints, and Salesloft’s email platform","revisions":[{"id":"Rev A","date":"Sep 30, 2025","note":"Published from Salesloft’s Mandiant Investigation Summary on trust.salesloft.com, Google Threat Intelligence (UNC6395), Cloudflare, and Zscaler disclosures."}],"bodyMarkdown":"## How they got in\n\nSalesloft acquired the marketing chatbot Drift, and Drift held something attackers love more than passwords: hundreds of pre-authorized OAuth refresh tokens plugged straight into enterprise Salesforce and Google Workspace tenants.\n\nAccording to Salesloft's Mandiant Investigation Summary, the intrusion began nearly five months before customers ever heard about it. Starting on March 22, 2025, an attacker tracked as UNC6395 (and GRUB1 by Cloudflare) connected through TOR and anonymizing proxies using valid Salesloft GitHub personal access tokens. They enumerated repositories, exfiltrated code and environment variable secrets, and reached Drift's AWS infrastructure where customer OAuth tokens lived. How those initial GitHub PATs were first obtained has not been disclosed publicly.\n\n## What it reached\n\nBetween August 8 and August 18, 2025, the attacker turned those stolen Drift OAuth tokens into a multi-company supply-chain sweep across more than 700 organizations, including major security vendors like Cloudflare and Zscaler. They did not exploit a bug in Salesforce itself. Instead, they authenticated cleanly as the Drift integration user, ran `SELECT COUNT() FROM Case`, and bulk-exported freeform support tickets specifically to run TruffleHog against customer-pasted AWS keys, Snowflake tokens, and API secrets.\n\nSalesloft and Salesforce revoked all Drift-to-Salesforce OAuth tokens on August 20, 2025 and pulled Drift from AppExchange. Mandiant was engaged on August 26 and closed remediation on September 30 after eliminating personal access tokens and external collaborators across Salesloft's GitHub org and locking down Drift AWS accounts.\n\n## What held\n\nAcquisition segmentation saved Salesloft's primary platform. Mandiant verified technical isolation between the acquired Drift environment and Salesloft's core systems, finding no evidence of compromise across Salesloft's endpoints, email platform, or core GCP and AWS production applications.\n\n> **Why this matters for defenders**\n>\n> A marketing chatbot connected to your CRM should never hold permission to bulk-export every customer support ticket in your company. Treat third-party SaaS OAuth apps as privileged non-human identities: restrict object scopes to leads only, bind integration users to vendor IP ranges, and monitor Bulk API 2.0 job creations and deletions.","narrative":{"howTheyGotIn":["Salesloft acquired the marketing chatbot Drift, and Drift held something attackers love more than passwords: hundreds of pre-authorized OAuth refresh tokens plugged straight into enterprise Salesforce and Google Workspace tenants.","According to Salesloft's Mandiant Investigation Summary, the intrusion began nearly five months before customers ever heard about it. Starting on March 22, 2025, an attacker tracked as UNC6395 (and GRUB1 by Cloudflare) connected through TOR and anonymizing proxies using valid Salesloft GitHub personal access tokens. They enumerated repositories, exfiltrated code and environment variable secrets, and reached Drift's AWS infrastructure where customer OAuth tokens lived. How those initial GitHub PATs were first obtained has not been disclosed publicly."],"whatItReached":["Between August 8 and August 18, 2025, the attacker turned those stolen Drift OAuth tokens into a multi-company supply-chain sweep across more than 700 organizations, including major security vendors like Cloudflare and Zscaler. They did not exploit a bug in Salesforce itself. Instead, they authenticated cleanly as the Drift integration user, ran `SELECT COUNT() FROM Case`, and bulk-exported freeform support tickets specifically to run TruffleHog against customer-pasted AWS keys, Snowflake tokens, and API secrets.","Salesloft and Salesforce revoked all Drift-to-Salesforce OAuth tokens on August 20, 2025 and pulled Drift from AppExchange. Mandiant was engaged on August 26 and closed remediation on September 30 after eliminating personal access tokens and external collaborators across Salesloft's GitHub org and locking down Drift AWS accounts."],"whatHeld":["Acquisition segmentation saved Salesloft's primary platform. Mandiant verified technical isolation between the acquired Drift environment and Salesloft's core systems, finding no evidence of compromise across Salesloft's endpoints, email platform, or core GCP and AWS production applications."],"sideNoteTitle":"Why this matters for defenders","sideNoteParagraphs":["A marketing chatbot connected to your CRM should never hold permission to bulk-export every customer support ticket in your company. Treat third-party SaaS OAuth apps as privileged non-human identities: restrict object scopes to leads only, bind integration users to vendor IP ranges, and monitor Bulk API 2.0 job creations and deletions."]},"claims":[{"group":"How they got in","claim":"Intrusion activity spanned March 22 to September 5, 2025, involving GitHub API calls from TOR and proxies using Salesloft GitHub PATs to exfiltrate repos and environment secrets","evidence":"confirmed","source":"Salesloft Trust Center Mandiant Investigation Summary, Sep 30, 2025"},{"group":"How they got in","claim":"How the attacker initially obtained the Salesloft GitHub personal access tokens has not been publicly detailed","evidence":"withheld","source":"Salesloft Trust Center Mandiant Investigation Summary"},{"group":"What it reached","claim":"Stolen Drift OAuth tokens were abused between August 8 and August 18, 2025 to pull Salesforce and Google Workspace data across more than 700 customer organizations","evidence":"confirmed","source":"Google Threat Intelligence (UNC6395), Cloudflare, and Zscaler disclosures"},{"group":"What held","claim":"Mandiant verified segmentation between Drift and Salesloft, finding no compromise of Salesloft endpoints, core GCP and AWS production apps, or email","evidence":"confirmed","source":"Salesloft Trust Center Mandiant Investigation Summary, Sep 30, 2025"}],"cascade":{"id":"salesloft-drift-2025","title":"Salesloft Drift, 2025","shortLabel":"Salesloft Drift cascade","summary":"Stolen Drift OAuth tokens opened hundreds of downstream Salesforce tenants, including Cloudflare and Zscaler."},"relations":[{"targetSlug":"cloudflare-aug-2025-salesloft-drift-cases","organization":"Cloudflare","direction":"downstream","fromWave":"sl-w2","edgeLabel":"Drift OAuth token","mechanism":"Stolen Drift-to-Salesforce OAuth credentials let GRUB1 export Cloudflare Salesforce support case text between Aug 12 and Aug 17, 2025.","date":"Aug 12–17, 2025","dateIso":"2025-08-12","evidence":"confirmed","linkEvidence":"confirmed","sourceLabel":"Cloudflare Postmortem, Sep 2, 2025","sourceUrl":"https://blog.cloudflare.com/response-to-salesloft-drift-incident/"},{"targetSlug":"zscaler-aug-2025-salesloft-drift-crm","organization":"Zscaler","direction":"downstream","fromWave":"sl-w2","edgeLabel":"Drift OAuth token","mechanism":"Compromised Drift OAuth credentials gave unauthorized read access to Zscaler Salesforce contact records and support case header fields.","date":"Aug 8–18, 2025","dateIso":"2025-08-08","evidence":"confirmed","linkEvidence":"confirmed","sourceLabel":"Zscaler Security Response, Aug 30, 2025","sourceUrl":"https://www.zscaler.com/blogs/company-news/salesloft-drift-supply-chain-incident-key-details-and-zscaler-s-response"}],"diagram":{"label":"How stolen Salesloft GitHub PATs exposed Drift OAuth tokens and rippled into 700+ customer tenants","zones":[{"id":"ext","label":"UNC6395 / GRUB1","kind":"boundary","lane":0},{"id":"sl","label":"Salesloft & Drift infra","kind":"boundary","lane":1},{"id":"cust","label":"Downstream customers","kind":"boundary","lane":2},{"id":"safe","label":"Segmented Salesloft core","kind":"isolated","lane":2}],"nodes":[{"id":"sl-atk","zone":"ext","name":"UNC6395 / GRUB1","detail":"TOR & proxy API calls","kind":"attacker","ev":"confirmed","at":0,"when":"Mar 22, 2025","steps":[1],"story":"Tracked as UNC6395 by Mandiant and GRUB1 by Cloudflare, the actor connected through TOR and anonymizing proxies using valid Salesloft GitHub PATs."},{"id":"sl-gh","zone":"sl","name":"Salesloft GitHub PATs","detail":"Repos & env secrets","kind":"compromised","ev":"confirmed","at":1,"when":"Mar–Jun 2025","steps":[1,2],"ctl":["sl-k1"],"story":"Mandiant traced suspicious GitHub API calls starting March 22, 2025 that enumerated repositories and exfiltrated environment variable secrets tied to Drift."},{"id":"sl-oauth","zone":"sl","name":"Drift AWS & OAuth","detail":"Customer integration keys","kind":"compromised","ev":"confirmed","at":2,"when":"Jun–Aug 2025","steps":[2,3],"ctl":["sl-k2"],"story":"Secrets extracted from Drift’s AWS infrastructure yielded valid OAuth access and refresh tokens for hundreds of customer Salesforce and Google Workspace integrations."},{"id":"sl-cf","zone":"cust","name":"Cloudflare","detail":"Support cases exported","kind":"compromised","ev":"confirmed","at":3,"when":"Aug 12–17, 2025","steps":[3],"linkedSlug":"cloudflare-aug-2025-salesloft-drift-cases","linkedOrg":"Cloudflare","ctl":["sl-k3"],"story":"GRUB1 used Cloudflare’s Drift OAuth token to enumerate Salesforce objects and run a Bulk API 2.0 export of support case text before deleting the job."},{"id":"sl-zs","zone":"cust","name":"Zscaler & 700+ orgs","detail":"CRM & case headers","kind":"compromised","ev":"confirmed","at":3,"when":"Aug 8–18, 2025","steps":[3],"linkedSlug":"zscaler-aug-2025-salesloft-drift-crm","linkedOrg":"Zscaler","story":"More than 700 Drift customers, including Zscaler, had Salesforce CRM records and support case text queried for embedded cloud credentials and API tokens."},{"id":"sl-safe","zone":"safe","name":"Salesloft core apps","detail":"GCP, AWS, email intact","kind":"isolated","ev":"confirmed","at":0,"when":"Not reached","story":"Mandiant threat hunts confirmed technical segmentation held: Salesloft’s core GCP and AWS production environments, endpoints, and email platform showed no compromise."}],"edges":[{"id":"sle1","from":"sl-atk","to":"sl-gh","kind":"attack","step":1},{"id":"sle2","from":"sl-gh","to":"sl-oauth","kind":"attack","step":2},{"id":"sle3","from":"sl-oauth","to":"sl-cf","kind":"attack","step":3},{"id":"sle4","from":"sl-oauth","to":"sl-zs","kind":"attack","step":3}],"steps":[{"n":1,"time":"Mar 22–Jun 2025","short":"Mar–Jun 2025","text":"Attacker abuses Salesloft GitHub PATs to pull repositories and secrets","say":"Starting March 22, 2025, UNC6395 makes GitHub API calls from TOR and proxies using valid PATs, copying code repositories and environment variable secrets."},{"n":2,"time":"Jun–Aug 2025","short":"Summer 2025","text":"Harvested Drift AWS secrets expose customer OAuth access and refresh tokens","say":"Credentials gathered from Drift’s environment give the attacker live OAuth tokens linking Drift chatbots into hundreds of customer Salesforce and Google Workspace tenants."},{"n":3,"time":"Aug 8–18, 2025","short":"Aug 8–18","text":"Stolen OAuth tokens query 700+ customer tenants for secrets in support cases","say":"Automated Salesforce queries export customer support tickets at Cloudflare, Zscaler, and hundreds of other firms to mine pasted AWS keys and Snowflake tokens until Aug 20 revocation."}],"controls":[{"id":"sl-k1","step":1,"kind":"control","nodeId":"sl-gh","name":"Kill classic GitHub PATs","tag":"Stops step 1","long":"Eliminate long-lived personal access tokens and external collaborators in favor of short-lived GitHub App tokens restricted by IP allowlist and org SSO."},{"id":"sl-k2","step":2,"kind":"control","nodeId":"sl-oauth","name":"Isolate OAuth vaults","tag":"Stops step 2","long":"Store third-party customer OAuth refresh tokens in hardware-backed KMS enclaves with strict per-service IAM boundaries separate from CI or repo environment variables."},{"id":"sl-k3","step":3,"kind":"control","nodeId":"sl-cf","name":"Scope & pin SaaS OAuth","tag":"Stops step 3","long":"Restrict third-party Salesforce Connected Apps to the minimum object scopes needed and enforce IP restrictions and Bulk API export alerts on every integration user."}],"detectedAt":{"time":"Aug 20, 2025 (Mandiant remediation closed Sep 30, 2025)","short":"Aug 20, 2025","text":"Salesloft and Salesforce revoked all Drift OAuth tokens on August 20, 2025, pulled Drift from AppExchange, and engaged Mandiant on August 26 to lock down Drift AWS and GitHub."}},"plate":{"W":767,"H":382,"label":"How stolen Salesloft GitHub PATs exposed Drift OAuth tokens and rippled into 700+ customer tenants","zones":[{"id":"ext","label":"UNC6395 / GRUB1","kind":"boundary","x":8,"y":16,"w":206,"h":110},{"id":"sl","label":"Salesloft & Drift infra","kind":"boundary","x":252,"y":16,"w":236,"h":212},{"id":"cust","label":"Downstream customers","kind":"boundary","x":526,"y":16,"w":233,"h":212},{"id":"safe","label":"Segmented Salesloft core","kind":"isolated","x":526,"y":248,"w":233,"h":110}],"nodes":[{"id":"sl-atk","name":"UNC6395 / GRUB1","detail":"TOR & proxy API calls","kind":"attacker","ev":"confirmed","x":20,"y":52,"w":182,"at":0,"story":"Tracked as UNC6395 by Mandiant and GRUB1 by Cloudflare, the actor connected through TOR and anonymizing proxies using valid Salesloft GitHub PATs.","when":"Mar 22, 2025","steps":[1]},{"id":"sl-gh","name":"Salesloft GitHub PATs","detail":"Repos & env secrets","kind":"compromised","ev":"confirmed","x":264,"y":52,"w":212,"at":1,"story":"Mandiant traced suspicious GitHub API calls starting March 22, 2025 that enumerated repositories and exfiltrated environment variable secrets tied to Drift.","when":"Mar–Jun 2025","steps":[1,2],"ctl":["sl-k1"]},{"id":"sl-oauth","name":"Drift AWS & OAuth","detail":"Customer integration keys","kind":"compromised","ev":"confirmed","x":264,"y":154,"w":212,"at":2,"story":"Secrets extracted from Drift’s AWS infrastructure yielded valid OAuth access and refresh tokens for hundreds of customer Salesforce and Google Workspace integrations.","when":"Jun–Aug 2025","steps":[2,3],"ctl":["sl-k2"]},{"id":"sl-cf","name":"Cloudflare","detail":"Support cases exported","kind":"compromised","ev":"confirmed","x":538,"y":52,"w":209,"at":3,"story":"GRUB1 used Cloudflare’s Drift OAuth token to enumerate Salesforce objects and run a Bulk API 2.0 export of support case text before deleting the job.","when":"Aug 12–17, 2025","steps":[3],"ctl":["sl-k3"],"linkedSlug":"cloudflare-aug-2025-salesloft-drift-cases","linkedOrg":"Cloudflare"},{"id":"sl-zs","name":"Zscaler & 700+ orgs","detail":"CRM & case headers","kind":"compromised","ev":"confirmed","x":538,"y":154,"w":209,"at":3,"story":"More than 700 Drift customers, including Zscaler, had Salesforce CRM records and support case text queried for embedded cloud credentials and API tokens.","when":"Aug 8–18, 2025","steps":[3],"linkedSlug":"zscaler-aug-2025-salesloft-drift-crm","linkedOrg":"Zscaler"},{"id":"sl-safe","name":"Salesloft core apps","detail":"GCP, AWS, email intact","kind":"isolated","ev":"confirmed","x":541,"y":284,"w":190,"at":0,"story":"Mandiant threat hunts confirmed technical segmentation held: Salesloft’s core GCP and AWS production environments, endpoints, and email platform showed no compromise.","when":"Not reached"}],"edges":[{"id":"sle1","kind":"attack","step":1,"pts":[[202,81],[264,81]]},{"id":"sle2","kind":"attack","step":2,"pts":[[370,110],[370,154]]},{"id":"sle3","kind":"attack","step":3,"pts":[[476,183],[507,183],[507,81],[538,81]]},{"id":"sle4","kind":"attack","step":3,"pts":[[476,183],[538,183]]}],"balloons":{"1":[233,81],"2":[370,132],"3":[507,132]},"noroute":[{"x1":488,"x2":526,"y":278,"label":"No route"}],"bps":[{"id":"sl-k1","step":1,"kind":"control","at":[233,81],"name":"Kill classic GitHub PATs","tag":"Stops step 1","lead":[[233,70],[233,53],[245,53]],"lx":251,"ly":57,"anchor":"start","long":"Eliminate long-lived personal access tokens and external collaborators in favor of short-lived GitHub App tokens restricted by IP allowlist and org SSO.","nodeId":"sl-gh"},{"id":"sl-k2","step":2,"kind":"control","at":[370,132],"name":"Isolate OAuth vaults","tag":"Stops step 2","lead":[[370,143],[370,154],[382,154]],"lx":388,"ly":158,"anchor":"start","long":"Store third-party customer OAuth refresh tokens in hardware-backed KMS enclaves with strict per-service IAM boundaries separate from CI or repo environment variables.","nodeId":"sl-oauth"},{"id":"sl-k3","step":3,"kind":"control","at":[507,132],"name":"Scope & pin SaaS OAuth","tag":"Stops step 3","lead":[[507,121],[507,104],[495,104]],"lx":489,"ly":108,"anchor":"end","long":"Restrict third-party Salesforce Connected Apps to the minimum object scopes needed and enforce IP restrictions and Bulk API export alerts on every integration user.","nodeId":"sl-cf"}],"steps":[{"n":1,"time":"Mar 22–Jun 2025","short":"Mar–Jun 2025","text":"Attacker abuses Salesloft GitHub PATs to pull repositories and secrets","say":"Starting March 22, 2025, UNC6395 makes GitHub API calls from TOR and proxies using valid PATs, copying code repositories and environment variable secrets."},{"n":2,"time":"Jun–Aug 2025","short":"Summer 2025","text":"Harvested Drift AWS secrets expose customer OAuth access and refresh tokens","say":"Credentials gathered from Drift’s environment give the attacker live OAuth tokens linking Drift chatbots into hundreds of customer Salesforce and Google Workspace tenants."},{"n":3,"time":"Aug 8–18, 2025","short":"Aug 8–18","text":"Stolen OAuth tokens query 700+ customer tenants for secrets in support cases","say":"Automated Salesforce queries export customer support tickets at Cloudflare, Zscaler, and hundreds of other firms to mine pasted AWS keys and Snowflake tokens until Aug 20 revocation."}],"stripRows":[{"id":"sr-sl-atk","nodeId":"sl-atk","lineStyle":"solid"},{"id":"sr-step-1","nodeId":"sl-gh","step":1,"lineStyle":"solid","bpIds":["sl-k1"]},{"id":"sr-step-2","nodeId":"sl-oauth","step":2,"lineStyle":"solid","bpIds":["sl-k2"]},{"id":"sr-step-3","nodeId":"sl-cf","step":3,"lineStyle":"none","companionNodeIds":["sl-zs"],"bpIds":["sl-k3"]}],"detectedAt":{"time":"Aug 20, 2025 (Mandiant remediation closed Sep 30, 2025)","short":"Aug 20, 2025","text":"Salesloft and Salesforce revoked all Drift OAuth tokens on August 20, 2025, pulled Drift from AppExchange, and engaged Mandiant on August 26 to lock down Drift AWS and GitHub."}},"codeArtifacts":[{"id":"sl-sf-audit","filename":"salesforce-connected-app-audit.soql","language":"sql","description":"Audit Salesforce EventLogFile records for third-party Bulk API exports and unusual user agents.","code":"-- Query Salesforce EventLogFile for Bulk API 2.0 jobs run by integration users\nSELECT Id, EventType, LogDate, LogFileLength\nFROM EventLogFile\nWHERE EventType IN ('BulkApi2', 'RestApi', 'Login')\n  AND LogDate >= LAST_N_DAYS:30\nORDER BY LogDate DESC;\n"}],"reproductionLab":{"title":"Connected-app OAuth scope check","summary":"Inventory every OAuth Connected App in your Salesforce or Google Workspace tenant and verify none hold unnecessary read access to support cases or Bulk API exports.","bundleMeta":"SOQL query and OAuth checklist, MIT license","safetyNote":"Read-only audit of SaaS integration permissions.","commands":"# In Salesforce Setup -> Connected Apps OAuth Usage:\n# 1. Review every chatbot / marketing app with api or full scope\n# 2. Enforce IP Relaxation = Enforce IP restrictions on integration profiles\n"},"iocs":[{"type":"IPv4","value":"44.215.108.109","note":"AWS infrastructure used by GRUB1/UNC6395 for Salesforce tenant reconnaissance","evidence":"confirmed"},{"type":"IPv4","value":"208.68.36.90","note":"DigitalOcean IP used for Bulk API 2.0 support-case exfiltration","evidence":"confirmed"},{"type":"User-Agent","value":"Salesforce-Multi-Org-Fetcher/1.0","note":"Custom multi-tenant Salesforce extraction tooling observed by Cloudflare","evidence":"confirmed"}],"publishedAt":"2025-09-30T16:00:00Z","origin":"editorial"}}