Skip to contentTalk to us
Hosting & security

Security checklist for AI-built apps

A practical security checklist for AI-built apps: login, permissions, payments, data and files, hosting and backups, with a monthly routine and a ready prompt.

Fanann Team10 min read
WhatsApp
Quick answer

Before launching an AI-built app, check six areas: login (OTP codes that are rate-limited and expire), permissions (each user sees only their own data, each staff member only what they need), payments (through a licensed gateway with the amount calculated on the server), data and files (minimal, encrypted, restricted uploads), secret keys (server only) and hosting (HTTPS, backups, rollback, monitoring). Then repeat the review monthly and after every major feature.

People look for this as
  • security checklist for ai built apps
  • app security checklist before launch
  • how to protect my app from hackers
  • how to protect customer data in my app
  • vibe coding security checklist

How to use this security checklist

This is a security checklist for AI-built apps, written for an owner who does not read code. You are not expected to understand every technical detail, only to make sure each item is satisfied, either by a test you run yourself or by a question you put to the agent that it answers with evidence. If you first want to understand why flaws appear in generated code, start with is AI-generated code secure?.

We split the items into three levels so you do not delay launch for nice-to-haves, or launch while missing the basics:

LevelWhenExamples
CriticalBefore any launch, even to ten customersPermissions, secret keys, server-side pricing, HTTPS
ImportantWithin the first month after launchAdmin audit log, a backup restore test, role review
As you growWhen the team or data growsMandatory two-factor for staff, external security review, incident response plan

Accounts and sign-in

  • [Critical] OTP codes expire within a few minutes and work only once.
  • [Critical] Limits on code requests per number and per device, with a wait between requests, plus a cap on wrong-code attempts.
  • [Critical] Admin accounts use a strong password or phone sign-in, and there is no admin account with a default password.
  • [Important] Signing out really ends the session, and idle admin sessions expire after a sensible time.
  • [Important] An alert when an admin account signs in from a new device.
  • [As you grow] Mandatory two-factor login for staff, and SSO for business customers who ask for it.
  • [As you grow] For apps that need identity checks: Nafath in Saudi Arabia or UAE PASS in the UAE instead of uploading ID photos.

OTP abuse is a money problem before it is a security problem, because every message costs something. The full story is in stop fake sign-ups, OTP abuse and order fraud.

Permissions and data access

This is the most important area, because the most common flaw in quickly built apps is one user seeing another's data. The rule: the least access that gets the job done.

  • [Critical] Every data request checks on the server that the user owns the data, not just in the interface. Test with two accounts and by changing numbers in URLs.
  • [Critical] Admin pages do not open for visitors or customers, even if they know the link.
  • [Critical] The role (owner, manager, staff, customer) is set on the server and cannot be changed from the interface.
  • [Important] Each role is written down: what it sees, edits and deletes. A driver sees the address of their assigned order only, not every customer.
  • [Important] An audit log for sensitive actions: who deleted an order, changed a price or exported the customer list.
  • [Important] Full data exports, such as customer lists, are limited to the owner.
  • [As you grow] Regular account reviews: disable departing staff accounts the same day.

Payments and money

  • [Critical] Payments go through a licensed gateway (mada, Apple Pay, Visa, Mastercard, Tabby, Tamara and others), and your app never stores card numbers.
  • [Critical] The final amount is calculated on the server from stored prices, and discounts are validated on the server; no price from the browser is accepted.
  • [Critical] An order is marked paid only after the gateway confirms to your server directly, not because the browser returned to a success page.
  • [Important] 3D Secure is enabled according to your gateway settings.
  • [Important] Only the owner or a defined finance role can issue refunds, and each refund is logged.
  • [Important] E-invoices carry the correct VAT and a QR code where required.

To go deeper, read payment security basics: 3D Secure and PCI.

Data, files and secret keys

  • [Critical] Secret keys (payment gateway, messaging, AI) live in server settings, never in frontend code or the mobile app. See API keys and secrets.
  • [Critical] Uploads accept only allowed formats (images, PDF) up to a size limit, and private files such as IDs and reports never open via a public link.
  • [Critical] Error messages to users are general and clear; technical details go to logs only.
  • [Important] Collect as little as possible: do not ask for date of birth or ID number unless you truly need it.
  • [Important] Data is encrypted in transit (HTTPS) and at rest where the platform supports it.
  • [Important] A clear privacy policy in Arabic and English, and a way to request account deletion.
  • [As you grow] Defined retention periods: when old orders, logs and deleted-account data are removed.

