Is my Replit app secure? A 10-minute checklist

Replit Agent can take you from idea to a live .replit.app link in an afternoon. That's brilliant, but it also means your app is on the open internet before anyone has checked what it gives away. Here are ten checks you can do yourself on an app you own, no coding needed for most of them.

1. Keep keys in Secrets, not in your code

Replit has a Secrets panel for API keys and passwords. Open your project files and search for words like sk_, key, secret and token. If a real key is pasted straight into a file, move it into Secrets and ask the Agent to read it from there.

2. Make sure secret keys never reach the browser

Public or publishable keys (and Supabase's anon key) are meant to live in the front end. Secret keys are not: payment keys, AI provider secrets, and Supabase service_role or sb_secret_ keys must stay on the server. Open your live app, right-click, choose "View page source", and search for those secret patterns. If one shows up, anyone can copy it and run up your bill.

3. If a secret key ever leaked, change it

Deleting a key from your code doesn't help if it was already public. Make a new key in the provider's dashboard (Stripe, OpenAI and so on), switch the app over, then delete the old one.

4. Check your database isn't open to everyone

If your app uses Supabase, Firebase or another hosted database, check that visitors can only see their own data. Our guide on checking Supabase tables walks through it.

5. Try it as a second user

Only do this on an app you own. Make two test accounts. Log in as one, note the web address of something private (an order, a profile), then log in as the other and paste that address. If you can see the first person's data, that's a real problem.

6. Look for admin pages anyone can reach

On your own deployed link, try /admin, /dashboard and /api on the end while logged out. Anything that shows data or controls without a login needs locking.

7. Turn off debug and test modes

Error pages that show code, file paths or settings help attackers. Ask the Agent to make sure the deployed version runs in production mode.

8. Use the deployed link, not the dev preview

Share your deployed address with customers, not the editor preview. The preview can behave differently and may show more than you mean it to.

9. Check your security headers

Headers are small settings that tell browsers to behave safely. Ask the Agent to add standard security headers (Content-Security-Policy, X-Frame-Options, Strict-Transport-Security).

10. Get an outside check before you launch

It's hard to spot your own blind spots. Our free mini-check looks at your live Replit app from the outside, read-only, and emails you the top things to fix. For a full report with copy-paste fix prompts for the Agent, see pricing.

We only check apps you own or control, and our checks never change your app.

Want us to look? Get a free mini-check (3 quick findings by email), or see pricing: £79 for the full check, £149 with the fixes done for you.

Related guides

Read-only advice. Only check apps you own or control. Not a penetration test, and no check can guarantee an app is secure.