Security4 min readSource: Ars Technica

Grok Build leaks exposed thousands of apps and confidential data, researcher reports

A researcher reportedly found about 35,000 Grok Build apps left open to anyone, exposing confidential data including material tied to SpaceX.

What was reported

According to Ars Technica, a researcher found around 35,000 applications built with Grok Build that were accessible to anyone who went looking for them. The exposed material reportedly includes confidential information, with some of it said to belong to SpaceX.

The report frames this as a leak of apps rather than a compromise of the underlying model. That distinction matters: the headline points at how agent-generated software was deployed, not at a breach inside the model provider's infrastructure.

Why agent-built apps fail this way

Coding agents are good at producing working prototypes quickly. They are much less reliable at making judgment calls about authentication, access control, and secret management unless they are explicitly told to. A generated app that runs locally and one that is reachable from the public internet can look nearly identical in code.

When a prototype is pushed to a hosting provider or a storage bucket with permissive defaults, the gap between demo and production disappears silently. The failure is usually configuration, not model output: open buckets, missing auth middleware, debug endpoints left on, and API keys pasted into client-side code.

What developers should take away

Treat anything an agent generates as untrusted code until it has been reviewed for access control. Before shipping, confirm that every route requires authentication where it should, that secrets live in a server-side secret store rather than the bundle, and that storage and database permissions are closed by default.

Inventory matters too. If your team spins up agent-built apps casually, you may not know how many are publicly reachable. A periodic scan of your cloud accounts and hosting projects for open endpoints is cheaper than discovering them in a news story.

Finally, keep the blast radius small. Use scoped, rotatable credentials for prototypes, separate accounts for experiments, and short-lived keys so a leaked token is a nuisance rather than an incident.

The vendor-neutral angle

Nothing here is unique to one model or one coding agent. Any tool that generates and deploys applications inherits the same risks, and the same controls apply regardless of which LLM API sits behind the editor. Teams evaluating coding agents should ask about deployment defaults, secret handling, and whether generated infrastructure templates are secure by default.

For teams building with LLM APIs, the practical lesson is to separate the model from the deployment. Your API keys, your cloud permissions, and your review process are the real security boundary, not the agent's output.

FAQ

Was the Grok model itself breached?
The report describes apps built with the Grok Build coding agent being left open, not a breach of the model or its API. Details of the root cause have not been fully reported.
Does this mean coding agents are unsafe to use?
Not inherently. The risk comes from deploying generated code without reviewing authentication, permissions, and secret handling. Those checks are the same ones you would apply to human-written code.
How can I check whether my own agent-built apps are exposed?
Audit your hosting projects and cloud storage for public access, confirm that sensitive routes require authentication, and search your codebase for hardcoded keys. Rotate any credentials you find in client-side bundles.

References

Call these models through one gateway

Admesh provides a unified OpenAI-compatible API: one Base URL and one key for Claude, GPT, DeepSeek and more. New accounts get trial credit that never expires.