Is Bolt.new secure?
Published 21 October 2026 · 6 min read
Bolt.new itself is a reputable tool — it's built by StackBlitz, and the code it generates isn't inherently unsafe. But "Is Bolt secure?" is the wrong question. The right one is: is the app Bolt built for you secure? That depends almost entirely on how the backend is configured, and Bolt gets you to a working app so fast that the security settings are easy to skip right past.
Most Bolt apps store their data in Supabase. If that's you, the single most important thing to check is whether Row-Level Security (RLS) is turned on for your tables. If it's off, the public key sitting in your app's frontend can read — and often write — every row in your database. That's the difference between a safe app and a wide-open one.
Why a Bolt app's safety lives in the backend
When Bolt generates a full-stack app, it ships two halves: a frontend (what users see in the browser) and a backend (where data is stored). The frontend has to talk to the backend, so Bolt embeds a connection key in the browser code. For Supabase, that's the anon (public) key.
Here's the part founders miss: that key is meant to be public. Anyone can open your site, view the source, and copy it. It's not a secret, and that's by design. What actually protects your data isn't hiding the key — it's the rules on the database that decide what any given request is allowed to touch. In Supabase, those rules are Row-Level Security policies.
What goes wrong when RLS is off
Supabase tables don't enforce access rules until you switch RLS on and write policies. If a table has RLS disabled, the public anon key can query it freely. In practice that means:
- Any visitor can read every row — user emails, private messages, orders, whatever you're storing.
- They can often write or delete data too, if insert/update/delete aren't restricted.
- No login required. The attacker doesn't need an account — just your public key, which is already in your page.
This isn't an exotic hack. It's the default behaviour of an unprotected table, and it's one of the most common ways no-code and AI-generated apps leak data. Bolt may scaffold policies for you, but you can't assume they're correct or complete — you have to verify.
How to check your Bolt app in 5 minutes
If your app uses Supabase, log into the Supabase dashboard and do this:
- Open Table Editor. Look at each table. Supabase flags tables where RLS is disabled — any table holding user or private data should have it enabled.
- Open Authentication → Policies. Confirm each protected table actually has policies, not just RLS switched on with nothing behind it. A table with RLS on but zero policies blocks everyone, which is safe but may break your app; a table with a policy like "allow all" is effectively open.
- Read the policies plainly. A good policy ties access to the logged-in user — for example, users can only see rows where the user ID matches their own. A policy that permits any request is a red flag.
While you're in there, also check for keys and routes that shouldn't be public:
- The service role key must never be in frontend code. Unlike the anon key, this one bypasses RLS entirely. It belongs only on a server or in a secret environment variable.
- Third-party API keys (Stripe, OpenAI, email providers) should live in server-side code or environment variables, not in the browser bundle.
- Server routes and edge functions that perform sensitive actions should check who's calling them, not trust the frontend to behave.
How to fix it
The fix is usually straightforward:
- Enable RLS on every table that holds real data.
- Write policies scoped to the user so each person can only access their own rows. Supabase's docs and templates cover the common patterns.
- Move secret keys out of the frontend and into environment variables or server routes.
- Re-test as an anonymous visitor — ideally while logged out — to confirm you can't reach data that isn't yours.
Make these changes in a safe moment, because tightening policies can temporarily break parts of your app that were quietly relying on open access. That's a good thing to discover now rather than after a leak.
Is your Bolt app exposed?
Most Bolt apps run on Supabase — Faultline's deep scan tests those directly for exposed data. Start with a free surface scan.
Run a free scanThe bottom line
Bolt.new is a legitimate way to build. The risk isn't the tool — it's shipping a generated app without checking the few settings that keep your data private. If your Bolt app is built on Supabase (most are), Faultline tests it directly and tells you in plain English whether your tables are exposed. Spend five minutes in the Supabase dashboard, confirm RLS is on with real policies, and get your keys out of the browser. That's most of the battle.
Related: Is Supabase secure? · Is Lovable secure?