Hosting, deployment and recovery

  • [Critical] Every page runs over HTTPS and any http link redirects automatically.
  • [Critical] Your domain registrar and email accounts use two-factor login; whoever controls the domain controls your app.
  • [Important] Changes are tried in staging before production. Read staging vs production.
  • [Important] Daily backups, at least one successful restore test, and you know how to roll back a bad deploy in minutes.
  • [Important] Uptime monitoring that alerts you if the app goes down.
  • [As you grow] In-country hosting if your sector or customers require it, and a written response plan for a data leak.

Run the checklist with the agent, step by step

  1. 1
    Ask for a report, not changes

    Start with the review prompt below and ask for a table of findings before anything changes.

  2. 2
    Fix the critical items first

    Request each critical fix separately and test it yourself before moving on.

  3. 3
    Re-run the two-account test

    After fixes, repeat the two-account, change-the-number and visitor tests.

  4. 4
    Deploy and watch

    Ship the fixes and watch logs and alerts for the first few days.

  5. 5
    Schedule the rest

    Put the important and as-you-grow items in your calendar, not your memory.

Checklist review prompt

Run a full security review of the app across six areas: sign-in and OTP, permissions and roles, payments, data, files and secret keys, hosting and backups, and logs. For each area show a table: item, status (met / not met / unclear), evidence (where in the code or settings), and proposed fix, sorted by severity. Focus especially on any page or data request that does not verify user ownership on the server, any price accepted from the browser, and any secret key outside the server. Do not change anything before I approve, then fix the critical items one at a time.

Try it in Fanann

A security routine after launch

How oftenWhat to do
After every major featureTwo-account test, visitor test and a permissions review of new pages
WeeklyCheck monitoring alerts, OTP messaging costs and unusual refund requests
MonthlyReview staff accounts and roles, update packages and run the security review prompt
QuarterlyTest a backup restore, review the privacy policy and rotate important secret keys
Before peak seasonsBefore Ramadan and White Friday: load-test checkout, review OTP limits and freeze major changes
Security is not a wall you build once; it is a door you check is locked every night.

Key takeaways

  • Start with the critical items before launch: permissions, secret keys, server-side pricing and OTP limits.
  • Least privilege: every staff member and user sees only what they need.
  • Never store card data in your app; let the payment gateway handle it.
  • A backup you have never restored is not a backup yet.
  • Security is a routine, not a one-off task: review monthly and after every major feature.

Frequently asked questions

How do I protect my app from hackers?
Start with the critical items: verify on the server that each user sees only their own data, keep secret keys on the server, calculate prices on the server, rate-limit OTP codes, enforce HTTPS and protect your domain and email accounts with two-factor login. Then review monthly.
What are the most important security checks before launching an app?
Four items you should not launch without: permissions tested with two accounts, no secret keys in the frontend, prices calculated on the server, and orders marked paid only after the gateway confirms to your server.
Do I need a cybersecurity company for a small app?
For a small store or booking system, this checklist plus an agent review covers the basics. If you handle health, financial or government data, or sell to large companies that ask for security reports, an external review is worth it.
How often should I run a security review on my app?
A quick test after every major feature, a full monthly review, a backup restore test every quarter and a special review before peak seasons such as Ramadan and White Friday.
How do I protect customer data in my app?
Collect as little as possible, define who sees what with clear roles, keep private files off public links, use HTTPS and publish a clear privacy policy. Check requirements with SDAIA or the UAE Data Office; this is general information, not legal advice.

Ask your AI assistant about this

Copy this prompt into the AI assistant you use, then add the details of your own case.

I am reading this guide: “Security checklist for AI-built apps” https://fanann.com/en/blog/security-checklist-ai-apps/ My question: security checklist for ai built apps Use that page as a source and explain the answer step by step for my situation, tell me what to check before I start, and cite the page link.

Terms in this article

Your idea deserves to see the light.

Describe it in Arabic or English and Fanann builds, tests and ships it — no coding knowledge needed. Start free, no credit card.