Bolt.new Security Checklist: What to Check Before You Share the Link

Bolt can take you from prompt to live app in an afternoon. This checklist covers what to verify before real users arrive: keys, database access, headers, files and email.

Dr. Security3 MIN READ

๐Ÿ’ก The short version: a Bolt app is a normal web app that nobody has reviewed yet. Before you share the link, check where your keys live, who can read your database, what your site tells browsers and what files are lying around. Ten checks, about an hour.

Bolt can take you from an idea to a live app in an afternoon, and that's genuinely impressive. Tools like it generate the frontend, the backend calls and often the wiring to a hosted database and a host such as Netlify. It runs, which is the hard part.

What the tool can't know is what you consider private. That part is still your job. ๐Ÿ™‚ Here's how to do it without turning into a security expert.

โœ… The ten checks

  1. Every secret is an environment variable on the server. A variable that reaches the browser build (for example one with a VITE_ prefix) is public. Payment, AI and email provider keys never belong there.
  2. Your database has access rules. On Supabase, row level security should be on for every table, with policies for what users may do. On Firebase, set Security Rules that aren't "allow everything". (Our RLS guide and Firebase rules guide show how.)
  3. Sign-in is real. Open a "logged in only" page with no session and see what happens. A check that only hides a button in the interface isn't a check.
  4. Check who can change what. Try editing or deleting another user's record from a second account or your browser's developer tools.
  5. Security headers are set. A Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options and a Referrer-Policy. Most hosts let you add them in a config file.
  6. HTTPS only, with a certificate that matches your domain.
  7. No stray files. Request /.env, /.git/config, /backup.zip and your .map files. You want "not found" for each.
  8. Your AI features have limits. If the app calls a paid AI model, make sure a stranger can't hit that route anonymously and run up your bill. ๐Ÿ’ธ
  9. Email can't be spoofed. Set SPF, DKIM and DMARC on your domain.
  10. You know what's public. Open your site in a private window and click around the way a stranger would.

๐Ÿ™ˆ Common mistakes

MistakeWhy it hurts
A secret key in a VITE_ or NEXT_PUBLIC_ variableIt's shipped to every visitor
A table with no row level securityThe public key can read it
An open AI routeAnyone can spend your credits
Source maps and .env left in the buildYour code and settings are readable

๐Ÿ” Confirm it from the outside

You wrote the app, so you know how it's supposed to behave. A scan only knows what a stranger sees, and that's exactly the view you're missing. It reads your headers, certificate, exposed files, keys in public code and email setup, then tells you what to fix first.

Not sure where keys hide? Here's how to find them.

๐Ÿš€ Ready to share the link? Run a free scan first. It asks for your website and an email address, and the report is written in plain language.

  • bolt.new security
  • bolt security checklist
  • ai app security
  • vibe coding security
  • pre launch security checklist

FIND OUT WHAT YOU'RE EXPOSING.