+91 7760504273 / +91 9686227978 info@woollemia.com VAPT , Compliance & Audit, SOC & SIEM, Cloud Security, Threat Modeling & Security Architecture
Back to Articles
Woollemia Infosec Blog
Identity & Third-Party Risk

OAuth Tokens: The Master Keys Hackers Are Stealing to Bring Down Entire Ecosystems

Woollemia Infosec June 2026 11 min read OAuth Security · Supply Chain
0% read
Article 3
11 min read
Identity & Third-Party Risk

OAuth Tokens: The Master Keys Hackers Are Stealing to Bring Down Entire Ecosystems

Woollemia Infosec June 2026 11 min read OAuth Security / Supply Chain
Share

A stolen OAuth token from a small AI vendor was enough to walk straight through Vercel's front door. No exploit. No malware signature. No alert. Just a key, used exactly as it was designed to be used — and the supply chain attack vector now defining enterprise breach risk in 2026.

OAuth Security Supply Chain Identity Risk Third-Party Risk

In April 2026, attackers didn't hack Vercel — one of the most popular cloud deployment platforms in the world, trusted by millions of developers and thousands of enterprises. They hacked a smaller company called Context.ai. They stole its Google Workspace OAuth tokens. And then they walked right through Vercel's front door.

No brute-force. No zero-day exploit. No sophisticated technical magic. Just a stolen key, used exactly as it was designed to be used. This is the OAuth supply chain attack — and it is quietly becoming the most devastatingly effective attack vector in enterprise cybersecurity.

🔑 #1 Emerging Attack Vector 2026
🏢 700+ Orgs Breached in One Cascade
⏱️ 60 Days Average Undetected Dwell Time

First: What Is OAuth and Why Does Everyone Use It?

OAuth 2.0 — The Protocol Powering Cloud Interconnection

OAuth 2.0 is the authorisation framework that powers the interconnected cloud ecosystem. When you click "Sign in with Google" on a third-party website, you're using OAuth. When you connect your Slack workspace to Jira, your HubSpot to Salesforce, or your GitHub to a CI/CD pipeline — you're using OAuth.

The protocol works by creating delegated authorisation tokens: rather than sharing your actual password with a third-party service, you grant that service a token that gives it specific, scoped access to act on your behalf. It's elegant, it's convenient, and it's the foundation of the SaaS ecosystem. It's also a massive, largely unmonitored attack surface.

Critical Security Implication

A valid OAuth token, used by an attacker, looks exactly like a legitimate service doing its normal job. No failed logins to flag. No unusual authentication patterns. No malware signatures. No impossible travel alerts. The attacker is literally using a valid credential to perform authorised-looking actions. Traditional security controls are largely blind to this.

The Vercel Breach: A Step-by-Step Anatomy

The April 2026 Vercel incident is worth examining in detail because it illustrates the complete attack chain with unusual clarity.

01
Reconnaissance
Target Selection — Find the Weakest Link
Attackers didn't start with Vercel. They identified Context.ai — an AI platform with OAuth integrations into Google Workspace used by Vercel's teams. Smaller vendors typically have fewer security resources and the same valuable OAuth connections.
02
Initial Access
Lumma Stealer Malware Infection
Context.ai employee devices were infected with Lumma Stealer — an infostealer malware commercially available on criminal forums that specifically targets browser-stored credentials, cookies, and authentication tokens. This is not nation-state tradecraft.
Commercially Available Malware
03
Token Theft
OAuth Token Harvest
The malware exfiltrated the Google Workspace OAuth tokens stored on compromised devices — providing delegated access to Context.ai's Google Workspace environment and, through integration relationships, indirect access to connected services.
04
Lateral Movement
Trust Relationship Exploitation
Using harvested tokens, attackers gained access to Vercel's internal systems through the trust relationship established between Context.ai and Vercel's development environment. The attacker didn't hack Vercel — they used a legitimate, authorised connection.
05
Exfiltration
Environment Variable Theft
Once inside, attackers accessed environment variables — the configuration secrets, API keys, and credentials applications use to connect to other services — for a subset of Vercel customer projects.
AI-Augmented Speed Noted by Vercel CEO
Core Insight
The entire attack chain exploited trust, not vulnerability. There was no bug in OAuth. There was a legitimate trust relationship, a compromised party, and an attacker who understood how to leverage it.

