Free check

Guide · Checklist

Security checklist for apps built with Bolt, Cursor, Replit and v0

AI tools are great at making an app that works and much worse at making one that is safe. These holes do not show up when you click around your own app; they show up when a stranger goes looking. Eight checks to run before you launch.

Free instant check, no sign-up. It covers checks 1, 2 and 7 below; the full check adds 3 and 4.

1. No secret keys in the page code

What goes wrong: the page calls OpenAI, Stripe or a database admin key directly, so the key is shipped to every visitor.

Test: open the live site, press F12, search all files (Ctrl+Shift+F) for sk-, sk_live, service_role, AKIA.

Fix: rotate the key, move the call to the server. Full walkthrough: is your API key exposed?

2. Your source code is not downloadable

What goes wrong: source maps (.map files) are published with the site, so anyone can read your original code, comments and all, in the browser's Sources tab.

Test: in the Sources tab, look for your original file names and folders (src/, components/). If you see them, the maps are public.

Fix: turn source maps off for production builds (in Vite, build.sourcemap: false, which is the default; in Next.js, productionBrowserSourceMaps: false, also the default), or keep them off the public server.

3. Every database table has access rules

What goes wrong: apps on Supabase or Firebase let the browser talk to the database directly. Without Row Level Security or security rules, the public key reads every table.

Test and fix: Supabase RLS checker · Firebase rules check.

4. API addresses ask who is calling

What goes wrong: an address like /api/users or /api/admin answers anyone who opens it, because the code that checks the login was never written. Cursor and Bolt produce these often when asked to "add an endpoint".

Test: log out, open a private window, and open your API addresses directly in the address bar. Data in the answer means it is open.

Go through every API route in this project. At the start of each one that is not meant to be public, check that the request comes from a signed-in user and return 401 if not. Admin routes must also check that the user is an admin. List the routes you changed.

5. Users can only reach their own data

What goes wrong: the app checks that you are logged in, but not that the record is yours. Change /orders/41 to /orders/42 and you see someone else's order.

Test: create two accounts. As the first, copy the address or ID of something private; open it as the second.

Wherever the app reads, changes or deletes a record by its ID, check on the server that the record belongs to the signed-in user (or that the user is allowed to see it), and return 404 otherwise. Do not rely on the page hiding links.

6. The server does not trust the browser

What goes wrong: the price, the plan or the role comes from the browser. Anyone can send "paid": true or "role": "admin" in a request, and the server stores it.

Test: in the Network tab, look at what your app sends when you sign up, upgrade or check out. Any field you should not be able to choose is a problem.

Make the server decide prices, plans, roles and payment status. Ignore these fields if the browser sends them; set "paid" only from the payment provider's confirmed webhook; let users change only their own name and settings.

7. Login cookies and browser protections are set

What goes wrong: login cookies without HttpOnly and Secure can be stolen by a script or over an unprotected connection; missing security headers let other sites frame your pages.

Fix: set cookies with HttpOnly; Secure; SameSite=Lax, always redirect HTTP to HTTPS, and add Strict-Transport-Security, Content-Security-Policy and X-Content-Type-Options: nosniff.

8. Sign-up, login and AI features have limits

What goes wrong: nothing stops a script from creating thousands of accounts, guessing passwords, or calling your AI feature until your bill explodes.

Fix: limit requests per address and per account on sign-up, login, password reset and every endpoint that costs you money, and set spending limits with your providers.

Add rate limits to sign-up, login, password reset and every route that calls a paid API: at most a few requests per minute per IP address and per user, with a clear error when the limit is hit.

What a scanner can and cannot check

Checks 1, 2 and 7 can be seen from outside by anyone, so the free ShipProof check covers them in seconds. Checks 3 and 4 need requests to your database and API; the full check sends them, read-only, after you prove the app is yours, and also looks for exposed .env and .git files. Checks 5, 6 and 8 depend on how your app behaves with real accounts, so test them by hand with the steps above.

No check can prove an app is secure. These eight catch the mistakes that are most common in apps built with AI and easiest for a stranger to find.

Run the checks a scanner can do

A grade, the problems in plain language and a fix prompt for each.