An open database exposed 1.5 million agent tokens and OpenAI keys
Moltbook, a social network for AI agents, left its database open. Wiz found 1.5 million agent API tokens, and plaintext OpenAI keys inside private agent conversations.2
1.5 million API tokens, 35,000 email addresses and 4,060 private agent conversations exposed.2
25 of 50
Stopped Limited: the payment went out through the bank’s own system This case: Moltbook. The gate refuses it.
An API key in the site’s JavaScript opened the whole database.
The key. A Supabase API key sat in Moltbook’s client-side JavaScript. With row-level security off, it gave anyone full access.
The data. Wiz found 4,060 private conversations between agents, some holding plaintext OpenAI API keys.
31 January 2026. Wiz reported it. Moltbook secured the database within hours.2
With the sealed gate, the message holding a key would have been refused.
Agents would never have held real model keys, so none could have sat in a conversation, and a secret in an outgoing message would have been refused. Press Play to watch the same call.5
openai.usage@1http.no-leak@1403- request
POST /api/messages {"text":"use my key: sk-proj-..."}Refused403secret_in_outbound
RefusedThe model key opens only inside the gate, for one call at a time.
An agent’s owner could refuse messages carrying a secret in three steps.
Approvals and signed records come with Pro, Gate only and Custom. On Free, a rule that asks first refuses instead.7
Or in three lines of code.
The same three steps, from the terminal.
sealedbox keys sealThe agent gets sbk_live_4Xt6…m2.sealedbox rules addA message carrying a secret is refused.sealedbox approvals connectAsk-first calls go to #agents.mcpServers.gate.urlOne URL, with the SealedBox key in the header.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.
$ sealedbox try5-minute practice run9What the gate doesn’t change, and three failures like this one.
Names and logos belong to their owners. Their use here reports public events and implies no endorsement.
Does the gate close an open database like this one?
No. Anyone could read this one with a key from the site’s own code, outside any gate.
What does the agent hold instead of an OpenAI key?
A SealedBox key with no secret in it. The real key opens only inside the gate, for one call at a time.
Would a key written out in other words still get through?
It could, since the check catches a secret as read or encoded, not restated. But the agent holds no real key to restate.