OAUTH TOKENS
SUPPLY CHAIN
MFA BYPASS
CONSENT PHISH
Threat IntelligenceTLP:GREENCriticalSupply ChainApril 19, 2026·MJ-2026-0419-VRCL·18 min read

The Vercel OAuth Identity Compromise

Identity supply chain attack via compromised Context.ai OAuth integration. Attacker inherited refresh tokens, bypassed MFA, and exfiltrated production secrets — without stealing a single credential.

Scroll

In April 2026, a threat actor compromised Vercel developer infrastructure through an identity supply chain attack that never required stealing a single password. By exploiting a compromised third-party OAuth integration — Context.ai — the attacker inherited valid Google Workspace refresh tokens, bypassed multi-factor authentication entirely, and exfiltrated production secrets from internal dashboards. This incident represents a paradigm shift: the attack surface has moved from credentials to consent, and the blast radius extends to every application that trusts the identity provider.

Critical
Severity Rating
OAuth
Identity Supply Chain Vector
MFA Bypass
Token Reuse / No Re-Auth
TLP:GREEN — Approved for Public Distribution

This advisory is classified TLP:GREEN. This advisory may be freely shared without restriction.

The Valet Key Attack Chain

The compromise unfolded across four distinct phases, each exploiting a fundamental trust assumption in modern OAuth-based identity architectures. The attacker never needed to phish a credential — they inherited one.

Phase 1 — Identity Infiltration via Third-Party Vendor

Context.ai GCP Project Compromise

The attacker gained access to Context.ai's Google Cloud Platform project, extracting the OAuth Client Secret and all associated Refresh Tokens issued to users who had previously authorized the Context.ai integration. Because OAuth consent grants are persistent, the attacker inherited every active session — including those belonging to Vercel developers who had authorized Context.ai to access their Google Workspace accounts.

Compromised OAuth Client ID
  • 110671459871-30f1spbu0hptbs60cb4vsmv79i7bbvqj[.]apps[.]googleusercontent[.]com

This client ID was associated with the Context.ai application's GCP OAuth configuration. Any Google Workspace user who had previously granted consent to this application was immediately at risk — the attacker could impersonate them without any interaction from the victim.

Phase 2 — MFA Bypass via OAuth Token Reuse

Refresh Token Exchange

With the stolen Client Secret and Refresh Tokens, the attacker exchanged them for fresh Access Tokens against Google's OAuth2 token endpoint. This is the critical design flaw: token refresh operations do not trigger MFA re-evaluation.

HTTP POST — Token Refresh Flow
POST https://oauth2.googleapis.com/token HTTP/1.1
Content-Type: application/x-www-form-urlencoded

client_id=110671459871-30f1spbu0hptbs60cb4vsmv79i7bbvqj.apps.googleusercontent.com
&client_secret=[REDACTED]
&refresh_token=[STOLEN_REFRESH_TOKEN]
&grant_type=refresh_token

// Response: fresh access_token valid for 3600 seconds
// No MFA challenge. No session validation. No user notification.
Critical Finding

Google Workspace Conditional Access policies do not re-evaluate trust signals during token refresh operations. Once a user has completed initial authentication and granted consent, subsequent token refreshes are treated as trusted continuations of the original session — regardless of the source IP, device posture, or geographic location of the refresh request.

Phase 3 — AI-Driven Workspace Enumeration

Targeted Data Discovery

Using the freshly minted access tokens, the attacker conducted systematic enumeration of Google Workspace resources. Network analysis revealed queries originating from the 194.26.135.0/24 IP range, targeting high-value keywords across Gmail, Drive, and internal documentation:

  • PROD_SECRET
  • API_KEY
  • god-mode
  • env
  • KMS

The search patterns suggest the attacker used automated tooling — likely AI-augmented — to rapidly identify and prioritize documents containing production credentials, environment configurations, and key management references.

Phase 4 — Production Secret Exfiltration

God Mode Dashboard & C2 Exfiltration

The attacker located a "God Mode" internal administration dashboard — a privileged interface used by Vercel engineers for production debugging. While individual metadata fields within the dashboard were classified as non-sensitive, the attacker reconstructed sensitive production values by combining multiple non-sensitive metadata fields — a classic aggregation attack.

Exfiltrated data was transmitted to a command-and-control endpoint designed to mimic a legitimate API update service:

C2 Exfiltration Endpoint
  • api-update-verification[.]com/collect

Attack Timeline

PhaseTimeframeEvent
T-UnknownPre-AttackContext.ai GCP project compromised. OAuth Client Secret and Refresh Tokens extracted from vendor infrastructure.
T+0Initial AccessAttacker begins refreshing stolen OAuth tokens against Google's token endpoint. Fresh Access Tokens issued for Vercel developer accounts.
T+2hrsEnumerationSystematic Workspace enumeration begins. High-value keyword searches across Gmail, Drive, and Docs from 194.26.135.0/24.
T+8hrsDiscoveryGod Mode dashboard located. Non-sensitive metadata fields identified for aggregation attack against production secrets.
T+12hrsExfiltrationProduction secrets reconstructed and exfiltrated via C2 at api-update-verification[.]com/collect.
T+72hrsDetectionAnomalous OAuth token refresh patterns detected by Vercel security. Context.ai OAuth integration revoked. Incident response initiated.

Indicators of Compromise

