Get a second opinionBook
Menu

Bolt.new ward

Code review for apps built with Bolt.new

Bolt.new builds and runs your whole app inside a browser tab, gives it a database and puts it live on Bolt hosting before you have finished your coffee. The code it writes is optimized for the demo working in that tab.

Bolt’s security audit goes first, and I start where it stops: the rules your app needs, not only the ones that are missing, proven on your live app. You get the problems the audit could not know, ranked, with a fix prompt you can paste straight back into Bolt.

US dollars, no tax added. See both prices.

X-raysupabase/functions/create-checkout/index.ts1 fracture
export default {
  fetch: async (req: Request) => {
    const { amount, userId } = await req.json()
    const session = await stripe.checkout.sessions.create({
      line_items: [{ price_data: { currency: 'usd', unit_amount: amount,
        product_data: { name: 'Pro plan' } }, quantity: 1 }],
      metadata: { userId },
      mode: 'payment'
  1. Line 3: The browser decides the price and who is paying; anyone with the network tab open can check out for fifty cents on another user's account.

Your first opinion

Bolt’s project security audit reviews your whole project, code and database, fixes what it can and flags what you need to handle. The full audit is on paid plans and a separate database check runs on all plans; neither uses your tokens. Run it and paste what it found.

What Bolt.new usually generates

  • React
  • Vite
  • TypeScript
  • Tailwind CSS
  • Bolt Database or Supabase
  • Server Functions
  • Stripe

Reviewed:

Common problems in Bolt apps

Not every one of the Bolt apps I review has all of these; the report says which yours has, where and what to do. Items marked scan are ones Bolt.new’s own scan usually flags too; paste its results when you book and I start there. The rest is where my time goes.

“Slop” is what the AI left behind, not you. Every AI tool skips the same things, whoever is at the keyboard.

  1. Critical

    The database secret key in the frontendscan

    When row level security blocks a feature, the quickest fix is to use the secret key (older projects call it the service role key), which bypasses every policy. In a Vite app that key ends up in the bundle, where anyone can take it. I find it, tell you to rotate it and fix the policy instead.

  2. Critical

    Prices decided by the browser

    A checkout where the amount, the plan or the user id comes from the request body. Anyone with the network tab open can buy the annual plan for a dollar, or for someone else. I trace every payment path back to the server.

  3. High

    Server functions with no idea who is calling

    Server functions (Bolt also calls them edge functions) that take a userId from the request and trust it, with no token check. They are public URLs. I list each function, what it can do and what it needs to verify before doing it.

  4. Medium

    Mock data that never left

    Early in the build, before the database was connected, the app ran on hard-coded arrays. Some screens still do. The dashboard shows demo numbers to real users, and search returns the same five results for everyone.

  5. Medium

    One App.tsx that does everything

    Routing, state, data fetching and forms in one file that gets rewritten whenever a feature changes. I point out what to split so that a prompt about the settings page cannot break checkout.

  6. Low

    Every request assumed to succeed

    Fetches with no error handling and no loading state, so a slow or failing database call means a blank screen with no message. Small to fix, and the first thing customers notice.

Case history

How this usually happens with Bolt.new

Bolt builds in a browser tab and shows you the running app as it goes, so it is tuned for the moment the preview works. When a database rule blocks a feature, the fastest way back to a working preview is a key that ignores the rules.

Many Bolt projects start on sample data and get a database later: Bolt Database, which runs on Supabase, or your own Supabase project. Screens finished before the database arrived sometimes never switch over.

Payments are where this hurts most. A checkout built for the demo takes its price from the page, because that was the quickest way to make the button work.

X-raysrc/lib/supabase.ts1 fracture
import { createClient } from '@supabase/supabase-js'

export const supabase = createClient(
  import.meta.env.VITE_SUPABASE_URL,
  import.meta.env.VITE_SUPABASE_SERVICE_ROLE_KEY
)
  1. Line 5: Every VITE_ variable is built into the JavaScript your visitors download. This key skips every row level security policy, so whoever copies it from the browser can read and change every table.

Bolt Database or your own Supabase

Bolt Database runs on Supabase, so the question that matters is the same one as on any Supabase project: does every table have row level security, and does each policy say what you think it says? Bolt’s docs say “Bolt turns on RLS for the tables it creates”. They also say “If you add any tables in the database, make sure RLS is turned on for those, too.”

The second sentence is the one that matters after a few weeks of prompting. A table you or a later prompt added by hand is not covered by the first. Bolt’s database check “checks only your database, not your whole project”, so it will not tell you whether the checkout function in the same project trusts the browser. I read both sides together.

Server functions, sometimes called edge functions

Bolt’s docs call them “server functions (sometimes called edge functions)”. Whatever the name, each one is a public URL. Anyone who finds the address can send it a request, with or without your app in front of it.

So each function has to check who is calling, and none should take a user id or a price from the request and believe it. That is the line between a function that does one job for the right person and one that does it for whoever asks. I open every function and write down which of the two it is.

The audit’s daily limit

Bolt’s docs say “You can run up to 30 security audits per day”, and the limit “resets each day at midnight UTC”. That is plenty, but it changes how you use it: run the audit after a batch of changes, not after every prompt.

Paste the latest run when you book. A clean audit from before your last prompts says nothing about what those prompts changed, and anything in my report that the latest run had already listed does not count toward the guarantee.

Self-exam

Five checks for Bolt apps

Five things you can look at today in Bolt apps. If one of them turns something up, fix it or let me look at the rest.

  1. Read the name of every VITE_ variable

    Search your project for VITE_. Every one of these ends up in the browser. The URL and the publishable or anon key are meant to be public. Anything with SERVICE or SECRET in the name, or a Stripe key starting with sk_, is not, and needs rotating.

  2. Check where your checkout gets its price

    Open the function that creates the Stripe checkout. If it reads an amount or a price from the request, the browser decides what customers pay. The price should be picked on the server.

  3. Check row level security on every table

    Whether you use Bolt Database or your own Supabase, every table should have row level security on, with policies that limit each user to their own rows.

  4. Search for mock, sample and placeholder

    If a dashboard or a search page still imports arrays from those files, your real users see demo data.

  5. Try your app with the network switched off

    Open the browser's developer tools, set the Network tab to Offline and click something that loads data. A blank screen with no message means every request is assumed to succeed.

Want a longer list your AI can run for you? Get the free self-check prompt.

Pharmacy

Prices

Same fixed prices for Bolt.new, whichever tool wrote the code.

  • Full exam

    Launch Review

    $999

    Launching, raising or selling? Every problem proven, and a signed report you can show.

    Bolt.new apps: ready in 4 business days. Up to 30k lines (50k: +$299).

    Book Launch Review for Bolt.new

Prices in US dollars, no tax added, paid once by card. A fix list or Aftercare is offered in your report, never sold by card. See everything each tier includes.

Bolt.new questions

How do I get my Bolt project to you?

Connect Bolt to GitHub so it commits the project to a repository, or download it and put it in one yourself, then give me read-only access (I send you a key to paste in; it takes a minute). I also need your database schema and policies as SQL, and the names (not values) of the secrets your project uses.

My database has row level security. Is that enough?

Only if every table has it enabled and every policy says what you think it says. That is true for Bolt Database, which runs on Supabase, and for your own Supabase project alike. Policies are often created with the table, then loosened by a later prompt that ran into a permission error. I read every policy and test the ones that matter.

Can I fix things inside Bolt?

Yes. Each finding comes with a fix prompt written for Bolt. For anything that touches database policies or Stripe I also give you the SQL or the server-side change directly, because those are the fixes you want to read before applying.

Questions about price, privacy or refunds for Bolt.new? All questions and answers.

Built with Bolt.new? Ask me.

A question about your app, the price or how this works? I answer myself, by email. Replies within 2 business days.

I use your email only to answer. Privacy policy.

Find out what Bolt.new skipped.

Replies within 2 business days.