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.
Bolt can audit your project and fix most issues itself. Knowing what the warnings mean, and what an audit can’t see, is what keeps users’ data safe.
Sound familiar?
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
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
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.
Flags database issues such as missing RLS or over-open policies, with an Ask Bolt to fix button. All plans.
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
In this order. Most apps get most of the way with these alone.
Use Publish → Run security audit rather than asking Bolt in a prompt, which uses tokens. Read the summary and every action item.
Open the database icon → Security. Fix errors first, then warnings, and look up anything unclear in Supabase’s advisor documentation.
Rewrite them so users reach only their own rows, or their team’s. Then test by signing in as two users.
Each function that reads or changes data should check the signed-in user, especially payments and admin actions.
Open the Security page after any database change and run the audit again before each publish.
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
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.
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.
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.
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.
Send me the app and what’s worrying you. You get a written scope with a fixed price before any work starts.