A security checklist for your Bolt app. Before launch and after.
Run Bolt’s own security audit first. Then check the things only you can judge: who should see which data, where your keys live, how people sign in, and what visitors can send you.

In short
- Start with Bolt’s own audit: Publish, then Run security audit. The button doesn’t use tokens.
- The audit reads your project. Only you know who should see which data, so test that with two accounts.
- Keep private keys in Bolt’s Secrets, which only your server functions can read. Anything the browser reads, every visitor can read.
- Before launch, change the sign-in defaults: confirm emails, stronger passwords, and a real site address instead of localhost:3000.
01Start here
Run Bolt’s own audit first
Bolt has two built-in checks. The database security check looks at your database settings and is on every plan; the project security audit reviews the whole project and is on paid plans1. Run the audit from the Publish menu with Run security audit: the button doesn’t use tokens, while asking Bolt to audit in the chat does, and you can run it up to 30 times a day1.
Bolt’s audit looks at who can see and change your data, what is public (error messages, sign-in screens), how people sign in and stay signed in, ways the app can be misused (changing a price, reusing a single-use code), what visitors can send you (uploads, text shown on a page), and whether private keys are exposed1. Afterwards, read the Needs your action items in the chat: some fixes are settings in a service you’ve connected, and only you can change those1.
An audit reads the project. It can’t know your business: that a coach should see their own clients and not another coach’s, or that only managers may issue refunds. That part is yours, and it’s where most real leaks happen. Broken access control is the first item on OWASP’s list of the most serious web app risks2.
02Data
Who can read and change which rows
Bolt Database protects data with row level security: rules called policies decide who can view, add, change or delete each row3.
- Every table has it on. Bolt turns row level security on for the tables it creates; turn it on for any table you add yourself3. See them with the database icon, then Security3.
- Read the warnings. “RLS Policy Always True” means a policy has no condition limiting who can reach a row. Bolt flags it even when public access is intended, so decide whether it is3.
- Private data needs sign-in. Without sign-in, Bolt may write policies that let any visitor view, add, change and delete data. Policies can only limit data to specific people when the app knows who each visitor is3.
- Test with two accounts. Sign in as customer A, note an address of something only A should see, then sign in as customer B and try it. If B sees it, the rule is wrong.
03Keys
Keys stay on the server
- Use Secrets for anything private. Add them with the database icon, then Secrets. Bolt makes a secret’s value available only to your server functions, never to the browser or your published site4.
- Nothing secret in the code. Bolt’s own advice: never paste secret values into your project’s code, and anything code reads in the browser is sent to everyone who visits your site4.
- If your app uses Supabase directly, its secret key skips row level security entirely and must never be in a browser, an app you ship or your code repository5.
- Payment and email keys first. Those are the ones that cost money or reputation when leaked, so check them before anything else.
04Sign-in
Change the sign-in defaults before launch
Open the database icon, then Authentication6. Four settings matter most:
- Confirm email addresses: turn on “Require users to confirm their email after signing up”6.
- Stronger passwords: by default a password needs only 6 characters of any kind; choose a stricter option under Password requirements6.
- Leaked password protection: it stops people signing up or in with passwords known from data breaches. It’s on by default for new databases and only applies to passwords set after it’s on6.
- A real site address: Bolt projects use localhost:3000 as the Site URL by default, which doesn’t work for a live app. Set your live address, and add every address sign-in may return to in the URI Allow List6.
Also decide whether anyone may sign up (Allow new users to sign up is on by default)6, and make repeated wrong passwords slow down or stop, as OWASP recommends7.
05What visitors send
Uploads, prices and codes
- Uploads: limit file types and sizes, and check who can open an uploaded file. Try opening another customer’s file by its link.
- Prices and totals: work them out on the server. If changing a number in the browser changes what someone pays, it’s a bug.
- Single-use codes and offers: try using one twice. Misuse like this is one of the things Bolt’s audit looks for1, and worth testing by hand.
- Text shown to others: a name or a review typed by one customer and shown to another must never run as code on the page.
06After launch
The ten checks, and keeping them true
- Bolt’s security audit run, and its Needs your action items done.
- Row level security on for every table, with no unexpected “Always True” policies.
- Two-account test passed for every kind of private data.
- All private keys in Secrets; none in the code or the browser.
- Email confirmation on.
- Stricter password rules and leaked password protection on.
- Site URL set to the live address; the URI Allow List matches.
- Uploads limited and private files private.
- Prices and single-use codes checked on the server.
- Logs that someone reads, and an alert when something fails.
Security drifts as the app changes: a new table, a new feature, a quick fix. Run the audit again after every big change, and keep a record of failed sign-ins and errors, because without it a break-in can go unnoticed8. The rest of what a live app needs is in our guide You built your app with AI. Who looks after it now?
If you’d rather someone did all ten and kept them true, it’s what we do for apps built with Bolt: a full check first, fixes at one price agreed before we start, then every change tested and the app watched every day.
Questions people ask
Is a Bolt app secure by default?
Bolt turns row level security on for the tables it creates and keeps secrets out of the browser, which is a good start. It can’t know who should see which of your data, and some defaults, like the localhost Site URL and 6-character passwords, need changing before launch.
Does Bolt’s security audit cost tokens?
Not from the button. Run security audit in the Publish menu doesn’t use tokens; asking Bolt to audit in the chat does.
What does “RLS Policy Always True” mean?
A policy has no condition limiting who can reach a row. Bolt flags it even when public access is intended, so check whether that table really should be open.
Where do I put API keys in Bolt?
In Secrets, under the database icon. Only your server functions can read them; never put a secret in the code or anywhere the browser reads.
Why do sign-in emails link to localhost?
Bolt projects start with localhost:3000 as the Site URL. Set your live address under the database icon, then Authentication, and add it to the URI Allow List.