The Vercel Breach: What dApp Frontend Teams Should Check
Part of our guide to digital asset security for banks

Quick answer. In the Vercel breach, disclosed April 19, 2026, a compromised AI tool, Context.ai, let attackers hijack a Vercel employee's Google Workspace and read some customers' non-sensitive environment variables. Rotate those, bypass tokens and exposed hooks, then review deployments, logs and OAuth grants.
Video transcript
Vercel disclosed a breach in April 2026 and closed it in October. That does not close it for you.
Attackers compromised Context.ai, an AI tool, took over an employee's Google Workspace, then their Vercel account, and decrypted customer variables not marked sensitive.
Your team need not have used Context.ai, since the variables were read inside Vercel. Reviewed sources name no dApp victim or crypto loss.
In Guardian's November 2026 scan, headers pointed to Vercel for 54 of 104 top crypto sites exposing a Next.js version, often marketing sites.
Sort leaks by power. Backend credentials expose data. A deploy hook ships a build with no further authentication. Signing keys carry onchain authority. Even a changed router address redirects approvals.
Secure admin access with MFA first. Rotate at the issuer, then redeploy, since old deployments keep old values. Recreate exposed hooks, reissue scoped tokens, rotate bypass secrets, check OAuth grants.
Hunt for tampering. Match each production deployment to an approved commit, and compare served JavaScript with approved builds. A clean page today cannot rule out a change months ago.
A second host on the same identity provider and pipeline is not independent. Separate production secrets, keep signing keys out of frontend builds, and hold artifacts outside the hosting account.
Read the full checklist, or ask Guardian to pentest the vendor consoles and pipelines that can change your production frontend.
Why Frontend Teams Should Care
Vercel has closed the incident. It declared remediation complete on October 16, 2026, six months after disclosing the breach.[1]
Closed for Vercel is not closed for you. A changed variable reaches new deployments only; existing deployment URLs keep the old value.[2]
For a dApp, the hosting account holds more than API keys. It decides which JavaScript users load before they sign.
Vercel is common on crypto frontends. In Guardian's November 5, 2026 scan of Next.js versions on crypto frontends, headers pointed to Vercel for 54 of 104 top sites exposing a version.[3]
That sample loaded the websites DefiLlama lists, often marketing sites. An app on another host may run a different build.
For hosting integrity, build provenance and signer checks in general, read our guide to wallet frontend security.
What Vercel Has Confirmed
Attackers decrypted environment variables that customers had not marked sensitive. Vercel notified an initial subset of customers, then more affected accounts as its investigation widened.[1]
It also found account compromises that appeared unrelated to the incident and did not seem to originate on its systems.
BleepingComputer corroborated the disclosure but could not authenticate data or a screenshot an attacker posted. Claims of a sale or ransom are not established findings.[4]
Vercel's public bulletin does not specify the intrusion start or the customer exposure window. The sources reviewed name no dApp victim and tie no crypto loss to this incident.[5]
- March 2026: Context.ai detects and stops unauthorized access to its AWS environment, The Register reports.[6]
- April 19, 2026: Vercel discloses the breach.
- April 20, 2026: The Register relays Context.ai's statement that consumer OAuth tokens were likely compromised.
- October 16, 2026: Vercel declares remediation complete and closes the incident.
The Context.ai OAuth Path
Vercel's confirmed chain starts outside Vercel. Attackers compromised Context.ai, then used that access to take over a Vercel employee's Google Workspace account.[1]
From there they reached the employee's Vercel account and moved internally to enumerate and decrypt customer variables.
Context.ai, as relayed by The Register, said at least one Vercel employee signed up for its consumer AI Office Suite with a corporate account and granted broad permissions. It said Vercel was not its customer.[6]
That is the pattern to hunt for: a consumer AI tool, a corporate login and a broad consent grant. Our Cyberhaven extension attack explainer covers another takeover that ran through one OAuth grant.
Vercel published the app's OAuth client ID as an indicator and asks administrators to check for its use: 110671459871-30f1spbu0hptbs60cb4vsmv79i7bbvqj.apps.googleusercontent.com.
Google's admin console lists apps that accessed Workspace data, with client IDs, scopes and user counts. Blocked apps lose access, and the list updates 48 hours after a grant or revocation.[7]
Your own team need not have used Context.ai. The variables were read inside Vercel's environment, not through customers' own accounts.
What a Leaked Variable Means
Vercel now calls readable values Config and write-only values Secret. Variables once marked Sensitive became Secrets without any manual migration.[8]
The old label described visibility, not contents. A variable left readable can still hold a database password or a provider API key.
Sort what leaked by the power it carries. Backend credentials expose data, deployment authority changes the interface, and signing keys carry onchain authority.
Next.js inlines NEXT_PUBLIC_ values into browser JavaScript at build time. They are public configuration, never a place for privileged tokens or private keys.[9]
Public does not mean unimportant. A changed router address redirects approvals, and a changed RPC URL controls what the page reads from the chain, without touching a contract.
A Deploy Hook URL deploys its project's configured repository branch with no further authentication. Vercel says to treat it like a password.[10]
Vercel does not describe a hook as repository write access. Its risk is an unplanned build that ships whatever the branch and variables hold at that moment.
The Rotation Checklist
Secure the admin path first, so replacements do not land in an account an attacker can still reach. Vercel recommends MFA through an authenticator app or passkey.[1]
Rotate at the issuer, not only in Vercel. Vercel's routine order: create the replacement, update the variable, redeploy and verify, then invalidate the old credential.[2]
That order assumes no active misuse. If a credential is being abused, revoke it first and accept the downtime.
Deleting a project does not revoke the credentials it exposed. For rotation order across signers and service credentials, see our key rotation guide.
| Item | Action | Watch for |
|---|---|---|
| Readable (Config) variables | Rotate at issuer, redeploy, then revoke the old value | Keys shared across projects and previews |
| Values you keep | Save as Secret | Integration-managed variables follow their own rules |
| Deploy hooks | Revoke and recreate any exposed URL | Hook URLs pasted into CI, scripts or chat |
| Access tokens | Reissue as project-scoped tokens with an expiry | Team tokens reach every project; project tokens cannot mint more |
| Automation bypass secrets | Rotate, update consumers, redeploy apps that use them | Each secret opens every deployment in its project |
| Deployment Protection | Set Standard at a minimum | Standard does not cover production domains |
| Integrations | Use Rotate Secrets or the provider's console, then redeploy | Old credential may stop working at once |
| Workspace OAuth grants | Search for the client ID Vercel published; block unknown apps | Broad scopes granted to consumer tools |
Checking for a Tampered Frontend
Vercel advises reviewing account activity and recent deployments.[1]
The Activity Log, on all plans, records the user, event type and time. Pull variable reads and edits, new deployments, deploy hook creation and use, and DNS changes.[11]
Vercel does not say whether the attacker's internal reads appear in customers' logs, so a quiet log does not rule out exposure.
Audit Logs are Enterprise-only, for owner and security roles. CSV exports cover the past 90 days, so check any external log stream for the months around the April 19 disclosure.[12]
Token metadata records when each access token was last used. Treat any use nobody can explain as an incident.[13]
Match each production deployment to an approved commit and release. A deployment with no matching change is the first thing to investigate.
Preserve suspect artifacts before cleanup. Compare served HTML and JavaScript with approved builds, especially contract addresses, spender targets and RPC URLs.
Ask each issuer of an exposed credential for its usage records. Database, RPC and API providers see use that Vercel's logs never will.
Know the limits. A clean page today cannot rule out a short or targeted change months ago, and missing logs leave gaps no review closes.
For ongoing bundle diffs and alerts on new network hosts, use our dApp frontend supply chain security guide.
Reducing Single-Vendor Risk
A second host does not fix shared authority. If both hosts share one identity provider, pipeline and credential set, one breach reaches both.
Separate production secrets. Vercel's optional Separate Production Secret Values policy requires a different production value for the same Secret key.[8]
Deployment Protection controls who can view a deployment URL. It says nothing about whether the code served there is genuine.[14]
Keep signing keys out of frontend build environments entirely. Our guide to secrets management for crypto companies covers vaults and where signing keys belong.
Hold release artifacts and recovery access outside the hosting account. A clean redeploy should not depend on the account under review.
Guardian's infrastructure pentest tests this layer: vendor consoles that can change production, CI/CD runner permissions, artifact integrity and whether a compromised pipeline can ship.[15, 16]
Test who can change your production frontend
Guardian's infrastructure pentest checks vendor consoles, CI/CD permissions and secrets handling, and what one hosting breach could reach.
Frequently Asked Questions
Were Next.js or Vercel's npm packages compromised in the Vercel breach?
No. Vercel says no npm package it publishes was compromised.[1]
Do Secret environment variables stop this kind of exposure?
They help but are not a full control. Any build step or runtime code given a Secret can still read it, and build-log redaction covers only Secrets of 32 characters or more.[8]
Do NEXT_PUBLIC_ variables need rotating?
Not as secrets. Check that each value still matches what you approved, such as contract and RPC addresses. A corrected value reaches users only after a new build.[9]
Related reading
- The BadgerDAO Hack Explained: An Injected Script
- What Is Offchain Security? The Attack Surface Audits Miss
- Web2: The Hidden Layer of DeFi Risk
- Bybit Hack Explained: How a Tampered Frontend Stole $1.5B
Sources
- Vercel: Vercel April 2026 security incident
- Vercel: Rotating environment variables
- Guardian: Next.js Versions on Crypto Frontends: Known Critical Flaws
- BleepingComputer: Vercel confirms breach as hackers claim to be selling stolen data
- Vercel: Security Bulletins
- The Register: Next.js developer Vercel warns of customer credential compromise
- Google: Control which apps access Google Workspace data
- Vercel: Config and Secret environment variables
- Next.js: How to use environment variables in Next.js
- Vercel: Creating & Triggering Deploy Hooks
- Vercel: Using the Activity Log
- Vercel: Audit Logs
- Vercel: Access tokens
- Vercel: Deployment Protection on Vercel
- Guardian: Wallet Frontend Security: Signing Interfaces After Bybit
- Guardian: dApp Frontend Supply Chain Security: npm Attack Mitigation
- Vercel: Protection Bypass for Automation