The 700-Organisation Cascade: When One Breach Becomes Seven Hundred

In early 2026, attackers compromised OAuth tokens from both Drift and Salesloft. Both platforms had deep OAuth integrations with Salesforce. By exploiting the compromised tokens, attackers accessed Salesforce environments at over 700 organisations. One breach cascade. Seven hundred victims.

This is the multiplier effect that makes OAuth supply chain attacks so extraordinarily dangerous. Consider where the cascade could hit hardest:

HealthcareA compromised patient engagement platform could expose EHR systems across hundreds of hospitals through a single OAuth integration.
Financial ServicesA compromised fintech integration could expose customer data and transaction records across dozens of banks simultaneously.
LegalA compromised document management integration could expose confidential client communications at hundreds of law firms.
ManufacturingA compromised supply chain management integration could expose intellectual property across entire industry sectors.
Woollemia Insight

The question is not whether your vendor relationships create this kind of risk — they do. The question is whether you have mapped and managed that risk. Most organisations haven't.

The Shadow IT Explosion: OAuth Grants Nobody Authorised

In the average enterprise, the number of SaaS applications in active use is typically three to five times the number officially sanctioned by IT. Every unsanctioned OAuth connection creates a trust relationship that:

What Every Shadow OAuth Connection Creates
  • →
    May grant the new tool access to corporate data beyond what is strictly necessary
  • →
    Is typically invisible to the security team and never reviewed
  • →
    May involve a vendor with a security posture far below enterprise standards
  • →
    May never be revoked when the employee stops using the tool or leaves the company

OAuth grants that are never revoked are permanently active attack vectors. An employee who connected a personal productivity app to their corporate Google Workspace three years ago, forgot about it, and has since left the company may have left behind an active OAuth connection to an app the company knows nothing about.

The Full Attack Chain: Phase by Phase

Understanding the attack chain helps security teams identify where defensive controls can have the most impact:

01
Phase 1 — Reconnaissance
Target & Vendor Mapping
Attacker identifies high-value enterprise targets, maps their SaaS vendor ecosystem, and identifies vendors with broad OAuth access and a weaker security posture.
02
Phase 2 — Vendor Compromise
Infostealer Deployment & Token Harvest
Lumma Stealer or similar malware is delivered to a vendor employee device. OAuth tokens are exfiltrated and validated for scope and access.
03
Phase 3 — Trust Exploitation
Silent Entry via Legitimate Credentials
Harvested OAuth tokens are used to access the target enterprise. No authentication alerts triggered — legitimate credentials in use.
04
Phase 4 — Lateral Movement
Pivot, Exfiltrate, Repeat
OAuth access is used to pivot to additional services. Sensitive data is exfiltrated. Additional OAuth tokens in exfiltrated data are harvested for further pivoting.
05
Phase 5 — Persistence
Long-Term Undetected Access
Additional access mechanisms are established. Evidence of initial OAuth-based entry is covered. In the Context.ai / Vercel case: two months of undetected access before disclosure.

Defending Against OAuth Supply Chain Attacks: 5 Pillars

OAuth supply chain attacks are defensible. The key is visibility, governance, and monitoring — applied rigorously to your OAuth ecosystem:

1
Pillar 1
Complete Visibility — Know What You Have
Critical
  • Conduct a comprehensive audit of every OAuth connection — Google Workspace, Microsoft 365, Salesforce, GitHub, and cloud infrastructure
  • Use tools like Microsoft Entra, Google Workspace Admin Console, Okta SaaS Management, Nudge Security, or a dedicated CASB solution
  • Most organisations discover hundreds of OAuth grants they were unaware of — many from apps no longer in use
2
Pillar 2
Governance — Control What You Allow
Critical
  • Enforce least-privilege OAuth scopes — an app that reads email subjects should not be able to send email on your behalf
  • Require security review and approval before any third-party application is granted OAuth access to corporate resources
  • Assess vendor security posture before granting access — consider requiring SOC 2 Type II and completing security questionnaires