IndicatorTypeConfidenceStatusMITRE Technique
110671459871-30f1spbu0hptbs60cb4vsmv79i7bbvqj[.]apps[.]googleusercontent[.]comOAuth Client IDHighRevokedT1195.003
194.26.135.0/24Actor IP RangeMediumActiveT1087.003
api-update-verification[.]comC2 DomainHighActiveT1041
Context.ai (GCP OAuth App)Compromised VendorHighConfirmedT1195.003
oauth2.googleapis.com/token (anomalous refresh volume)Token Endpoint AbuseMediumBehavioralT1550.001
api-update-verification[.]com/collectExfil EndpointHighActiveT1041

MITRE ATT&CK Mapping

Technique IDNameTacticRelevance
T1195.003Supply Chain Compromise: Compromise Software Supply ChainInitial AccessCompromise of Context.ai OAuth integration as supply chain entry point
T1566.002Phishing: Spearphishing LinkInitial AccessOriginal consent phishing that established OAuth grants to Context.ai
T1550.001Use Alternate Authentication Material: Application Access TokenDefense EvasionReuse of stolen OAuth refresh tokens to generate fresh access tokens
T1528Steal Application Access TokenCredential AccessExtraction of refresh tokens from compromised Context.ai GCP project
T1087.003Account Discovery: Email AccountDiscoveryEnumeration of Google Workspace accounts and resources via API
T1114.002Email Collection: Remote Email CollectionCollectionTargeted keyword searches across Gmail and Drive via OAuth-authorized API
T1552.001Unsecured Credentials: Credentials In FilesCredential AccessDiscovery of production secrets in internal dashboards and documentation
T1041Exfiltration Over C2 ChannelExfiltrationProduction secrets exfiltrated via api-update-verification[.]com/collect

Tactical Hunting: Google Workspace Log Queries

The following queries target Google Workspace Admin SDK and audit logs. They are designed to detect the specific patterns observed in this incident and should be adapted to your environment.

Query 1: Malicious OAuth Grant Detection

Detects OAuth consent grants to the known compromised Context.ai Client ID via the Google Workspace Authorize API Site event.

Google Workspace Audit Log Query
event_name = "authorize"
AND api_name = "API Site"
AND client_id = "110671459871-30f1spbu0hptbs60cb4vsmv79i7bbvqj.apps.googleusercontent.com"

// Returns: user, timestamp, scopes granted, IP address
// Action: Any match confirms prior consent to the compromised app.
// Immediately revoke the token and investigate the account.

Query 2: Token Anomaly — High-Privilege Account Refresh Activity

Identifies unusual token refresh patterns from accounts with elevated privileges — a key indicator of stolen refresh token abuse.

Token Refresh Anomaly Detection
event_name = "token_refresh"
AND actor.is_admin = true
AND (
    ip_address NOT IN [corporate_ip_ranges]
    OR geo.country NOT IN [expected_countries]
)
GROUP BY actor.email, client_id
HAVING COUNT(*) > 10 WITHIN 1 HOUR

// Flags: Rapid token refresh from non-corporate IPs for admin accounts
// Threshold: Adjust based on your baseline refresh patterns

Query 3: Admin SDK Scope Abuse — Third-Party App Behaviour

Detects third-party applications exercising Admin SDK or high-privilege scopes — a pattern consistent with compromised OAuth integrations performing unauthorized enumeration.

Third-Party Scope Abuse Detection
event_name IN ("list_users", "list_groups", "list_org_units")
AND actor.caller_type = "THIRD_PARTY_APP"
AND client_id NOT IN [approved_app_whitelist]

// Detects: Unauthorized apps using Admin SDK Directory API
// Scopes to monitor:
//   - https://www.googleapis.com/auth/admin.directory.user.readonly
//   - https://www.googleapis.com/auth/admin.directory.group.readonly
//   - https://www.googleapis.com/auth/gmail.readonly

Lessons Learned

For Investigators

For Security Engineers

CISO Checklist

Mjolnir Security — Identity Security & Incident Response

Mjolnir Security provides specialized identity security services to detect, investigate, and remediate OAuth-based attacks and identity supply chain compromises.

Incident ResponseOAuth Security AssessmentIdentity Threat DetectionCloud ForensicsSupply Chain RiskSecret Management Audit
  • Incident Response: 24/7 incident response for identity compromise, OAuth token theft, and cloud-native attacks. Our DFIR team specializes in Google Workspace and Microsoft 365 forensics with sub-4-hour response times.
  • OAuth Security Assessment: Comprehensive audit of your OAuth ecosystem — consent grants, token lifetimes, scope inventory, and third-party application risk scoring. Identifies over-privileged integrations before attackers do.
  • Identity Threat Detection: Custom ITDR detection rules tailored to your identity infrastructure. We build and tune alerting for token anomalies, consent phishing, and identity supply chain indicators.
  • Cloud Forensics: Deep forensic analysis of Google Workspace, Azure AD/Entra ID, and AWS IAM logs. We trace attacker activity from initial token abuse through lateral movement and data exfiltration.
24/7 Incident Hotline: +1 833 403 5875
Email: sales@mjolnirsecurity.com

References

  1. "Vercel Security Incident Report: OAuth Token Compromise via Third-Party Integration," Vercel Blog, April 2026. vercel.com/blog
  2. "T1550.001 - Use Alternate Authentication Material: Application Access Token," MITRE ATT&CK. attack.mitre.org
  3. "T1195.003 - Supply Chain Compromise: Compromise Software Supply Chain," MITRE ATT&CK. attack.mitre.org
  4. "OAuth 2.0 Security Best Current Practice," IETF RFC 9700. ietf.org
  5. "Identity Supply Chain Attack Analysis: Context.ai Incident," Mjolnir Labs, April 2026. mjolnirsecurity.com
Written by: Mjolnir Security  |  Published: April 19, 2026