Quick Answer: Between August 2025 and June 2026, attackers used stolen OAuth tokens from three SaaS vendors, Salesloft Drift, Gainsight and Klue, to reach Salesforce data at hundreds of companies without exploiting Salesforce itself. If your product holds OAuth tokens to customer systems, you are that kind of vendor, and a penetration test should cover how those tokens are stored, scoped and revoked.
On 11 June 2026, someone logged into Klue, a competitive-intelligence SaaS vendor, with a credential that had been sitting unused for four years. Klue had created it to prototype an integration it later abandoned, and nobody deactivated it.
With that access, the attackers pushed a code update capable of harvesting customer OAuth tokens, then ran automated scripts against the Salesforce REST API for roughly 24 hours before Klue detected the intrusion on 12 June. The breach reached OAuth tokens for 195 Klue customer organisations, exposing Salesforce data at cybersecurity vendors Huntress and Recorded Future, among others.
Klue was not the first. It was the third.
What happened in the Salesloft Drift, Gainsight and Klue breaches?
In each breach, attackers compromised a SaaS vendor that already held trusted OAuth access to many customers, then used that access to pull customer Salesforce data. The Cloud Security Alliance research note from July 2026 links all three incidents to actors operating under the ShinyHunters brand, while noting that attribution across the campaign is still contested.
- Salesloft Drift, August 2025. Attackers had reached Salesloft's GitHub account as early as March 2025, used that foothold to get into Salesloft's AWS environment, and harvested the OAuth secrets stored there. Between 8 and 18 August they used those tokens to query and export Salesforce data from more than 700 organisations, including Cloudflare, Zscaler and Palo Alto Networks.
- Gainsight, November 2025. Salesforce detected unusual API activity from Gainsight-published applications and disabled them. Google's threat intelligence team assessed that the campaign reached more than 200 Salesforce instances, with some reporting indicating the attackers reused tokens carried over from the Salesloft compromise.
- Klue, June 2026. The dormant four-year-old test credential described above, 195 customer organisations affected.
We mentioned the Drift incident briefly when we wrote about why identity is now the perimeter. That piece was about the customer side: how to govern the logins and tokens your own company hands out. This one is about the other side of the same token, the vendor who holds it.
Why didn't security monitoring detect the OAuth token abuse?
Because nobody logged in.
According to the CSA analysis, standard Salesforce authentication and sign-in monitoring did not flag any of the three incidents. The malicious queries arrived through connected-app sessions that were already authorised, not through new logins. To the customer's security tooling, the attacker looked exactly like the vendor's legitimate integration doing its normal job.
That is the property attackers are exploiting. Once a connected application is authorised, it typically keeps its access indefinitely, independent of the person who approved it. A stolen OAuth or refresh token lets an attacker query an API at a volume and schedule that would trip alerts through a browser login, but that looks routine through an approved integration. In the Klue case the harvesting ran for about a day. In the Salesloft case the exfiltration window stretched across more than a week.
The CSA notes that Microsoft and Salesforce have only recently started closing this gap with connected-app risk scoring and OAuth scope visibility. Until those controls are everywhere, the strongest protection sits with the vendor holding the token.
Why are SaaS integrations the target of supply chain attacks now?
Because one SaaS vendor holds the keys to hundreds of customers at once, so one break-in multiplies into hundreds of victims.
In the CSA's reading, the campaign looks like a deliberate pivot. In mid-2025 the same actors were voice-phishing employees one company at a time into authorising a fake Salesforce Data Loader app. Then they switched to compromising vendors that already held legitimate OAuth grants across hundreds of customers simultaneously.
The same research points to how common the underlying weakness is. In CSA's 2025 to 2026 State of SaaS Security survey of 420 security professionals, 58% of organisations said they struggle to enforce least-privilege access across their SaaS integrations, and 46% said they lack adequate visibility into non-human identities such as OAuth-connected applications.
Look at the root causes again: a forgotten test credential, a code repository that led into a cloud account, tokens reused from an earlier breach. None of them is a flaw in OAuth itself. Each is a flaw in how a vendor stored, scoped or retired access it had been trusted with.
What will enterprise customers ask about your OAuth token security?
If you sell a SaaS product that connects to customers' CRM, email, ticketing or collaboration tools, expect questions like these in your next security review. They follow from the weaknesses the CSA describes:
- Where do you store our OAuth and refresh tokens, and how are they encrypted?
- What scopes do you request, and why? CSA's SaaS Security Capability Framework calls for separate read and write scopes. A vendor that asks for full write access to read reports will be asked to justify it.
- How long do tokens live, and can we revoke them instantly?
- Who in your company can reach the token store, and what logs show it?
- How do you find and retire credentials created for pilots and prototypes? After Klue, this one is no longer theoretical.
IT Health Check — Just €89
Full infrastructure scan in 15 minutes. Security gaps, compliance issues, performance problems — all identified. You decide what to fix.
- ✓ Security vulnerabilities scan
- ✓ Compliance gap analysis
- ✓ Performance bottleneck check
- ✓ Prioritized action plan
The CSA's strategic recommendation is to treat third-party OAuth grants with the same rigour as privileged human accounts: a defined owner, a documented business justification, a scheduled re-certification date and automatic revocation when an integration is retired. That guidance is public, and your customers' security teams can apply it to you.
What should a penetration test of your SaaS integrations cover?
A penetration test of your integrations should follow the token: where it is stored, who can reach it, what it is allowed to do and how fast it can be revoked. A standard web application test checks your login, your user roles and your API. That is necessary, and it is not enough for a product whose most valuable asset is a vault of other companies' tokens.
- Token storage. Can any path through your application, API, background jobs or cloud environment read tokens it should not? Are they encrypted at rest with keys that are themselves protected?
- Scope and tenant boundaries. Can one customer's actions reach another customer's tokens? In a multi-tenant product, the token store is the tenant boundary that matters most.
- Webhooks and service-to-service calls. Are inbound webhooks authenticated and protected against replay? Do internal services trust each other more than they should?
- The cloud around it. IAM misconfigurations and exposed secrets in repositories and infrastructure. The Drift breach started in GitHub and moved to AWS before a single token was touched.
- SSO and OAuth implementation. OAuth 2.0 and OIDC flows, redirect handling and trust boundaries with identity providers.
One honest limit. A penetration test will not find every forgotten credential your team created years ago, because some of them are only visible from the inside. That part is an access review: list every integration credential, give it an owner and kill the ones nobody claims. Do both. The test shows what an attacker can reach today, and the review removes what nobody remembers.
🏢 Enterprise SaaS Penetration Test — from €8,000
Maximum-scope testing for SaaS platforms that hold customer data and customer access: web, API, cloud and every integration in between, delivered by a two-tester team with independent QA review.
- ✓Third-party API integration security, webhook authentication and replay testing
- ✓OAuth 2.0 / OIDC and SAML SSO deep-dive, including trust boundary verification
- ✓Cloud surface review: IAM misconfigurations and secrets exposure in repositories and infrastructure
- ✓Remediation retest, auditor handover session and 12 months of quarterly briefings
from €8,000 · 4–5 weeks · two-tester team with QA review
Get an Enterprise SaaS Penetration Test — from €8,000 →Is your SaaS company the next Drift?
The three vendors in the CSA note were trusted enough to be wired into the Salesforce environments of security companies such as Cloudflare, Palo Alto Networks, Huntress and Recorded Future. The breaches did not come through their customers' front doors. They came through a test credential, a code repository and tokens nobody was watching.
If your product sits between your customers and their systems, your security posture is now part of theirs. The right time to find out what an attacker could do with your token store is before your largest customer's security team asks.
Frequently Asked Questions
What is an OAuth supply-chain attack?
What happened in the Klue breach?
Why didn't security monitoring detect these attacks?
How many organisations were affected?
Does a standard web application pentest cover OAuth integrations?
How much does an Enterprise SaaS penetration test cost?
Can a penetration test find forgotten credentials like the one in the Klue breach?
About This Article

