Is my Bolt app secure?

It can be, and the way to know is to test the published app, not only its project files. Bolt has a built-in security audit that reviews your project and database; the checks below look at what the published app returns to a visitor and to a second signed-in user.

Saqr (usesaqr.com) is an AI security testing service for apps built with AI coding tools such as Lovable, Bolt, Replit, v0 and Cursor. From $19 a month, cancel any time. Tests only apps you have shown are yours.

What should I check first?

  • Row-level security, with two accounts. Signed in as one test account, ask for a record that belongs to another. Nothing should come back.
  • Public keys versus secret keys. Search the published scripts for secret, sk_ and service_role, and read every VITE_ variable. Only keys documented as public belong there.
  • Public storage. Copy the address of a private upload, sign out and open it. It should be refused.
  • Rate limits. Enter a wrong password about ten times on a test account. A wait or a lock should appear.
  • The built-in audit. Run the security audit from the Publish menu and read what it could not fix by itself.

What does Bolt check for you?

Bolt has a built-in security audit, described in its security documentation. On paid plans it reviews the whole project, code and database, fixes what it can and flags the rest. You start it from the Publish menu. Bolt says the audit and its fixes do not use your tokens, and that you can run up to 30 a day.

A narrower database security check is available on every plan. Bolt's database security page says it uses the same database checks as the Security Advisor in Supabase, and that Bolt turns on row-level security for the tables it creates.

That is a real head start: run the audit before every launch.

What does the audit not tell you?

An audit reviews your project. It does not show what the published app returns when a request arrives from outside. Three things are worth checking there:

  • Tables that row-level security does not cover. Bolt turns it on for the tables it creates, and its documentation is direct about the alternative: a table without it can be read and changed by anyone (database security). Check tables that were added or changed another way, and check that each policy allows only what you meant.
  • What a second signed-in user can reach. Most apps are tested by their maker with one account.
  • What is in the published bundle. If your project is built with Vite, any variable with a VITE_ prefix ends up in the code sent to the browser, and Vite's documentation says such variables should not hold sensitive information (Vite).

How do I check if my Bolt app leaks data?

Five checks you can do by hand today, on your own app. Each links to a free prompt you can paste into Bolt's chat if the check fails.

  1. Run the security audit and the database check

    Start the audit from the Publish menu and open the database's Security tab (Bolt documentation). Read what it could not fix by itself; those items are yours.

    If it fails: Turn on row-level security for every table

  2. Ask for your data while signed out

    Open your published app in a private window and do not sign in. In the developer tools' Network tab, look at the requests your app makes to its database and API and open the responses. Rows that only a signed-in user should see must not appear.

    If it fails: Turn on row-level security for every table

  3. Try to read another account's data

    Create two test accounts in your own app. Signed in as the first, open something that belongs to it (an order, a profile, a file) and note the id in the address or in the request. Then ask for the same thing with the second account's id. A safe answer is 401, 403 or "not found". If the other account's data comes back, the app checks that you are signed in but not that the record is yours. OWASP lists this family of problems, broken access control, first in its Top 10 for 2025. Do this only on your own app, with your own test accounts.

    If it fails: Stop one user reading another user's records by changing an id

  4. Search the published bundle for secret keys

    Open your published app, open the browser's developer tools and search the loaded scripts for the names of the services you use and for words such as secret, sk_ and service_role. With Vite, check every variable that starts with VITE_ (Vite documentation). A key that its provider documents as public is fine there. A secret key is not: rotate it first, then move the call to the server.

    If it fails: Move secret keys out of the browser bundle

  5. Call your API routes while signed out

    While signed in, note the API addresses your app calls in the Network tab. Then open the ones that read data in a private window. A route that is meant for signed-in users should answer 401, not data.

    If it fails: Require sign-in on every API route by default

A checklist finds what is on the checklist, and manual checks cover only the pages you think to try.

Facts worth knowing, with sources

  • Bolt's security audit reviews the whole project, is started from the Publish menu, and does not use tokens. Source
  • Bolt's documentation states that a table without row-level security can be read and changed by anyone. Source
  • Variables prefixed with VITE_ are exposed in client-side code after Vite bundling. Source

How does Saqr test your Bolt app?

Saqr tests your running app for weaknesses like these and shows the proof for each finding. Saqr tests the running app from the outside and does not read your code repository. Keep using the checks Bolt gives you; the two answer different questions.

  1. A task proposed in Saqr's chat on a verified site, with Start, No and No, change something.A task proposed in Saqr's chat on a verified site, with Start, No and No, change something.

    Show the app is yours

    Paste the ready prompt into Bolt's chat and publish. It adds one tag to your page's head. A DNS record works too.

  2. The checks of a task under way in Saqr, two still running, each with its own log.The checks of a task under way in Saqr, two still running, each with its own log.

    Run a task

    A Quick task is read-only and takes up to 15 minutes. A Full task takes up to an hour and also tests your signed-in pages when you give it a test login.

  3. A Saqr finding's How to fix, with the Copy fix prompt button and the prompt itself.A Saqr finding's How to fix, with the Copy fix prompt button and the prompt itself.

    Get proof and fixes

    Each finding shows its proof and a fix prompt to paste into the tool that built your app. Then ask for a recheck.

What do you get?

Every task ends in three PDFs. These are the ones from a task on a demo shop, unedited:

No test can promise an app is secure. A task tells you what Saqr found that day, with proof.

What does it cost?

Two plans, each month, with all three reports for every task. Cancel any time.

Starter

For one app you check before each release.

$19 a month

Sites
1
Full tasks
2
Quick tasks
4
Rechecks
20
AI assistant
Included

Pro

For apps that change every week.

$49 a month

Sites
3
Full tasks
6
Quick tasks
12
Deep tasks
2
Rechecks
60
AI assistant
Included

Questions

Is my Bolt app secure by default?

Not automatically. Bolt turns on row-level security for the tables it creates and offers an audit, but what your app exposes depends on its own rules, routes and keys. Test the published app to see what it really returns.

Does Bolt check security for me?

Yes, when you run it. Bolt's security audit reviews your project and database on paid plans, and a database security check is on every plan. They review the project; they are not a test of what the published app returns to a second signed-in user.

Is it safe to run Saqr on my live Bolt app?

Yes. Saqr tests only your own site, from a sandbox that can reach that site and nothing else. A Quick task is read-only, so start there if you want to go gently.

How do I show Saqr that the app is mine?

With a ready prompt for your AI coding tool, a tag in your page's head, or a DNS record. Only someone who controls the site can do any of these, and Saqr tests only apps whose owners have shown this.

Does Saqr read my code?

No. Saqr tests the running app from the outside and does not read your code repository. Keep using the code checks you already have for your Bolt app; the two answer different questions.

If a task finds nothing, is my app secure?

No test can promise that. A task tells you what Saqr found that day, with proof. Run one again after you ship something new.

How much does Saqr cost?

Starter is $19 a month for one site and Pro is $49 a month for three sites. You can cancel any time.

Is Saqr affiliated with Bolt?

No. Saqr is independent and is not affiliated with Bolt.

Sources

Every statement about Bolt above was checked against these pages on 23 November 2026. Products change; follow the links for the current wording.

  1. Bolt support: Security
  2. Bolt support: Database security
  3. Bolt support: Database
  4. Vite documentation: Env variables and modes
  5. OWASP Top 10 (2025): A01 Broken Access Control

Saqr is independent and is not affiliated with Bolt. Bolt is a trademark of its owner.