The short answer

Run Bolt’s project security audit from the Publish menu (paid plans, no tokens) and clear every warning on the database Security page. Replace “always true” policies with rules based on the signed-in user, check every server function, and test with two accounts.

Why it happens

What’s actually going on

Bolt apps keep data in a Postgres database, either Bolt’s built-in database or Supabase, protected by row-level security (RLS). Bolt’s database check uses the same checks as Supabase’s Security Advisor, so the warnings mean the same thing: a policy that’s “always true” lets everyone through, and a missing policy can expose a table.

These gaps usually appear as features are added: a new table, a quick fix that opens a policy “for now”, or a server function that doesn’t check who’s calling.

Already done for you

What Bolt already handles

Project security audit

Reviews your code and database, fixes what it can and lists action items. Run it from Publish → Run security audit; it doesn’t use tokens. Paid plans.

Database security check

Flags database issues such as missing RLS or over-open policies, with an Ask Bolt to fix button. All plans.

Leaked password protection

On by default for Bolt databases. The warning appears if it was turned off, or the database runs on a free Supabase plan where it isn’t available.

Fix it yourself

Step by step

In this order. Most apps get most of the way with these alone.

  1. Run the audit from the Publish menu

    Use Publish → Run security audit rather than asking Bolt in a prompt, which uses tokens. Read the summary and every action item.

  2. Clear the database warnings

    Open the database icon → Security. Fix errors first, then warnings, and look up anything unclear in Supabase’s advisor documentation.

  3. Replace “always true” policies

    Rewrite them so users reach only their own rows, or their team’s. Then test by signing in as two users.

  4. Check every server function

    Each function that reads or changes data should check the signed-in user, especially payments and admin actions.

  5. Check again after changes

    Open the Security page after any database change and run the audit again before each publish.

Where it still goes wrong

  • Action items in connected services, such as your email or payment provider settings, need you to change them. Bolt can’t.
  • Automated checks can miss logic flaws, like a coupon that can be reused or an admin page a normal user can reach.
  • On a free Supabase plan, leaked password protection isn’t available, so that warning can’t be cleared there.

When to bring in a developer

If the steps above turn up more than you have time for, or the app already has paying users, I take Bolt apps to production: login and access rules, database and backups, payments, security, SEO and deployment.

App rescue: From $1,000, fixed price, scoped in writing before any work starts.

More in app rescue, or hire a Bolt developer.

Questions

Common questions

Is Bolt’s security audit free?

The project security audit is on paid plans and doesn’t use tokens when you run it from the Publish menu. The database security check is on all plans.

What does “RLS Policy Always True” mean?

A row-level security policy whose condition always passes, so it lets anyone do that action. Replace it with a condition based on the signed-in user.

Bolt Database or Supabase: which is safer?

Both are Postgres with RLS, and Bolt runs the same checks on both. Supabase gives you its own dashboard and tools; connecting it needs a Pro or Teams plan.

Can Bolt fix everything automatically?

It fixes most issues it finds and lists the rest for you. A human review is still worth it for apps with payments or sensitive data.

Want your Bolt app production-ready?

Send me the app and what’s worrying you. You get a written scope with a fixed price before any work starts.

Book a 30-minute call