
Bolt.new builds a working app in minutes, and that speed is exactly what makes it dangerous at launch. The front end looks polished and the demo works, so it feels ready.
It isn’t. The production layer, the part that keeps real users and real data safe, is mostly not there, and the slick demo hides that it’s missing.
This guide is the Bolt-specific production checklist: what Bolt.new leaves out, the security gaps it ships every time, and exactly what to fix before you launch.
Taking a Bolt.new app to production means closing the gaps Bolt doesn’t build for you. Bolt ships the UI and wires up a backend (usually Supabase) to make the demo work, but it leaves out real authentication, server-side validation, locked-down database access, proper secret handling, rate limiting, tests, and monitoring.
The three Bolt-specific landmines, seen repeatedly in public scans of AI-built apps, are: secrets stored in VITE_-prefixed variables that get baked into your JavaScript bundle in plaintext for anyone to read; Supabase tables shipped without Row Level Security (or with a USING (true) policy that technically enables RLS but still lets anyone in); and the Supabase anon key sitting in the frontend, granting read/write access to every row when RLS isn’t locked down. Public scans of AI-built apps keep finding the same mistakes. In one 2026 scan of 359 Supabase-backed apps, 39% had at least one data-exposure problem, and the pattern is easy for automated scanners (and attackers) to find.
This is the checklist-driven playbook for the founder or technical lead who built in Bolt.new and needs to launch safely: what’s missing, the production-readiness checklist, the Bolt-specific security fixes (hosting, secrets, database, auth, testing, monitoring), real costs and timelines, and the Bolt Cloud vs own-backend decision. It’s exactly the work our AI prototype-to-production service does.
If you built on Lovable instead, our Lovable to Production guide covers that tool’s specifics; this one is about Bolt.new. If your Bolt app is already live and breaking, start with our guide to fixing a broken Bolt app.
Understanding Bolt’s architecture explains the gap. During development, Bolt runs your project in WebContainers, Node running in the browser, so the preview is sandboxed and safe. The risk appears the moment you add a real backend.
When Bolt wires up Supabase, Firebase, Stripe, or a custom backend to make the demo work, it picks defaults, and those defaults are tuned for “the demo runs,” not “this is safe for real users.” That’s where production readiness goes missing.
Here’s what Bolt leaves for you to handle.
Real authentication and authorization. Bolt can add a login screen, but authorization, actually checking on the server that a user can only access their own data, is usually missing or done client-side where it’s trivially bypassed.
Locked-down database access. This is the big one. Generated Supabase tables often ship without Row Level Security, or with policies that don’t check ownership, which leaves your data open.
Proper secret handling. Generated code can put keys in VITE_-prefixed environment variables, which get bundled into the client-side JavaScript, exposing them to anyone.
Server-side validation and rate limiting. Validation hidden in the UI is bypassable, and anything that costs money (payments, AI API calls, email) needs server-side verification and rate limiting, which Bolt doesn’t add.
Tests, backups, and monitoring. There’s typically no test suite, no tested backup, and no alerting, so you learn about a problem from a user, not an alert.
Plus the operational pieces: a deliberate hosting choice, separate development and production environments, server-side rendering if SEO matters, and clear code ownership. None of this shows up in the demo, which is precisely why the demo is misleading, it exercises none of the things that break in production.
Here’s the consolidated checklist, drawn from the hardening guides that specialize in Bolt apps, organized so you can work through it before launch.
Hosting. You chose your host deliberately before the first publish. (New Bolt projects publish to Bolt hosting by default. You can publish to Netlify instead, or export the code and deploy elsewhere. Pick one on purpose rather than accepting the default blindly.)
Secrets. No secret is readable in the browser bundle, only the Supabase URL and public anon key belong client-side. No API key sits in a VITE_ variable. Third-party keys (Stripe, OpenAI, etc.) are stored as server-side secrets and used only from server functions. And every key that was ever in a VITE_ variable, a .env file, or git history has been rotated, not just moved.
Database. Row Level Security is enabled on every table, and every policy checks actual ownership (e.g. auth.uid() = user_id), not just whether someone is signed in, and definitely not USING (true). The two-account replay test, sign in as user A, try to read user B’s data, fails for every endpoint. You know where your data lives, it’s backed up, and you’ve restored from backup at least once. The schema is reproducible via migrations, and dev and production are separate.
Auth. Every server function checks who is calling and what they’re allowed to do. Email confirmation and password reset work on your real domain. Anything that costs money is verified server-side and rate-limited.
Testing. A staging environment mirrors production and is not the production database. CI runs type checks, unit tests, and end-to-end tests on the critical paths, sign-up, login, and checkout at minimum.
Monitoring. Backups and monitoring are on, errors and downtime alert a named person, and your hosting usage has headroom with an alert before the limit.
One unifying principle ties the whole list together: everything Bolt wired up to make the demo work needs to be re-reviewed for the case where a real, possibly hostile, user is on the other end. The demo never tested that. Production does immediately.
Bolt apps fail in a recognizable, repeatable way, which is both the bad news (attackers know the pattern) and the good news (it’s a known checklist to close).
The underlying research is consistent: a large share of AI-generated code ships vulnerable regardless of tool, Veracode’s 2025 testing found 45% of AI-generated code introduced a known OWASP Top 10 vulnerability, and its October 2026 update found that share had fallen to 38%, which is better but still more than one task in three. App-level scans show the same pattern: Vibe App Scanner, a vendor that sells scanning, found at least one data-exposure problem in 39% of the 359 Supabase-backed AI-built apps it scanned. Bolt apps, built on the predictable Bolt-plus-Supabase stack, sit squarely in that pattern.
Three specific, documented failure shapes account for most Bolt production incidents.
The missing-RLS leak. This is one of the most common failures in public scans: Supabase tables shipped without Row Level Security, so the anon key in your frontend grants anyone read (and often write) access to every row. A stranger can read and change another user’s data. (Supabase changed its default in 2026 so new tables in the public schema are no longer exposed to the Data API automatically: new projects from May 30, 2026 and existing projects from October 30, 2026. Existing tables keep their current grants, and the change does not touch RLS, so an app built earlier, or one that grants access to its tables, is still exposed unless the policies are right.)
The exposed secret. A key stored in a VITE_ variable is compiled straight into the JavaScript bundle any visitor downloads, and the Supabase service_role key, if it ever landed there, bypasses all RLS entirely. A committed .env file or a key in git history is the same problem with a longer tail.
The open server function. A server function that doesn’t check who’s calling will answer anyone who finds its address.
The honest bottom line: if any of these is true, a stranger can read or change another user’s data, a secret key sits in the JavaScript visitors download, or a server function answers anyone, the app is not ready to launch, whatever the demo looks like. And because the fix touches customer data, it’s the kind of mistake you can’t undo after launch, which is why data-access issues come first. On anything handling real users or sensitive data, an independent AI code security audit before launch is the backstop. For the research behind these numbers, see Is AI-generated code secure?.
Work through six areas in order, fixing data exposure first because it’s the irreversible risk.
Hosting. Decide deliberately, Bolt’s hosting, Netlify, or your own cloud, before you publish, and sync the code to GitHub so you own it and can deploy where you choose.
Secrets. Move every API key out of the browser and into server-side secrets or server functions. Separate public variables (safe in the browser, the Supabase URL and anon key) from secret ones (server only). Set them in your hosting provider per environment and trigger a fresh build. Then rotate anything that was ever exposed, a VITE_ key, a committed .env, anything in git history, because moving a compromised key doesn’t un-compromise it.
Database. This is where most of the risk lives. Move to a Supabase project you own, enable RLS on every table, and write policies that check real ownership. Make the schema reproducible with migrations, set up backups and restore from one once to prove it works, and keep development and production separate. Then run the two-account replay test on every endpoint that returns user data.
Auth. Add real authentication, and, critically, enforce authorization on the server: every function checks who’s calling and what they may do. Confirm email verification and password reset work on your real domain, and rate-limit anything that costs money.
Testing. Stand up a staging environment that mirrors production but uses its own (non-production) database. Run type checks and tests, including end-to-end tests, on sign-up, login, and checkout, the paths where a failure is most costly.
Monitoring. Turn on backups and monitoring, wire errors and downtime to alert a named person, and leave yourself headroom on hosting usage. Then deploy to production and keep the next 48 hours clear to react.
The sequence matters: secrets and database access first (the data-leak risks), then auth, then testing and monitoring. Fix the irreversible things before the operational polish.
Treat these as vendor-reported planning ranges that depend far more on the app’s state than its size, and scope a real quote.
For cost, the shape runs from modest to five figures. A fixed-price launch of a relatively simple Bolt app commonly runs from the high hundreds to a few thousand dollars (a small website or landing page at the low end). A full fix-and-launch of a real app with meaningful backend work commonly runs into five figures, from around $10,000 depending on how much is broken. The driver is the state of the backend and security, not the number of screens.
For timeline, three patterns show up. A disciplined team can run a focused ~10-day hardening sprint: days 1-2 to decide and document (confirm the backend path, map where data, files, and auth live, list every external service), days 3-5 on access control and secrets (write and review RLS policies for every table, move keys server-side, rotate anything exposed), days 6-7 on server-side auth, validation and tests, days 8-9 to rehearse on a staging environment that mirrors production, and the final day to launch with backups and monitoring on and 48 hours kept clear. Larger or messier apps more commonly take 1-6 weeks.
The useful rule: start with a short assessment to confirm which Bolt-specific gaps are actually open (RLS, VITE_ secrets, server-side auth), because that tells you whether you’re looking at a 10-day sprint or a multi-week fix before you commit budget or a launch date.
Bolt gives you two broad paths to production, and a useful thing to know upfront: the production checks are the same on both.
Bolt Cloud keeps things simple. It bundles hosting, custom domains and a built-in database, so you don’t need outside accounts to publish. Custom domains need a Pro plan, and the database of a live Bolt-hosted project isn’t paused for inactivity. It’s the lower-overhead path and fine for many apps.
Your own backend means connecting your own Supabase project, or claiming Bolt’s database into your own Supabase account, on hosting you control. It’s more setup but gives you full ownership and control, which matters once the app is real, has real users, or needs to scale. One catch: on Supabase’s Free plan, databases pause after a week of low activity, even if your Bolt project is published.
Here’s the key point that cuts through the decision: whichever path you choose, the same production checks apply. Access control (RLS), secret handling, payment verification, separate environments, backups, and monitoring have to be right either way, Bolt Cloud doesn’t remove the need to review your access rules, and your own backend doesn’t automatically make it safe. So choose Bolt Cloud for simplicity or your own backend for control, but don’t assume either path closes the security gaps. You close those yourself, with the checklist above. (For most apps with real user data, owning the Supabase project is worth the extra setup for the control and portability it gives you.)
The production layer Bolt leaves out. Real authentication with server-side authorization (not just a login screen). Locked-down database access, Row Level Security on every Supabase table with ownership-based policies. Proper secret handling, keys moved out of VITE_ variables and the browser bundle into server-side secrets, and anything previously exposed rotated. Server-side validation and rate limiting on anything that costs money. A staging environment, tests on the critical paths, backups you’ve actually restored, and monitoring that alerts a named person. The demo works without any of these, which is exactly why it’s misleading, production exercises all of them immediately.
Three documented, recurring ones. Missing Supabase RLS, generated tables often ship without ownership policies, so the anon key in your frontend grants anyone read/write to every row (a leading cause of exposure in public scans). Exposed secrets, keys stored in VITE_ variables get compiled into the JavaScript bundle any visitor can read, and a service_role key there bypasses all RLS. And open server functions that don’t check who’s calling. The test that proves the first one: sign in as two users and try to read each other’s data, if it works, your RLS is broken. If any of these is true, the app isn’t ready regardless of how the demo looks.
Vite, the build tool behind many Bolt projects, exposes any environment variable prefixed with VITE_ to client code, so it gets compiled into your client-side JavaScript bundle in plaintext. That’s correct for genuinely public values like your Supabase URL and public anon key. It’s a serious leak for anything secret, a Stripe secret key, an OpenAI key, or especially the Supabase service_role key, because anyone can open browser dev tools and read it. The fix: keep secret keys out of VITE_ variables and the frontend entirely, use them only from server functions with server-side secrets, and rotate any secret that was ever exposed this way.
Six areas, data exposure first. Hosting, choose deliberately and sync to GitHub so you own the code. Secrets, move keys server-side, separate public from secret, set them per environment, and rotate anything exposed. Database, move to a Supabase project you own, enable RLS with ownership policies on every table, set up and test backups, use migrations, and separate dev from prod. Auth, enforce authorization on the server, confirm email/password-reset flows, rate-limit paid actions. Testing, a staging environment mirroring production plus tests on sign-up/login/checkout. Monitoring, backups, alerts to a named person, and 48 hours kept clear after launch. Fix the irreversible data-leak risks before the operational polish.
Vendor-reported ranges, so verify with a scoped quote. A fixed-price launch of a simpler Bolt app runs from the high hundreds to a few thousand dollars; a full fix-and-launch of a real app with meaningful backend and security work runs into five figures (from around $10,000 depending on how much is broken). On timeline, a disciplined team can run a focused ~10-day hardening sprint (decide and document → access control and secrets → staging rehearsal → launch with safety net); larger or messier apps commonly take 1-6 weeks. The driver is the state of the backend and security, not the number of screens, so a short assessment first tells you which bucket you’re in.
Either works, and the crucial point is that the production checks are identical on both. Bolt Cloud (built-in hosting, domains and database) is simpler and fine for many apps. Your own backend (your Supabase project on hosting you control) is more setup but gives you full ownership and control, which matters once the app is real. But neither path does your security for you, Bolt Cloud doesn’t replace a review of your access rules, and owning the backend doesn’t automatically make it safe. Access control, secrets, payment verification, environments, backups, and monitoring have to be right either way. For most apps with real user data, owning the Supabase project is worth the extra setup for control and portability.
Yes, after you close the gaps, no, straight from the demo. Bolt is genuinely good at generating a working app fast, and many production apps start in Bolt. But generated apps often ship predictable security holes, such as missing RLS, VITE_-exposed secrets and client-side-only authorization, so “it works in preview” is not “it’s safe for real users.” The apps that launch safely are the ones where someone went through the production checklist, locked down the database, moved and rotated the secrets, enforced server-side auth, and added tests and monitoring. Treat Bolt’s output as a strong prototype that needs hardening, not a finished product, and it’s a fine foundation for a real app.
Database access, specifically Supabase Row Level Security. It’s among the most common failures in AI-built apps and the one that leaks customer data, because the anon key in your frontend can read and write every row unless RLS is on with correct ownership policies. Enable RLS on every table, write policies that check actual ownership (not USING (true), which looks locked but isn’t), and verify with the two-account replay test. Fix this before anything else, because a data leak is the one mistake you can’t undo once real users and real data are in the system. Secrets (moving and rotating keys) come a close second.
Bolt.new is excellent at the first 80%, turning an idea into a working app in minutes. The last 20%, making it safe for real users and real data, is a different discipline, and it’s where the value and the risk concentrate.
The good news is that Bolt’s gaps are specific and known, which makes them a checklist rather than a mystery. Close the three Bolt landmines first: lock down Supabase RLS with real ownership policies, get every secret out of the VITE_/browser layer and rotate anything exposed, and enforce authorization on the server. Then add the operational layer, separate environments, tests on the critical flows, backups you’ve restored, and monitoring that alerts a real person.
Above all, fix data access first, run the two-account replay test, and don’t trust the demo, it tested none of the things that break in production. Do that work, and your Bolt prototype becomes what it was always capable of being: a real product that’s secure, tested, and ready for actual users.
Built something in Bolt.new and need it production-ready?
Explore our AI Prototype-to-Production service to see how we harden Bolt.new, Lovable, v0 and Replit apps for launch: Supabase RLS and secrets first, with your code in your own hands and the production checklist done properly.
Book a consultation and send us your Bolt project. We’ll run a production-readiness assessment and tell you what stands between you and a safe launch. If the app is already live and failing, our AI Build Rescue service picks up from there.
Subscribe to our newsletter for the latest in web, design, and AI.