Skip to content
TrustLite

Guide

Bolt security checklist

Bolt gets you a running app in an afternoon. The checklist below is the part the afternoon usually skips. It is the same list TrustLite automates once you verify the URL.

  1. Search the project for service_role, sk_live, sk_test, sk-proj, and sk-ant. Anything that matches belongs in a server env var, then rotated.
  2. If you use Supabase, open each public table and confirm row level security is on. Add a policy before you insert real rows.
  3. Do not commit .env. Confirm the host does not serve /.env or /.git/config. A 200 is a problem even if you think the file is old.
  4. Admin screens that are only hidden in the router are still public. Require a session on the server before returning data.
  5. Turn on HTTPS and add a basic content security policy and X-Frame-Options. Bolt will not do this for you.
  6. Re-run the check after the next prompt. Builders happily paste a key back into a component when you ask them to “just call the API.”

Pair this with the Lovable notes and the RLS checker. The builders differ. The public mistakes do not.