Free checklist
The pre-launch security checklist for AI-built apps.
Before you launch an app built with an AI coding tool, check eight areas in this order. Who can read whose data, where the keys live, sign-in and recovery, limits on use, what leaves for AI providers, payments and webhooks, backups, and what you would see if something went wrong. This checklist gives 32 checks you can run yourself.
Free, with no sign-up. Version 1.0, last reviewed .
Section 1 of 8
Who can read whose data
This is the flaw that exposes customer records. The app looks right in the browser while the database answers anyone who asks it directly.
1.Row-level security is switched on for every table that holds user data
- How to check
- Open the database dashboard and list the tables. On Supabase each table shows whether row-level security is enabled.
- What good looks like
- Every table with user data has it enabled. A table without it is readable by anyone holding the public key.
2.Every policy limits rows to their owner or their organisation
- How to check
- Read each policy. Look for a condition that compares a column on the row with the signed-in user, such as the user id or the organisation id.
- What good looks like
- No policy has a condition that is simply true. Each one names who may read, insert, update and delete.
3.A second account cannot see the first account’s records
- How to check
- Create two test accounts. Sign in as the second and try to open a record from the first by changing the id in the address bar or in the request.
- What good looks like
- The second account gets nothing back, or a refusal. It never sees the other record.
4.A signed-out visitor gets no user data from the API
- How to check
- Sign out, open the browser developer tools, and repeat a data request the app makes. Or ask the database API for a table using only the public key.
- What good looks like
- The reply is empty or refused for every table that is not meant to be public.
5.Roles and admin rights are decided on the server
- How to check
- Find where the app decides someone is an admin. Check whether a user could change that value from the browser, for example in their own profile row.
- What good looks like
- The role lives where the user cannot write to it, and every admin action is checked again on the server.
6.File storage is private unless a file is meant to be public
- How to check
- List the storage buckets and their access setting. Try to open an uploaded file from a signed-out browser.
- What good looks like
- Private files need a signed link that expires. Only assets such as logos sit in a public bucket.
Section 2 of 8
Where the keys live
A secret key in the browser or in the repository gives a stranger the same power as your server.
7.No secret key is shipped to the browser
- How to check
- Open the live site, view the page source and the loaded scripts, and search for the start of each secret key you hold, such as a service role key or a payment secret key.
- What good looks like
- Only keys designed to be public appear, such as a publishable key or an anon key that row-level security protects.
8.No secret sits in a variable that the framework exposes to the browser
- How to check
- List your environment variables. In Next.js anything starting NEXT_PUBLIC is sent to every visitor, and in Vite anything starting VITE is.
- What good looks like
- Variables with a public prefix hold only values you would be content to print on the home page.
9.No key was ever committed to the repository
- How to check
- Search the repository and its history for key patterns and for files such as a committed env file. A secret scanner does this in a minute.
- What good looks like
- Nothing is found. Any key that was ever committed has been rotated, because deleting the file does not remove it from history.
10.Development and production use different keys and different databases
- How to check
- Compare the keys and database addresses in your local setup with those in production.
- What good looks like
- They differ, so a mistake or an AI agent working in development cannot touch live customer data.
11.Each key can do only what its job needs
- How to check
- For every third-party key, check which permissions it was created with.
- What good looks like
- Keys are restricted to the actions and resources in use. No key has full account access for convenience.
Section 3 of 8
Sign-in and account recovery
Account takeover rarely breaks the password check. It goes through recovery, invitations and email changes.
12.A new account must confirm its email address before it can do anything that matters
- How to check
- Sign up with an address you do not control and see what the account can reach before confirming.
- What good looks like
- An unconfirmed account can do nothing of value, so nobody can sign up as someone else.
13.Password reset and magic links are single use and expire
- How to check
- Request a reset link, use it, then try the same link again. Leave another unused and try it the next day.
- What good looks like
- A used or old link is refused. The reply to a reset request is the same whether or not the address has an account.
14.Changing the email on an account needs proof of both addresses
- How to check
- Change the email on a test account and watch which addresses receive a message.
- What good looks like
- The new address must confirm, and the old one is told. A stolen session alone cannot move the account.
15.Invitations are tied to one address and one organisation
- How to check
- Send an invitation, then try to accept it while signed in as a different address, or try to change the organisation id in the link.
- What good looks like
- The invitation works only for the address it was sent to and only for the organisation that sent it.
16.Signing out and resetting a password end other sessions
- How to check
- Sign in on two browsers, reset the password in one, and use the other.
- What good looks like
- The other session stops working within minutes.
Section 4 of 8
Limits on use
Without limits, one script can guess passwords, flood a form or run up a model bill overnight.
17.Sign-in, sign-up and reset are rate limited
- How to check
- Submit the sign-in form with a wrong password twenty times in a row.
- What good looks like
- The app slows down or refuses well before the twentieth attempt.
18.Every AI feature has a limit per user and a spending cap
- How to check
- Check the provider dashboard for a monthly budget, and the app for a limit on requests per user.
- What good looks like
- A cap exists at the provider and a limit exists in the app. A signed-out visitor cannot call the model at all.
19.Public forms and endpoints cannot be flooded
- How to check
- Send the contact or sign-up form many times quickly, or call a public endpoint in a loop.
- What good looks like
- Requests are limited by address, and anything that sends email or costs money is limited hardest.
20.Uploads are limited by size and by type
- How to check
- Try to upload a very large file and a file of a type the app should not accept.
- What good looks like
- Both are refused on the server, whatever the browser allowed.
Section 5 of 8
What leaves for AI providers
If the app sends customer data to a model, you are responsible for where it goes and what the model can be talked into doing.
21.You can list exactly which data is sent to which provider
- How to check
- Read each place the app calls a model and write down what goes into the prompt.
- What good looks like
- The list is short, written down, and matches your privacy notice. Nothing personal is sent that the feature does not need.
22.You know what each provider keeps and whether it trains on it
- How to check
- Read the data usage terms for the exact product and plan you are on. API terms often differ from the consumer app.
- What good looks like
- Retention and training settings are known, set the way you want, and recorded.
23.Text from users or documents cannot steer the model into leaking data or taking actions
- How to check
- Paste an instruction into a field the model will read, such as a request to ignore its rules and reveal another user’s data.
- What good looks like
- The model has no access to data the current user could not already see, and any action it proposes is checked by code before it runs.
24.The model key is used only on the server
- How to check
- Search the browser scripts for the provider key and watch the network tab while using an AI feature.
- What good looks like
- The browser talks to your server, and only your server talks to the model provider.
Section 6 of 8
Payments and webhooks
Anything that grants access or moves money must trust the payment provider, never the browser.
25.Every webhook checks the sender’s signature
- How to check
- Find the webhook handler and look for the signature check. Then send it a request with no signature.
- What good looks like
- An unsigned or wrongly signed request is refused and changes nothing.
26.Prices and entitlements are set on the server
- How to check
- Look at the request that starts a checkout. Check whether the amount or the plan could be changed in the browser.
- What good looks like
- The browser sends what was chosen and the server decides the price. Paid access is granted only after the provider confirms payment.
27.A repeated webhook or a double click does not charge or grant twice
- How to check
- Replay a webhook from the provider dashboard and double-click the pay button.
- What good looks like
- The second event is recognised and ignored.
Section 7 of 8
Backups and access
A backup nobody has restored is a hope. Access that outlives the person who needed it is an open door.
28.A backup has been restored at least once
- How to check
- Restore the latest backup into a spare project and open the app against it.
- What good looks like
- The restore worked, you know how long it took, and you know how much recent data would be lost.
29.You can name everyone with access to the repository, hosting and database
- How to check
- Open the member list in each account and read it.
- What good looks like
- Every name is current, each has the least access the job needs, and two-step sign-in is on for all of them.
30.The accounts belong to the company
- How to check
- Check which email address owns the hosting, database, domain and payment accounts.
- What good looks like
- Each is owned by a company address with a recovery route, and none sits in a contractor’s or a builder tool’s personal account.
Section 8 of 8
Knowing when something goes wrong
Most small breaches are found late, by a customer. A few cheap signals change that.
31.Errors in production reach a person
- How to check
- Cause a harmless error on the live site and see whether anyone is told.
- What good looks like
- The error is recorded with enough detail to find it, and an alert reaches someone the same day.
32.Sensitive actions leave a record
- How to check
- Change a role, export data or delete a record on a test account, then look for a log of who did it and when.
- What good looks like
- The record exists and a normal user cannot edit or delete it.
Limits
What does this checklist not do?
This checklist finds the common gaps. It does not replace a review by an engineer, and passing it is not a certification or a penetration test. If a check fails and you are not sure how to fix it safely, that is the moment to ask for help.
A security review for AI-built apps goes further. An engineer reproduces each weakness, ranks it, writes the fix plan and retests once the fixes are in.
Download the PDF to print or shareQuestions
Questions about the checklist.
How long does the checklist take to run?
Most founders can work through all 32 checks in two to three hours with access to the hosting, database and repository accounts. The data access section takes longest and matters most, so start there if time is short.
Do I need to be technical to use it?
No. Each check says where to look and what a safe answer looks like. A few checks use the browser developer tools, and the checklist tells you what to open. If you built the app with an AI tool you can do every step.
Does passing the checklist mean my app is secure?
No. It means the most common gaps in AI-built apps are closed. It is not a certification or a penetration test. A security review goes further by reproducing each weakness, ranking it and retesting after the fix.
What should I do if a check fails?
Fix the data access and key failures before anything else, because they expose customer records. If you are unsure how to fix one without breaking the app, send us the result and we will tell you what we would check first.
Checks for your tool
About Rare Agentics
- What we do
- We are a UK software and AI agent engineering firm. We build bespoke software, custom AI agents and operating platforms, and run security reviews of apps built with AI coding tools.
- Who for
- Founders and growing businesses across the United Kingdom, in any sector, from a London base.
- How we price
- Scoping is free, every piece of paid work has a fixed price in writing before it starts, and a proof sprint starts from £3,000.
- How we control agents
- Senior engineers lead every build and AI agents do the heavy lifting. Agents cannot reach production, and a person signs off every release.
- Where code lives
- Your code lives in your repositories and your data in your cloud accounts from the first commit.
Send a brief
A check failed and you are not sure why?
Send us what you found. We will tell you what we would check first and whether a review is worth it. Within two working days you get a first view, and within a week a written plan, a fixed price and the risks.