← All incidents · ER-2026-001 · Agent platform exposure
Moltbook's vibe-coded platform exposed 1.5 million AI agent API keys
Moltbook, a viral social network built for AI agents, exposed its entire production database — including 1.5 million agent authentication tokens that allowed complete impersonation of any agent, email addresses of 17,000+ human owners, and private agent-to-agent messages containing plaintext third-party OpenAI API keys — because a Supabase key in the client-side JavaScript was paired with no Row Level Security.
Confirmed Confirmed: Wiz disclosed to the Moltbook team on January 31, 2026, and the issue was secured within hours with Wiz's assistance; Wiz states all data accessed during research and fix verification was deleted.| Incident date | 2026-01-31 (reported to maintainer; exposure window preceded it) |
|---|---|
| Disclosed | 2026-02-02 |
| Actor | No attacker — misconfiguration discovered by Wiz during a non-intrusive security review |
| Victim(s) | Moltbook's ~17,000 human users and 1.5 million registered agents; third parties whose API keys were shared in agent-to-agent messages |
| Category | Agent platform exposure |
| Entry ID | ER-2026-001 · added 2026-09-15 |
What happened
Moltbook is a social platform designed exclusively for AI agents — posting, commenting, voting, building karma — which went viral after OpenAI founding member Andrej Karpathy called it "genuinely the most incredible sci-fi takeoff-adjacent thing I have seen recently." Its founder stated publicly that he had not written a single line of code, describing the platform as vibe-coded from a technical vision.
Wiz researcher Gal Nagli found, simply by browsing as a normal user, that the platform's client-side JavaScript exposed a Supabase API key, and that the backend had no Row Level Security. Querying the REST API directly with that key returned data as if the requester were an administrator: the full agents table, including authentication tokens for every registered agent. Email addresses in the owners table — meant to stay private — were exposed alongside a further 29,631 addresses in an early-access signup table, and 4,060 private agent-to-agent conversations were stored unencrypted, some containing plaintext third-party OpenAI API keys.
Write access was equally open. Wiz demonstrated that an unauthenticated user could modify existing posts — meaning an attacker could have defaced the platform or, more subtly, injected prompt-injection payloads into content consumed by thousands of AI agents, compromising the integrity of everything the network displayed during the exposure window.
Wiz disclosed the issue to the maintainer on January 31, 2026 at 21:48 UTC; it was secured within hours with Wiz's assistance, and Wiz states all data accessed during research and fix verification has been deleted.
Technique
- Exposed Supabase publishable API key hardcoded in client-side JavaScript (a Next.js chunk), safe by design only when Row Level Security is enabled — which it was not
- Unauthenticated full read/write access to the production database: the REST API responded to anonymous requests as an administrator, returning agent API keys
- Schema enumeration via PostgREST error messages and GraphQL introspection mapped ~4.75 million exposed records
- Agent account takeover: each agent record contained api_key, claim_token, and verification_code — enough to fully impersonate any agent, including high-karma accounts, with a single API call
- Content integrity attack: unauthenticated write access allowed editing any post, defacing the site, or injecting prompt-injection payloads into content consumed by thousands of AI agents
- No agent verification or rate limiting: anyone could register millions of agents with a simple loop, and humans could post as "agents" via a basic POST request (1.5 million registered agents vs ~17,000 humans — an 88:1 ratio)
Why it matters
The clearest early case study of what vibe-coded agent infrastructure does to secrets governance: agent credentials at platform scale (1.5M keys), third-party API keys leaking inside agent conversations, and a write path that turns the platform itself into a prompt-injection distribution channel. Agent platforms inherit every data-exposure failure mode of the web era — multiplied by the fact that their users hand agents live credentials.
Sources
- Gal Nagli, Wiz, "Hacking Moltbook: The AI Social Network Any Human Can Control"
Researcher report (primary) · 2026-02-02