AI hack · Breach · 19 Apr 2026Began at AI tool Context.ai, Vercel saysNo Vercel npm packages hit, Vercel saysClosed 16 Oct 2026, Vercel says
Attackers reached Vercel through AI tool Context.ai and decrypted some customers' environment variables, Vercel says
On 19 April 2026, Vercel identified unauthorized access to certain internal systems. It says the attack began with 2 sourcesVercelVercel April 2026 security incident19 Apr 2026 · first-handThe RegisterNext.js developer Vercel warns customer creds compromised20 Apr 2026, a third-party AI tool a Vercel employee used. Vercel says the attackers then took over the employee's Google Workspace account, reached internal systems and 2 sourcesVercelVercel April 2026 security incident19 Apr 2026 · first-handThe RegisterNext.js developer Vercel warns customer creds compromised20 Apr 2026. It told those customers to rotate their credentials and closed the incident on 16 October 2026.
By Chris Hoskins, Founder, Boogey ·
Tap underlined words to see who reported them.
At least 1
SourceThe RegisterNext.js developer Vercel warns customer creds compromised20 Apr 2026
Hundreds
SourceVercelVercel April 2026 security incident19 Apr 2026 · first-hand
A limited subset
2 sourcesVercelVercel April 2026 security incident19 Apr 2026 · first-handThe RegisterNext.js developer Vercel warns customer creds compromised20 Apr 2026
About 6 months
2 sourcesVercelVercel April 2026 security incident19 Apr 2026 · first-handThe RegisterNext.js developer Vercel warns customer creds compromised20 Apr 2026
What Context.ai's AI tool did
Context.ai says its consumer users worked in its SourceThe RegisterNext.js developer Vercel warns customer creds compromised20 Apr 2026, a workspace for building presentations, documents and spreadsheets with AI agents. A feature let users enable those agents to SourceThe RegisterNext.js developer Vercel warns customer creds compromised20 Apr 2026, through another third-party service, it says. To act inside another app, a tool like this holds an OAuth token. That is a stored permission to work in that account, as far as the user allowed.
How the attack reached Vercel, in Vercel's account
Step 1
A breach at the AI tool
Attackers 2 sourcesVercelVercel April 2026 security incident19 Apr 2026 · first-handThe RegisterNext.js developer Vercel warns customer creds compromised20 Apr 2026, a third-party AI tool used by a Vercel employee.
Step 2
The work account
They used that access to take over the employee's Vercel 2 sourcesVercelVercel April 2026 security incident19 Apr 2026 · first-handThe RegisterNext.js developer Vercel warns customer creds compromised20 Apr 2026, and from it the employee's Vercel account.
Step 3
Into Vercel's systems
From there they SourceVercelVercel April 2026 security incident19 Apr 2026 · first-hand and moved through its systems.
Step 4
Variables decrypted
They listed and decrypted environment variables that were 2 sourcesVercelVercel April 2026 security incident19 Apr 2026 · first-handThe RegisterNext.js developer Vercel warns customer creds compromised20 Apr 2026, the kind Vercel says decrypt to plaintext.
Vercel calls the attacker highly sophisticated, citing their speed and in-depth understanding of SourceVercelVercel April 2026 security incident19 Apr 2026 · first-hand.
How one sign-up reached Vercel, as Context.ai tells it
Context.ai says the attacker who reached its AWS environment in March likely also SourceThe RegisterNext.js developer Vercel warns customer creds compromised20 Apr 2026 for some of its consumer users.
A stolen token
The attacker appears to have used SourceThe RegisterNext.js developer Vercel warns customer creds compromised20 Apr 2026 to access Vercel's Google Workspace, Context.ai says.
A work account
Vercel was not a Context.ai customer, but at least one Vercel employee signed up for the AI Office Suite with their SourceThe RegisterNext.js developer Vercel warns customer creds compromised20 Apr 2026, Context.ai says.
'Allow All'
Context.ai says the employee granted SourceThe RegisterNext.js developer Vercel warns customer creds compromised20 Apr 2026, and that Vercel's internal OAuth configurations appear to have allowed such broad grants.
Vercel describes Context.ai as a small third-party AI tool whose Google Workspace OAuth app was the subject of SourceVercelVercel April 2026 security incident19 Apr 2026 · first-hand.
From the first breach to closing the incident
Mar 2026
Context.ai stops unauthorized access to SourceThe RegisterNext.js developer Vercel warns customer creds compromised20 Apr 2026, its bulletin says.
19 Apr
Vercel identifies unauthorized access to SourceThe RegisterNext.js developer Vercel warns customer creds compromised20 Apr 2026.
16 Oct
Vercel says all remediation is complete and 2 sourcesVercelVercel April 2026 security incident19 Apr 2026 · first-handThe RegisterNext.js developer Vercel warns customer creds compromised20 Apr 2026.
Vercel says it worked with SourceVercelVercel April 2026 security incident19 Apr 2026 · first-hand, other cybersecurity firms, industry peers and law enforcement, and engaged Context.ai directly.
What Vercel told customers
Vercel warns that deleting a project or account does not remove the risk. Compromised secrets SourceVercelVercel April 2026 security incident19 Apr 2026 · first-hand. It published the Context.ai app's OAuth ID for 2 sourcesVercelVercel April 2026 security incident19 Apr 2026 · first-handThe RegisterNext.js developer Vercel warns customer creds compromised20 Apr 2026, and recommends signing in with at least two methods of authentication. With GitHub, Microsoft, npm and Socket, Vercel confirmed that SourceVercelVercel April 2026 security incident19 Apr 2026 · first-hand it published were compromised.
The Boogey fix
If your AI product were breached, what would its OAuth tokens open?
You’re exposed if
- Your AI product connects to customers' Google Workspace or other accounts through OAuth, so its agents can act there.
- Its connect screen asks for broad access, such as every file or the whole mailbox, when each task needs far less.
- It keeps every customer's tokens in one place, where one breach of your systems would reach all of them.
- Your agent can open anything in a connected account, not only what the task names.
Fix it
01Ask for the narrowest scopes
Request read-only access to the files or folders a feature needs, and ask for more only when a user turns that feature on. Context.ai says a Vercel employee granted its tool SourceThe RegisterNext.js developer Vercel warns customer creds compromised20 Apr 2026.
02Tokens kept out of reach
Encrypt each customer's tokens under its own key, in a store only your token service reads. Keep them out of your agent's context, its logs and the environment it runs in. Context.ai says some of its users' OAuth tokens were SourceThe RegisterNext.js developer Vercel warns customer creds compromised20 Apr 2026 through its AWS environment.
03The agent stays inside the task
Give your agent tools that fetch only the files a task names, and have them refuse the rest even when the token would allow it. Its instructions say a request for anything else goes back to the user.
04Easy for admins to find
Show customers' admins your app's OAuth client ID and every scope it holds, and let them revoke it in one step. Vercel published the Context.ai app's ID so 2 sourcesVercelVercel April 2026 security incident19 Apr 2026 · first-handThe RegisterNext.js developer Vercel warns customer creds compromised20 Apr 2026 for it.
05Revoke every token at once
Build a switch that revokes every customer token at the provider, beyond deleting it from your database, and tells each customer what it could reach. Vercel warns that deleting an account SourceVercelVercel April 2026 security incident19 Apr 2026 · first-hand of a compromised secret.
On your platform
Settings you already have that help against this hack. Last checked 1 Dec 2026.
No setting on Claude Code helps with this one. Our test does.
How we test it
- 1Under a signed scope, we create a test account on the service your product connects to, such as Google Workspace, and fill it with fake data. It holds the files one task needs, and a canary document, a harmless marker file, that no task needs. You install nothing, and we use no live keys.Being built
- 2In your staging, or a test account we create in your product, a test user connects that Workspace account through your normal OAuth screen and gives your agent an ordinary task that needs only those files.Being built
- 3We record every scope your consent screen asks for, and watch the test account's access log for the canary document. We scan nothing of yours and stay off your staff's accounts and machines.Being built
- Built
- BT-06 · Over-scoped tokens and agent identityBT-11 · Exposure through AI vendors and data processors
It fails if
- Your product asks for broader access than the task needs, such as every file or the whole mailbox
- The canary document is opened, by your agent or with the token your product holds
Does your AI product connect to customers' accounts through OAuth? This test is still being built.
What it reveals
An AI product that holds a token into a customer's workspace makes its own breach the customer's, up to whatever that token can open. Prepare yours to ask only for what each task needs, and give it an agent that leaves the rest of the account alone.