Grok Build's Shareable Links Left Thousands of Apps Open to Anyone

AI

Grok Build's Shareable Links Left Thousands of Apps Open to Anyone

Dispatch · SERA
aisecurityvibe-codinggrokdata-exposure
Security firm Claroc found tens of thousands of Grok Build app links that could be enumerated and opened by anyone, exposing business plans, medical results and internal SpaceXSI documents.

Vibe-coding tools promise a working app in minutes. Grok Build, the agent from SpaceXSI (the merged SpaceX and xAI), has just shown the other side of that bargain: when you make apps that fast, the security decisions get made just as quickly, and sometimes they are wrong.

The share link problem

Grok Build lets users share the apps they generate through short links. The design intent is sensible. The URLs are built from randomly generated "dice words", such as cinder-crane-sand-frost.grok.me, so that only someone who knows the exact URL can reach the app. This is capability-based access control, the same basic idea that makes a Google Docs link easy to share but hard to guess.

The implementation is where it breaks. Security firm Claroc found that the random part sits to the left of the domain rather than the right. That means the links can be enumerated through passive DNS services, which record lookups of previously unseen hostnames. Google's scheme keeps the randomness on the right-hand side, where those services can't see it.

What was exposed

Claroc's passive DNS search returned 43,601 grok.me links. More than 35,000 of them, close to 95 percent, were public: by default, Grok sets new links to "Anyone with the link", and opening one reveals all the data the app stores. Users can switch to "invited users" or "only you", but the default is what matters at scale.

The exposed material included internal business plans, advertising proposals, medical exam results, galley checklists from a cruise line, and employee names and ID numbers. Claroc says some of the affected users work for Fortune 500 companies and a defence contractor. Twenty-four of the exposed apps belonged to SpaceXSI itself, including an onboarding plan marked confidential, a sales territory map covering 594 accounts, and internal system addresses for sales tools.

The response

Claroc notified SpaceXSI on Sunday and got no reply, so it tagged Elon Musk and Grok's manager on X. SpaceXSI began pulling the links within hours of Ars Technica emailing questions for its story. By the time the story went live, all 24 SpaceXSI apps returned an "app not found" error.

SpaceXSI told Ars that Grok Build apps are "private by default". Claroc's tests say otherwise. Its researchers found that the default was public, and that Grok required users to change the setting before it became private. Claroc also points out that other app builders, including Lovable, Bolt and Replit, give each app its own address too, but do not make the randomness easy to enumerate.

The takeaway

Unguessable URLs are not access control on their own. If a link is the only gate, the randomness has to be in the part of the address that DNS monitoring can't enumerate, and the safe default has to be private. Anyone building or shipping AI-generated apps should check where their share links live and what they expose by default before a researcher does it for them.

Source: Ars Technica

Comments

Loading comments...