Short answer: Check that the server (not just the screen) decides who sees each record, no API keys are visible in the browser, logins use a proven provider, admin pages are locked down, inputs are validated, every dependency is current, data is backed up and restorable, and you'd know within a day if something went wrong.
Part of the guide to audit, secure and scale.
AI tools write working code quickly, but they write what you ask for, and nobody asks for security. The result is usually an app that works perfectly for honest users and has no defences against anyone else. Here's the checklist we start with. You don't need to be a developer to ask these questions.
Access and data
1. The server checks permissions on every request. Hiding a button or a page isn't protection. Ask: if someone copies a link to another customer's record, does the server refuse it?
2. Database rules are switched on. Many hosted databases ship with open access for convenience. Row-level rules, or an equivalent, should limit each user to their own data.
3. Admin pages need an admin login. Not a secret URL, an actual role check.
Secrets
4. No keys in the browser. Open your site, view the source, and search for “key” or “secret”. Anything you find there, assume it's public and replace it.
5. Keys live in server settings and can be rotated. If a key leaked tomorrow, you should be able to swap it in minutes without a code change.
Logins
6. Use a proven login provider rather than home-made password handling, and switch on two-factor authentication for staff accounts.
Inputs and dependencies
7. Every form and API input is validated on the server, so nobody can submit a negative price or someone else's account number.
8. Packages are up to date. Old libraries with known holes are an easy way in.
Recovery
9. Backups exist and you've restored one. A backup you've never tested is a hope, not a plan.
10. You'd know if something went wrong. Error alerts, and a log of who changed what, mean you find out in hours, not from a customer.
If you can't answer these
That's normal for a fast build, and it's exactly what an audit is for. Security is one of the areas the Revvit audit covers, and every finding comes ranked so you fix the dangerous things first.