# Bolt and Replit app security: 6 things to check on your live deployment

> Source: <https://dev.to/proofforge_live/bolt-and-replit-app-security-6-things-to-check-on-your-live-deployment-16ln>
> Published: 2026-11-26 16:39:30+00:00

**Recommendation:** Revoke any key exposed in a client bundle or git history before code cleanup, then enable Supabase Row Level Security, make storage buckets private with signed URLs, and disable production source maps.
More in the playbook "Securing agents and AI tools": <https://wpnews.pro/playbooks/agent-security>

Bolt and Replit apps ship fast, and the same few mistakes show up again and again. Here is what to check on a live deployment, and how to fix each one.

**1. Secrets in the client bundle**

Anything prefixed for the browser (for example `VITE_` or `NEXT_PUBLIC_`) is public. Do not put a `service_role` key, a Stripe secret or an AI provider key there. If one is already live, revoke it first, then move the call to a server function.

**2. Replit and Bolt environment files**

Check that `.env` is not served at your domain, and that it is in `.gitignore` before the first commit. A key committed once stays in history even after you delete the file, so rotate it.

**3. Open database tables**

If the app uses Supabase, turn on Row Level Security and write per-operation policies. Test signed out and as a second user.

**4. Public storage buckets**

Uploads, invoices and avatars often sit in a public bucket. Make private buckets private and use signed URLs.

**5. Debug routes and verbose errors**

Remove test endpoints and turn off stack traces in production.

**6. Source maps**

Disable production source maps unless you want your source public.

**Fix order**

Revoke leaked keys, then close the database, then storage, then the rest. Rotating a key is more urgent than a code cleanup.

ProofForge scans your live URL from the outside, read-only and without logging in, and writes fix prompts you can paste back into Bolt or Replit. Free first scan: [https://proofforge.live/check/bolt](https://proofforge.live/check/bolt)