3
Pillar 3
Token Hygiene — Shrink the Attack Surface
High Priority
  • Implement a regular process to identify and revoke unused OAuth grants — old PoC connections are unnecessary permanent risk
  • Enforce aggressive token expiry windows where feasible — hours, not months
  • For high-value integrations, implement automated token rotation to limit stolen-token usability windows
4
Pillar 4
Detection — Monitor for Anomalous OAuth Activity
High Priority
  • Establish behavioural baselines for normal OAuth token usage — which apps use which tokens, at what times, from what IP addresses
  • Implement detection logic that correlates OAuth activity across services — cross-context token usage is a high-fidelity signal
  • Subscribe to threat intelligence feeds that specifically cover SaaS vendor compromises and OAuth token theft campaigns
5
Pillar 5
Response — Plan for the Inevitable
Plan Now
  • Build specific incident response playbooks for OAuth supply chain scenarios — how to rapidly revoke all OAuth access from a specific vendor
  • Pre-plan third-party notification procedures — knowing exactly what to do when a vendor is compromised dramatically reduces response time
Early response limits damage. The two-month dwell time in the Vercel case is not unusual — it's typical for OAuth-based breaches.

New Questions for Every Vendor Security Assessment

The OAuth supply chain threat has significant implications for vendor management and third-party risk. Traditional assessments asked about security policies and certifications. Add these OAuth-specific questions to every assessment:

OAuth-Specific Vendor Security Assessment Questions
  • Q1
    What OAuth access are you requesting, and what is the minimum access necessary for your service to function?
  • Q2
    What is your process for detecting and responding to OAuth token compromise?
  • Q3
    How do you monitor for unusual usage of the OAuth tokens you've been granted?
  • Q4
    What is your infostealer detection and response capability — do you have controls to prevent malware like Lumma Stealer from exfiltrating tokens from employee devices?
  • Q5
    What is your incident notification timeline and process if you discover a compromise?

The Bigger Picture: A World of Interconnected Trust

The OAuth supply chain threat is a symptom of a much larger architectural shift. We have built an ecosystem of extraordinary interconnection — cloud services that talk to cloud services, APIs that call APIs, agents that orchestrate agents. This creates enormous value. It also creates a trust graph of staggering complexity.

Every node in that trust graph is a potential compromise point. Every edge — every OAuth connection, every API integration — is a potential attack path. The organisations that will thrive manage their trust graph deliberately: knowing what connections exist, governing what access is granted, monitoring for compromise, and responding rapidly when trust is violated.

At Woollemia Infosec, third-party risk and identity security are at the core of everything we do. We help organisations map their OAuth ecosystem, assess vendor security postures, implement detection and monitoring capabilities, and build the response plans they need for when — not if — a vendor they trust is compromised. Has your organisation done an OAuth grant audit recently?

— Woollemia Infosec, Identity & Third-Party Risk Team · +91 7760504273 / +91 9686227978
Engage
Share
Article Feedback
Was this article helpful?
Thank you for your feedback!
React to this article

Hand-picked articles for you

Article 1
7 min read
Cyber Awareness

Hackers Are Thinking Like 2026. Is Your Security Still Stuck in 2015?

Woollemia Team Mar 2026

In 2026, cyber attackers no longer rely on loud exploits or obvious malware. They operate silently, patiently, and strategically — often using legitimate access and trusted identities to move undetected inside organizations for weeks.

Article 2
6 min read
Cyber Awareness

Safe Email & Internet Usage — What Every Employee Must Know

Woollemia Team May 2026

Email and internet access are the most common entry points for cyber attacks. Most incidents do not begin with sophisticated hacking — they begin with an unsafe click, an unexpected attachment, or a moment of distraction. Awareness is your strongest line of defence.

Article 4
12 min read
Cyber Awareness

Quantum Computing & Post-Quantum Cryptography — Why Your Encrypted Data Is Already Being Stolen

Woollemia Team Jun 2026

Attackers are stealing your encrypted data today, planning to decrypt it when quantum computers become powerful enough. This is not a theoretical future concern — nation-state threat actors are actively executing it right now.

Article 5
Incident Brief
Cyber Awareness

27 Seconds to Breach

Woollemia Team Jun 2026

By the time you finish your coffee, a skilled adversary could already own your environment. Twenty-seven seconds is now all it takes to move from "we're in" to actively roaming a network, stealing data, and setting up shop.