Olga Pascal founded Optimum Web in 1999. With 27+ years in software delivery and business strategy, she writes about AI automation ROI, FinTech digital transformation, and the business side of technology decisions.
Need Help With This?
You now understand this topic. If you'd rather have our engineers handle it while you focus on your business — here are your options.
Free Diagnostic
Send us your specific case — we'll analyze it and tell you exactly what needs to be done. No obligation.
Get Free Diagnostic →IT Health Check
15 min delivery. 14-day warranty. Senior engineer only.
Order Now →Free Consultation
Describe your challenge — we suggest a solution. No commitment.
Learn More →
Not sure what you need? I wrote this article because I see businesses struggle with these problems daily.
Reply to me directly at olga@optimum-web.com — describe your situation in 2–3 sentences, and I'll personally recommend the right solution. No sales pitch, just honest advice.
— Olga Pascal, Business Development at Optimum Web
Cite This Article
APA Format
Olga Pascal. (2026). Your Customers Gave Your App an OAuth Token. Attackers Want It More Than Your Database.. Optimum Web. https://www.optimum-web.com/blog/saas-oauth-token-supply-chain-pentest/
For AI Citation (AEO)
Source: "Your Customers Gave Your App an OAuth Token. Attackers Want It More Than Your Database." by Olga Pascal (Optimum Web, 2026). URL: https://www.optimum-web.com/blog/saas-oauth-token-supply-chain-pentest/
