When a founder hands me an app built with an AI tool, I check the same five things before anything else. All five are problems I have found in real apps I took over. None of them show up in a demo.
1. Secret keys in the browser
Your app holds keys for its database, its AI provider and its payment system. Some are safe to show the public. Others give full control. AI tools sometimes put the powerful ones in code that every visitor's browser downloads.
How to check: open your app, open the browser's developer tools, and search the loaded files for words like "secret" or "service_role". If you find one, treat it as stolen and replace it.
2. Doors with no lock, or the wrong lock
Every action in your app calls an address on your server. Some of those addresses answer anyone, signed in or not. Others check that you are signed in but not that you are the right person, so a regular user can do what only an admin should.
3. Queries that return everyone's data
The screen shows a customer only their own orders. But the request behind it may fetch all orders and hide the rest on the page. Anyone curious can see the full list.
How to check: sign in as one test customer and try opening a record that belongs to another by changing the ID in the address bar.
4. One database for testing and for customers
If you test new features against the same database your customers use, one bad test can delete or corrupt real records. A production app needs a separate copy for testing.
5. No real idea of separate customers
If you sell to companies, each company's data has to be walled off from the others. That wall belongs in the database, where it cannot be skipped. Adding it late is possible, but it is the most work of the five.
What to do with the answers
- One or two of these: fix them in place. It is usually days of work, not months.
- Four or five: get the code reviewed properly before you take a single payment.
- Number five on its own: talk to a developer before adding more features, because every feature built on top makes it harder.
If you want a second pair of eyes, send me your app link and tell me what it does.