Skip to content

A compromised AI tool led to Vercel accounts and environment variables

Context.ai, an AI tool a Vercel employee used, was compromised. The attacker took over the employee’s accounts and decrypted non-sensitive environment variables of a limited subset of customers.2

Non-sensitive variables of a limited subset of customers, and a small number of other accounts.2

Get 30 minutes free every day, forever.3SOC 2 Type II499.9% uptime SLA on Pro4
Vercel, through Context.aiApril 2026Refused

28 of 50

Stopped Limited: the payment went out through the bank’s own system This case: Vercel, through Context.ai. The gate refuses it.

What happened

A compromised AI tool gave an attacker an employee’s Vercel account.

  1. April 2026. Context.ai, a third-party AI tool, was compromised through its Google Workspace OAuth app.

  2. The accounts. The attacker took over a Vercel employee’s Google Workspace account, then their Vercel account.

  3. The variables. Inside a Vercel environment, they decrypted non-sensitive environment variables of a limited subset of customers.2

How the gate handles it

With the sealed gate, the use of a copied key would have been refused.

Keys kept as SealedBox keys would have been worthless when read, because they work only through the gate, under its rules. Press Play to watch a copied key used elsewhere.5

Key read from settings and used elsewhereSample6
  1. requestPOST /s/stripe/v1/refunds {"charge":"ch_1"}from: laptop_unknownRefused403standin_bound_elsewhere

RefusedA SealedBox key read from settings is refused off its machine.

How easy

A web team could refuse any use of its keys outside its own app in three steps.

Sample
Seal a keystripe
Stripe secret key
Paste your Stripe secret key
Your environment variables never hold the real key.
Key rulesstripe
Charges and reads
Refunds over $100
Only from your appRefused from any other address
Applies to every key in Storefront.
Where approvals goAsk first
Slack
Microsoft Teams
Telegram
Email
A person approves or denies each call that asks first.

Approvals and signed records come with Pro, Gate only and Custom. On Free, a rule that asks first refuses instead.7

In code

Or in four lines of code.

The same three steps, from the terminal.

Sample
What each line does
1Seal the keysealedbox keys sealThe app gets sbk_live_7Gb3…q1.
2Set the rulessealedbox rules addOnly from your app; refunds over $100 wait.
3Connect approvalssealedbox approvals connectAsk-first calls go to #billing.
Try it

Put the gate in front of your agent today.

Run three practice calls in five minutes, then check their records on your own computer. Test mode, on every plan.

Start free$ sealedbox try5-minute practice run9
Scope

What the gate doesn’t change, and three failures like this one.

Related cases
Answers11

Questions about this case and the gate.

Still have a question?Book a callAll questions
What would the attacker have found in the settings?

A SealedBox key with no secret in it. It works only through the gate, under your rules, until you stop it.

Could they use that key from their own machine?

Not with your app’s addresses set: the gate refuses the key from anywhere else. On a SealedBox machine, the key works only from that machine.

Where does the real Stripe key live?

Sealed, for the gate alone to open. It opens inside the chip only after the rules pass, for one call at a time.

Does the app need code changes?

Two settings: the SealedBox key where the library expects its key, and the gate’s address as the base address.