Skip to main content
All insights

The vibe-coded app security and launch checklist

Written by DevoraXReviewed by Sameem Amjad, Founder & Lead Architect EngineerLast updated Based on public sources and platform documentation (checklist)

A vibe coding security checklist tests your app the way a stranger would. Before launch, four answers should be no. Can a signed-out visitor read private rows? Is a secret key in your app's JavaScript? Can anyone unlock paid features without a verified payment? Is any account the app runs on held outside your company? Each of the 50 checks below comes with a test you can run yourself, ending with what Apple and Google check before a mobile app goes live. Run them alongside Lovable's own scans. As of November 2026, the Quick scan runs at every publish and the Deep scan when someone starts it (or on an Enterprise schedule), and Lovable's docs say neither replaces "a thorough security review". The tests assume Lovable with Supabase or its built-in backend; Base44, Bolt, Replit and Cursor apps need the same checks in other settings.

The checklist: 50 checks

Data access

  1. 1.Run Lovable's Quick and Deep scans, or Supabase's Security Advisor, and resolve or justify every finding, including ignored ones. #

    Why it matters: As of November 2026, Lovable's Quick scan runs at every publish, but the Deep scan, which reads your application code, runs when someone starts it (or on a schedule, on Enterprise plans). A finding someone chose to ignore drops out of the count but stays listed with the reason they picked.

    How to test it: In Lovable's Security view, both scan cards should read Up to date, the open findings count should be zero, and every entry under Ignored findings should carry a reason you would defend to an investor. On your own Supabase project, open the Security Advisor in the dashboard (or run supabase db advisors) and expect no errors.

  2. 2.Turn on row-level security (RLS) for every table in your public schema. #

    Why it matters: Your Supabase address and public key are in the JavaScript every visitor downloads, so anyone can query your tables directly. Supabase's RLS guide (updated 3 November 2026) says a table in an exposed schema without RLS "is readable and writable by any role with a grant on it".

    How to test it: Open the SQL editor (in the Supabase dashboard, or More → Database → Manage → SQL editor on Lovable's built-in backend) and run: select tablename from pg_tables where schemaname = 'public' and not rowsecurity; The result should be empty. On Lovable's built-in backend, More → Database → Manage → Policies also lists each table's policies. Fix steps: RLS disabled in public.

  3. 3.Confirm a signed-out stranger can read only the rows you meant to publish. #

    Why it matters: RLS can be on and still let everyone in: Supabase's docs warn that a policy for signed-out visitors written as using ( true ) gives every one of them read access to the rows it covers.

    How to test it: On your live app, open DevTools → Network and find a request to your-project.supabase.co/rest/v1/. Note the project address and the apikey header, which is your public key. In a terminal, run for each table: curl "https://YOUR-PROJECT.supabase.co/rest/v1/TABLE?select=*&limit=5" -H "apikey: YOUR_PUBLIC_KEY". Private tables should return [] or a permission error; only content you meant to publish should come back. No such request in the Network tab? Your app reads data through server code, so use the server functions check instead.

  4. 4.Read every policy and replace any that lets everyone through on private data. #

    Why it matters: A policy whose condition is simply true lets every user it applies to through, which switches RLS off for that table in practice. Lovable's Quick scan looks for "access rules that let everyone through".

    How to test it: Run: select tablename, policyname, cmd, roles, qual, with_check from pg_policies where schemaname = 'public'; Any row on a private table whose qual or with_check is just true needs a real condition, such as auth.uid() = user_id. Supabase's Security Advisor also flags permissive policies and tables that have RLS on but no policy.

  5. 5.Check that one signed-in user cannot read or change another user's records. #

    Why it matters: A rule that only checks that someone is signed in lets every customer see every other customer's data. Lovable's Deep scan describes this area as users "who can view or change data that is not theirs".

    How to test it: Signed in as test user A, open DevTools → Network, find the request that loads A's records, right-click it and choose Copy → Copy as fetch. Paste it into the Console, swap A's id for B's (or delete the filter), and run it: the response should be empty. Repeat with a request that edits or deletes a record: B's data must not change.

  6. 6.Make sure users can't give themselves a role, a plan or credits by editing their own record. #

    Why it matters: A policy that lets users update their own row lets them change every column in it unless some are protected. Supabase's docs add that user_metadata "can be modified by authenticated end users", so it must never decide permissions.

    How to test it: Edit your own profile in the app as a normal user and copy that request as fetch. In the Console, change the body to set role to admin, plan to your top tier or credits to 9999, and send it. Reload: nothing should have changed. Then search your policies and code for user_metadata: any permission check that reads it has to move to a table users can't write.

  7. 7.Check database views and SQL functions, which can skip RLS. #

    Why it matters: Supabase's RLS guide says views "bypass RLS by default", so a view over a protected table can hand out every row, and a security definer function in an exposed schema runs with its creator's privileges.

    How to test it: Run: select table_name from information_schema.views where table_schema = 'public'; and query each view with the signed-out curl test above. On your own Supabase project, the Security Advisor flags security definer views, and security definer functions that signed-out or signed-in users can execute.

  8. 8.Keep private files in private storage buckets, and stop public buckets from listing their contents. #

    Why it matters: A public bucket serves any file to anyone who has its address, and Supabase's Security Advisor has a separate check for public buckets that allow listing. Lovable's Quick scan reviews file storage rules as part of its database review.

    How to test it: List your buckets and check each one's public setting against what it holds: avatars can be public; invoices, ID documents and private uploads should not be. Copy the address of a private file and open it in a private window: it should fail. If you use signed links, wait until one expires and try it again.

  9. 9.Make every edge function, server function and API route check who is calling before it reads or changes data. #

    Why it matters: Server code often runs with the service role, which bypasses RLS, so the function itself has to check the caller. Lovable's security best practices page puts it plainly: "A function running on the server is still callable by a client".

    How to test it: List your functions (More → Edge functions on Lovable's built-in backend, or supabase/functions in the repository). Call each one as a stranger, with only your public key: curl -i -X POST "https://YOUR-PROJECT.supabase.co/functions/v1/NAME" -H "apikey: YOUR_PUBLIC_KEY" -H "Content-Type: application/json" -d '{}'. If your public key is a legacy one (a long key starting eyJ), also add -H "Authorization: Bearer YOUR_PUBLIC_KEY"; Supabase's API key docs say keys starting sb_publishable_ go on the apikey header only. Anything that acts for a user should answer 401 or 403. Then call it signed in as A with B's ids in the body: it should refuse. For server routes in a TanStack Start app, paste a copied request into the Console of a private window.

  10. 10.Protect admin pages and admin actions on the server, not by hiding the menu. #

    Why it matters: Hiding a link changes what the page shows, not what the data calls answer. Lovable's Deep scan checks that "privileged actions check the caller's role rather than only that they signed in".

    How to test it: Signed in as a normal user, type your admin address (for example /admin) into the browser. Then copy a request from your own admin session as fetch and run it in the normal user's Console. Both should fail with no data in the response, whatever the page shows.

Secrets

  1. 11.Keep secret keys out of everything the browser downloads. #

    Why it matters: Front-end values are public: Vite's docs say VITE_ variables "are bundled into your source code at build time", and Lovable's docs treat them as public too, fit only for values such as the Supabase URL and publishable key. A secret Stripe key or a Supabase service role key there gives away your money or your whole database.

    How to test it: On the live site, open DevTools → Sources and press Ctrl+Shift+F (Cmd+Option+F on a Mac) to search every loaded file for sk_live_, sk_test_, rk_live_, sb_secret_, whsec_ and the first characters of each other secret key you use. Expect no matches. If you find a long key starting eyJ, decode it in the Console: JSON.parse(atob('PASTE_KEY'.split('.')[1].replace(/-/g,'+').replace(/_/g,'/'))).role prints anon for the public key; service_role means your secret key is exposed.

  2. 12.Call paid services (AI models, email, SMS) from server code, never straight from the browser. #

    Why it matters: A key the browser uses is a key anyone can copy and spend. Lovable's docs say values in its Secrets manager are "injected into your Edge Functions automatically, and never reach the browser".

    How to test it: Use each AI, email or SMS feature with DevTools → Network open. The requests should go to your own backend (your-project.supabase.co/functions/v1/ or your own /api routes), never directly to the provider's API with your key in a header.

  3. 13.Check your Git history and old messages for keys, and replace any key that ever left your control. #

    Why it matters: Deleting a key from today's code leaves it in earlier commits, and Supabase's docs say a secret key must never travel "over chat, email, or SMS", so a key that did is no longer secret.

    How to test it: In a fresh clone, run: git log -p --all | grep -nE "sk_live_|rk_live_|sb_secret_|whsec_" and repeat with the first characters of your other secret keys. Expect no output. Replace every key found there, ever pasted into a chat, an email or a past developer's hands, or kept in a Lovable project that was ever public: Lovable's post of 22 April 2026 says public projects' code and chat history were historically open by design, and readable by any Lovable user with the project link from 3 February to 20 April 2026. Create the new key at the provider, update it in Lovable's Secrets (More → Settings → Secrets) or at your host, and check that a request with the old key fails. In Stripe, set the old key's expiration to Now when you rotate it; otherwise both keys work for up to 7 days.

Sign-in

  1. 14.Make every sign-up email, password reset and social sign-in land on your real domain. #

    Why it matters: Supabase's docs say the Site URL "is critical for email confirmations and password resets", and Lovable's docs say that when sign-in works in preview but fails on the published app, missing redirect URLs are "usually the reason". On Lovable's built-in backend, publishing sets the Site URL to your lovable.app address and adds a custom domain to the redirect list.

    How to test it: On your production domain, on a phone as well as a laptop: sign up with a new address and confirm it from the email, sign out, reset the password, and sign in with each social provider. Every link should land on your own domain, signed in, never on localhost or a preview address. Then check Site URL and Redirect URLs in your auth settings (More → Users → Settings → Advanced on Lovable's built-in backend).

  2. 15.Require email confirmation, a minimum password length of 8 or more, and leaked-password protection. #

    Why it matters: Lovable's docs note that without confirmation "anyone can sign up with an address they don't own", and call the leaked-password check "the highest-value setting". As of November 2026, Supabase makes leaked password protection available on the Pro Plan and above for your own projects.

    How to test it: Sign up with an address you control and try to sign in before clicking the confirmation link: it should be refused. Then try to sign up with the password password123: it should be rejected. On Lovable's built-in backend the settings are under More → Users → Settings → Email (Auto-confirm email off, Password HIBP check on); on your own project, in Supabase Auth's settings.

  3. 16.Send sign-in emails through a real email provider before launch, and set the hourly limit for launch day. #

    Why it matters: Supabase's built-in sender is "not meant for production use": unless you set up custom SMTP it delivers only to your team's addresses, and on 7 November 2026 its limit was 2 messages per hour. Lovable's built-in backend also caps auth emails per hour, and raising that cap means setting up email sending first.

    How to test it: Sign up five new accounts within an hour, using addresses outside your team. All five confirmation emails should arrive, from your own domain, and not in spam. Compare the hourly limit (Authentication → Rate Limits in Supabase, or Advanced in Lovable's email settings) with the sign-ups you expect on launch day. As of November 2026, Supabase starts the limit at 30 emails an hour once custom SMTP is set up, and you raise it on the Rate Limits page. If you see "email rate limit exceeded", follow the fix for Supabase's email rate limit.

  4. 17.Make protected pages refuse signed-out visitors before any private data loads. #

    Why it matters: A page that redirects to sign-in after loading may already have fetched the data. Lovable's best practices say to "use frontend auth state only to control UI, never to enforce access".

    How to test it: Copy the address of a page that shows private data (a dashboard, an invoice, a profile) and open it in a private window. You should land on sign-in, and DevTools → Network should show no response containing that data, not even for a moment.

Payments

  1. 18.Before launch, make one real purchase in live mode with your own card, then refund it. #

    Why it matters: Test mode proves the code, not the live setup: live keys, products and webhook endpoints are separate, and Stripe's docs say an endpoint's signing secret differs between test and live. On Lovable's built-in payments, checkout on the published app takes real cards only after the go-live steps.

    How to test it: On the published app, buy the cheapest plan with a real card. In the Stripe Dashboard (live mode, not the sandbox), check the payment, check the webhook delivery got a 2xx response, and check your account received the paid feature. Then refund it and confirm the app does what your terms say.

  2. 19.Verify Stripe's signature on every webhook before acting on it. #

    Why it matters: Stripe's docs say that without verification "an attacker could send fake webhook events to your endpoint to trigger actions like fulfilling orders, granting account access, or modifying records".

    How to test it: Send your webhook address (listed under your webhook endpoints in Stripe) a fake event: curl -i -X POST "YOUR_WEBHOOK_URL" -H "Content-Type: application/json" -d '{"type":"checkout.session.completed"}'. It should answer 400 or 401, and nothing in your database should change. If real events fail the signature check instead, see No signatures found matching the expected signature.

  3. 20.Handle the same event arriving twice, or out of order, without granting or charging twice. #

    Why it matters: Stripe's webhook docs say endpoints "might occasionally receive the same event more than once", and that events can arrive in a different order from the one in which they were created.

    How to test it: In the Stripe Dashboard, open a delivered checkout or invoice event and click Resend (or, with the Stripe CLI, run stripe events resend EVENT_ID --webhook-endpoint=ENDPOINT_ID). The app should not create a second order, add credits twice or send a second receipt.

  4. 21.Unlock paid features from the webhook or a server-side check with Stripe, never from the success page. #

    Why it matters: Anyone can open a success page by its address, and a feature granted only there goes missing whenever a buyer closes the tab before it loads.

    How to test it: Complete a test checkout with Stripe's test card 4242 4242 4242 4242 and confirm your user's plan changes in the database. Then, as a different unpaid test user, open your success page address directly with any session id: nothing should unlock. If paying users don't get access, see Stripe payment succeeded but no access.

  5. 22.Decide prices, and what each purchase unlocks, on the server, never from values the browser sends. #

    Why it matters: If the browser sends the amount or the plan, a buyer can edit it. Lovable's Deep scan has an area for "prices, fulfillment, or paid features that a customer can change or reach without paying".

    How to test it: Start a checkout with DevTools → Network open and find the request that creates it. Copy it as fetch, change the amount, quantity or price id to a cheaper one, and send it. The checkout that opens should still show the real price, and paying should unlock only what was paid for.

  6. 23.Test renewals, failed payments, cancellations and refunds, not only the first payment. #

    Why it matters: Stripe sends invoice.payment_failed when a renewal payment fails and customer.subscription.deleted when a subscription ends; an app that ignores them keeps giving paid access.

    How to test it: In your Stripe sandbox, open a test user's subscription and use Run simulation to move past the renewal date: the plan should stay active. Change that customer's card to 4000 0000 0000 0341, which Stripe's docs say attaches but fails when charged, and move past the next renewal: the app should react. Cancel another test subscription and refund a test payment: access should end when your terms say, and the user should see why.

Input and abuse

  1. 24.Make sure text users type is always shown as text and never runs as code. #

    Why it matters: Input that runs in another user's browser can act with that user's session. Lovable's Deep scan looks for "untrusted input that reaches a query, a command, a file path, a browser, an email, an AI prompt, or an exported spreadsheet".

    How to test it: Using test accounts (on a staging copy if real users could see the field), save <img src=x onerror=alert(document.domain)> in every field another user or an admin will see: name, bio, comment, message, listing title. View it from another account and from the admin view. No pop-up should appear, and the text should show exactly as typed. Do the same for fields that end up in emails or CSV exports, then delete the test content.

  2. 25.Limit how often anyone can sign up, request codes, send messages or call your AI features. #

    Why it matters: Endpoints that send email or SMS, or call a paid AI model, cost money per request. Lovable's Deep scan covers "functions and routes that anyone can trigger, upload to, or use to send messages without permission".

    How to test it: Pick one such request in DevTools → Network and copy it as fetch, with your own email address or phone number in it. In the Console, type for (let i = 0; i < 30; i++) await followed by the pasted fetch call, press Enter and watch the Status column in the Network tab. After a handful of calls you should see 429 Too Many Requests or a refusal, not 30 successes. Check the sign-up and email limits under Authentication → Rate Limits in Supabase too.

  3. 26.Cap what your AI features can spend, per user in the app and in total at the provider. #

    Why it matters: A free account that can call a paid model without limit is a direct line to your bill.

    How to test it: As a free user, keep using the AI feature until a limit message appears; if it never does, there is no per-user cap. Then open your AI provider's billing settings and set a monthly budget or alert. For AI built into a Lovable app, watch its spend under More → Usage.

  4. 27.Enforce file type and size limits for uploads on the server or the storage bucket, not just in the form. #

    Why it matters: A check that runs only in the browser can be skipped, so anyone could store files of any type or size in your storage. Supabase's docs say a bucket can be created with rules that restrict the type and size of files it accepts.

    How to test it: Through your app, try a file well above your size limit and a type you don't accept (for example an .html file renamed to .jpg). Then confirm the limit also exists outside the form: in each bucket's allowed file types and size limit, or in the server function that receives the upload.

Hosting and recovery

  1. 28.Know where your backups are, and restore one into a copy before launch. #

    Why it matters: As of November 2026, Lovable's built-in backend keeps one backup a day for about 14 days, and Supabase backs up Pro, Team and Enterprise projects daily and recommends that free-plan projects export their own. Neither kind includes storage files, and a backup you have never restored is a guess.

    How to test it: On Lovable's built-in backend, More → Database → Manage → Backups should list daily backups. Export the database (More → Database → Manage → Settings → Export data), download it from More → Storage, have a developer load it into a scratch database with pg_restore, and compare row counts in your main tables. On your own Supabase project, check Database → Backups, or on the Free plan run supabase db dump and restore the file into a scratch project.

  2. 29.Run the app on a domain you own, over HTTPS, with every other address redirecting to it. #

    Why it matters: Lovable's terms (last updated 28 August 2026) say it "retains all ownership rights in the lovable.app domain and all subdomains" and may reclaim a subdomain, so your users, sign-in links and store listings should point at an address you control.

    How to test it: Run curl -sI http://yourdomain.com and curl -sI https://www.yourdomain.com. Each should answer 301 or 308, with a Location header pointing at the one https address you chose. Open that address in a browser: there should be no certificate warning.

  3. 31.Send the basic security headers as real HTTP headers. #

    Why it matters: They tell browsers to stay on HTTPS, not to guess file types and not to let other sites frame your app. MDN notes that X-Frame-Options set in a meta tag "has no effect".

    How to test it: Run curl -sI https://yourdomain.com and look for strict-transport-security, x-content-type-options: nosniff, and either content-security-policy with frame-ancestors or x-frame-options. For a Lovable-hosted app, the optional Trust center (Project settings → Publishing, off by default since 17 August 2026) lists which of these Lovable observed on the live version.

  4. 32.Keep stack traces, SQL and internal details out of error responses. #

    Why it matters: Error text that names tables, columns or file paths tells an attacker where to aim. Lovable's Deep scan has an area for "error messages and logs that reveal internal details or personal data".

    How to test it: With DevTools → Network open, cause errors on purpose: submit a form with a field missing, open a record id that doesn't exist, upload a file type you don't accept. Read each failed response: a short message is fine; SQL, stack traces, table names or keys are not.

  5. 33.Fix critical and high dependency vulnerabilities, and remove packages the app doesn't use. #

    Why it matters: As of November 2026, Lovable's docs say only critical-rated dependency vulnerabilities become findings; high and medium ones appear only in the Security view's dependency list, so they never reach the findings count. Nobody may have checked the packages the AI chose either.

    How to test it: In the repository, run npm audit --omit=dev and expect no critical or high results, or a written reason for each one you keep. Then read package.json: for any name you don't recognise, check its npm page links to a real repository with recent releases, and remove it if the app doesn't import it.

  6. 34.Make sure a person hears about errors in the live app before customers report them. #

    Why it matters: Without logs and an alert, a failing webhook or a broken sign-in can run for days unnoticed. Lovable's built-in backend keeps backend logs under More → Logs.

    How to test it: Cause a harmless error on purpose and find it in your logs (More → Logs on Lovable's built-in backend, or Logs in the Supabase dashboard). Then check it reaches a person without anyone looking: an error-tracking alert by email or chat, and an uptime monitor on your domain.

Ownership

  1. 35.Keep the code in a GitHub repository your company owns, and check it builds from a fresh clone. #

    Why it matters: Lovable creates and updates repositories in whichever GitHub account or organisation you connect, so a repository under a freelancer's or co-founder's personal account is under their control. Investors ask who owns the code.

    How to test it: On GitHub, open the repository's Settings: your company's account or organisation should own it, with you as an admin, and its latest commit should match what is live. Clone it into an empty folder, install the packages and build it (npm install, then npm run build): it should succeed without files that exist only on someone's laptop.

  2. 36.List the licences of the packages your app ships, and give a reason for any copyleft one you keep. #

    Why it matters: A copyleft licence such as the GPL or AGPL comes with conditions on sharing source code, and Variant Systems' due diligence guide (12 February 2026) asks whether anyone has scanned an AI-built codebase for copyleft licences.

    How to test it: In the repository, after npm install, run npx license-checker --production --summary, which counts your production dependencies by licence. Then run it without --summary to find the package behind any GPL, LGPL or AGPL entry. Each one needs a written reason: why the app needs it and whether an alternative exists.

  3. 37.Hold every account the app runs on in your company's name: domain, Lovable workspace, Supabase, Stripe, email sender, and the Apple and Google developer accounts. #

    Why it matters: Whoever owns an account can change or close it. Lovable's built-in payments create a Stripe account for the project that you take over by claiming it when you go live.

    How to test it: Make a table with one row per service: account owner, your role, and whether two-factor sign-in is on. In each dashboard's team or users page, your company should hold the owner role (in App Store Connect, the Account Holder). If Lovable set up Stripe for you, finish the Claim your Stripe account step in its Payments tab.

  4. 38.Turn on two-factor sign-in for every account that can change the app, and remove people who have left. #

    Why it matters: One stolen password on GitHub, Lovable, Supabase, Stripe or your domain registrar is enough to change the live app or move the money.

    How to test it: Using the table above, turn on two-factor sign-in for every row, and remove anyone who no longer works on the app from each members list. Then replace the keys they could see: Stripe's docs recommend rotating keys when team members with access to them leave.

  5. 39.Decide what Lovable's agent may change in your live database without asking you. #

    Why it matters: As of November 2026, Lovable's docs list Modify database (schema and policy changes) and Change data as Always allow by default on the built-in backend, so a prompt can change tables, policies and rows with no review step.

    How to test it: Open Account settings → Preferences → Agent permissions and set Modify database and Change data to Ask each time once real users have signed up. Lovable saves these settings per account (changelog, 21 September 2026), so everyone with edit access to the project sets them in their own account. Then have each of them request a small schema change in the chat: Lovable should stop and ask before applying it.

  6. 40.Know how you would move the app off the platform: database, storage files, code, secrets and sign-in settings. #

    Why it matters: Lovable's docs say it "does not transfer a project to another backend in one step", and its database export leaves out storage files, edge function code, secrets, sign-in provider settings and API keys.

    How to test it: Do a dry run: export the database, download your storage files from More → Storage, and confirm the GitHub repository holds the edge function code. List where each secret and sign-in setting lives so a developer could recreate them, and keep the export somewhere other than the project's own storage.

Store review

  1. 41.Give the iOS app something a website can't do, and make sure a reviewer finds it in the first minute. #

    Why it matters: Apple's guideline 4.2 says: "Your app should include features, content, and UI that elevate it beyond a repackaged website." A wrapper that only shows your site gives the reviewer nothing more.

    How to test it: Install the TestFlight build and write down what it does that Safari on the same address doesn't: push notifications, offline use, camera or file access, Sign in with Apple, widgets. If the list is empty, plan native features before you submit. More: guideline 4.2 minimum functionality.

  2. 42.Submit under your own or your company's Apple developer account, not under the account of a template provider or app-building service. #

    Why it matters: Guideline 4.2.6 says apps created from "a commercialized template or app generation service will be rejected unless they are submitted directly by the provider of the app's content". Enrolling as a company needs a D-U-N-S Number, and as of November 2026 Apple says to allow up to 5 business days to get it from D&B, then up to 2 for Apple.

    How to test it: In App Store Connect, the seller name on the app should be you or your company, and your role should be Account Holder or Admin. Enrolling as a company? Look up or request the D-U-N-S Number on day one. More: submitting a Lovable app under your own account.

  3. 44.Make every in-app purchase complete, visible to the reviewer and working, with a way to restore it. #

    Why it matters: Guideline 2.1(b) asks for in-app purchases that are "complete, up-to-date, visible to the reviewer and functional", and 3.1.1 asks for "a restore mechanism for any restorable in-app purchases".

    How to test it: On the review build, buy each product with a sandbox tester account, delete and reinstall the app, and tap Restore Purchases: the purchase should come back. Check that your server records each purchase against the right user, so access follows them to the web too if you promise that. More: in-app purchase in a wrapped Lovable app.

  4. 45.Give App Review a working demo account, and keep the backend running during review. #

    Why it matters: Guideline 2.1(a) asks for demo account details, with your back-end service turned on, whenever an app has a login, and says Apple rejects builds that crash or show obvious technical problems.

    How to test it: On a fresh install, over mobile data, sign in with the demo details you will enter in App Store Connect and reach every paid or gated screen. Make sure the account won't expire, run out of trial or ask for an emailed code while the review is open. More: what App Review checks in a Lovable app.

  5. 46.Let users delete their account and its data from inside the app, and give Google Play a web page for deletion requests. #

    Why it matters: Apple's 5.1.1(v): "If your app supports account creation, you must also offer account deletion within the app." Apple's help page says offering only deactivation "is insufficient", and Google Play asks for an in-app path plus "a web link resource" for deletion requests.

    How to test it: In the store build, create an account, add some data and delete the account from settings. In the database, the user and their rows should be gone, or kept only where the law requires it and the app said so. Open the web deletion link without the app: it should accept a request. If you offer Sign in with Apple, Apple's account deletion page says to revoke the user's tokens through its REST API. More: Apple's rules for wrapped apps.

  6. 47.Make the privacy policy, Apple's App Privacy answers and Google's Data safety form match what the app and its services collect. #

    Why it matters: Apple's App Privacy page asks you to cover the data practices of third-party code you add to the app, and guideline 5.1.1(i) asks for a privacy policy link in App Store Connect and inside the app. Google Play says problems in the Data safety form's deletion answers get new submissions and updates rejected.

    How to test it: List every service the app sends data to (Supabase or Lovable's backend, Stripe, analytics, error tracking, push, the AI provider) and what each receives. Compare that list with your privacy policy, the App Privacy answers in App Store Connect and the Data safety form in Play Console. Then open the privacy policy from inside the app. More: App Privacy and the other review rules.

  7. 48.On a personal Google Play account created after 13 November 2023, run a closed test with at least 12 testers for 14 days in a row before applying for production. #

    Why it matters: As of November 2026, Play Console Help says these accounts "must run a closed test for their app with a minimum of 12 testers who have been opted in continuously for at least 14 days", and production stays disabled until they do.

    How to test it: In Play Console, open your closed testing track and check how many testers are opted in and when the twelfth joined. Plan the Android launch at least 14 days after that, plus Google's review of your production-access application, which Play Console Help says "usually takes seven days or less, but can occasionally take longer". Google can ask for more testing if fewer than 12 testers stayed opted in or tester engagement was too low, and a tester who opts out and back in starts their 14 days again. More: 12 testers for 14 days.

  8. 49.If the iOS app offers Google or another social sign-in, also offer an option that meets guideline 4.8, such as Sign in with Apple. #

    Why it matters: Guideline 4.8 asks apps that use a third-party login for the main account to also offer a login service that limits data to name and email, lets users keep their email private and doesn't collect app interactions for advertising without consent. Apps that use only their own sign-in are exempt.

    How to test it: Open the sign-in screen of the iOS build. If it shows Google, Facebook or another social button, check that Sign in with Apple (or another service that meets 4.8) is there too and works end to end on a device, including the return to the app; Lovable's redirect URLs accept custom schemes such as myapp://callback for this. More: guideline 4.8 and the other review rules.

  9. 50.Build the Android app for Google Play's current target API level. #

    Why it matters: Since 31 August 2026, Google Play has required new apps and app updates to target Android 16 (API level 36) or higher.

    How to test it: Check targetSdkVersion in the Android project before you build the release bundle: it should be 36 or higher. In a Capacitor wrapper it sits in android/variables.gradle, and Capacitor's docs pair target SDK 36 with Capacitor 8, so an older Capacitor version means upgrading first.

How do I run a vibe coding security check on my app?

Work through the checks above in order, testing the app the way a stranger would. Your app's database address and public key ship in the JavaScript every visitor downloads: Lovable's secrets docs say its VITE_ values are "embedded into the client bundle at build time". Supabase's API key docs say publishable keys aren't meant to protect against anyone using "the Network inspector in the browser". So the question is never whether someone can reach your database, only what it answers, and most checks end with a request sent without your session, or with another user's.

Start with Data access and Secrets, because one open table or one secret key in the browser exposes every user at once. Then do Sign-in, Payments and Input and abuse, then Hosting and recovery and Ownership. For a mobile app, finish with Store review. Write down each result with the date, because a test describes only the version you ran it on.

If you would rather hand it over, our vibe code audit reviews your code, database security, payments, hosting and store readiness. It costs $400, credited to the paid step that follows if you go ahead, and you keep the written report whatever you decide. It is an engineering review, not a security certification. Its page lists the start date, the report turnaround and the payment terms.

What does Lovable's security scan check, and what can you check yourself?

As of November 2026, Lovable runs two built-in scans, described in its security overview, and running either is free. The Quick scan runs every time you publish and checks your database rules, your npm dependencies and any MCP server your app exposes.

The Deep scan includes all of that and also reads your application code. It runs when someone starts it: from the Security view, from the workspace Security center (admins and owners on Business and Enterprise plans) or, since 29 October 2026, from the project chat. Enterprise plans can also schedule it, and publishing an app whose MCP integration allows access without sign-in starts one in the background. Asking in the chat for a security review runs both scans and explains the findings; the scans are free, but the conversation uses credits.

Lovable's docs are plain about the limits: the scans "do not replace a thorough security review". Both are static analysis, which reads code and settings. Testing the running app with real attack payloads comes through the optional Aikido connector, billed by Aikido.

The table maps each area Lovable lists to the checks on this page. Its last row lists what this page tests that Lovable's security docs don't mention, which says nothing either way about whether the scans catch it. The Tested by DevoraX column reads pending on every row: we have not yet run the scans against known faults ourselves, so the table reports what Lovable's documentation says, not what we observed.

What Lovable's built-in scans cover, as listed in its security overview on 7 November 2026, and where this page tests the same area.
Area (Lovable's wording, shortened)Quick scan, at every publishDeep scan, when startedTests on this pageTested by DevoraX
Tables without row-level security, and access rules that let everyone throughYesYesScans, RLS on every table, signed-out read, open policiespending
Leaked-password protection turned offYesYesSign-in settingspending
File storage rulesYesYesStorage bucketspending
Known vulnerabilities in npm dependencies (only critical-rated ones become findings, minus some Lovable judges can't affect its apps or are unlikely to be exploited)YesYesDependenciespending
An MCP server your app exposes without authenticationYesYesNot covered herepending
Access control and authorization, including server code that bypasses the database's rules and privileged actions that don't check the caller's roleNoYesCross-user access, privilege columns, server functions, admin actionspending
Unauthenticated and abusable endpointsNoYesServer functions, rate limits, uploadspending
Unsafe input and injectionNoYesText shown as textpending
Leaked secrets and credentials in code or the repositoryNoYesSecrets in the browser, Git historypending
Payments and billing: prices, fulfillment or paid features a customer can change or reach without payingNoYesServer-side prices, access from the webhookpending
Authentication and account security: sign-in, account recovery and token checksNoYesSign-in links, protected pagespending
Error messages and logs that reveal internal details or personal dataNoYesError responsespending
Not listed in Lovable's security docs on 7 November 2026: a real live-mode purchase, duplicate webhook events, renewals and refunds, auth email delivery, backups and restores, your own domain, account ownership, App Store and Google Play rulesNot listedNot listedPayments, auth emails, Hosting and recovery, Ownership, Store reviewpending

App store submission checklist: what do Apple and Google check before launch?

Apple checks that the app does more than your website (guideline 4.2) and that a reviewer can sign in (2.1(a)). It also checks how the app sells digital features (3.1.1), whether people can delete their account in the app (5.1.1(v)), whether it links a privacy policy (5.1.1(i)) and whether its App Privacy details declare its data use. Use the Store review group above as your Apple app review checklist, next to Apple's App Review Guidelines, last updated 16 October 2026.

Google Play adds its own checks, as of November 2026. Personal accounts created after 13 November 2023 need a closed test with 12 testers for 14 days, and every new app needs a Data safety form and a target of API level 36. Each of these has a test in the group above.

For digital features, the storefront matters. On the US storefront, an app may include buttons or links to your web checkout without an entitlement (3.1.1(a)). That lifts the ban on links only. Guideline 3.1.1 still says that to unlock features or functionality "you must use in-app purchase". Guideline 3.1.3(b) lets an app unlock what people bought on your website only "provided those items are also available as in-app purchases within the app". App Review decides whether a US app can rely on the web link alone.

In other storefronts, digital features use in-app purchase unless an entitlement or a 3.1.3 exception applies. Apple can still reject an app. A wrapped app can sell through in-app purchase when its wrapper supports it: as of November 2026, Median documents a plugin for StoreKit and Google Play Billing, and RevenueCat publishes a Capacitor SDK. You still have to set up the products, the purchase flow, the server-side record of who bought what, and the answers for App Review.

On Android, as of November 2026, Google Play's Payments policy requires its billing system for digital features and subscriptions unless an exception applies. For US users, Play Console Help says developers may link out or offer another billing system by following that policy and Google's alternative billing or external content links programs. Developers enrolled in those programs report to Google and pay its service fees. What applies where, rule by rule.

Sameem has personally prepared and submitted iOS builds to App Review, published Android apps to Google Play production, shipped in-app purchase with StoreKit, Play Billing or RevenueCat, and answered store rejections; Usman sometimes helps. If you want us to take the launch on, we prepare the app against Apple's and Google's guidelines, submit it and answer the reviewers. The stores decide approval. The iOS and Android launch starts from $2,400, with the $400 audit credited to it if you start with one: see Lovable app to the App Store.

How do I re-run a vibe coding security test after a prompt changes sign-in or Stripe?

Treat any prompt that touches sign-in, payments, tables or policies as a release. As of November 2026, Lovable's built-in backend docs set Modify database and Change data to Always allow by default, so the agent can change schema, policies and rows without asking. Its database docs add that every draft "uses the same database as your project", so with Change data on Always allow, a quick interface prompt can reach live data. Once you have real users, everyone who edits the project should set both permissions to Ask each time in their own account settings (agent permissions).

Before you publish, look at what changed. Lovable's version history, or the commit in your synced GitHub repository, shows the files the prompt touched. Lovable records each database change as a migration file in your code, under drizzle/migrations/ (older projects keep earlier files under supabase/migrations/), so a changed policy shows up there.

Then re-run the tests that matter: signed-out read, cross-user access, privilege columns, sign-in links, webhook signature and access from the webhook. Keep test users A and B, and a Stripe sandbox customer, ready for it. Publishing runs the Quick scan, which covers database rules, dependencies and MCP exposure only. Payments, authentication and server code are Deep scan areas, so after a change there, start a Deep scan before you publish.

What should I do before launching an app built with Lovable?

Work backwards from the date, because the slowest steps aren't in your code. A company Apple developer account needs a D-U-N-S Number first (check). A personal Google Play account created after 13 November 2023 needs 14 days of closed testing and then a production-access review (check). On 7 November 2026, Apple's App Review page said it was "typically reviewing at least 50% of submissions in less than 24 hours and 90% in less than 48 hours", so leave room for a second round.

Then go in this order. Move the repository and every account into your company's name (Ownership). Start the D-U-N-S request and the closed test if you are going to the stores. Run Lovable's Quick and Deep scans, and resolve or justify every finding. Work through Data access, Secrets, Sign-in and Payments, and make one real purchase in live mode. Restore a backup into a copy, move your links to your own domain, and only then submit.

If you are going to the stores, this page covers the compliance half of an app store launch checklist; screenshots, store keywords and launch-day plans come after. Want a second pair of eyes before you submit? Book a free 30-minute call.

What investors check in an app built with Lovable

Investors' technical due diligence questions are about risk a demo can't show: who owns the code and the accounts, whether user data is protected, and what it will cost to keep building. madewithlove's technical due diligence checklist (updated 24 June 2026, written for SaaS acquisitions) assesses five areas: team, process, engineering, security and fit. Under security it lists authentication, authorisation and secrets management, known vulnerabilities and patching, audit logging and incident response, and certifications such as SOC 2 or ISO 27001.

Variant Systems' guide to due diligence on AI-generated codebases (12 February 2026) adds the questions an AI-built app raises: which tools wrote the code, what each tool's terms say about IP, and whether anyone has scanned the code for copyleft licences.

Use the questions below as a founder-side tech due diligence checklist, and have evidence ready for each. Who owns the code? As of November 2026, Lovable's hosting and ownership docs say the apps, code and content you create with it "are yours, subject to third-party rights such as open-source licenses". Is the repository in the company's GitHub account, with its history (check)? Have the licences of your dependencies been checked (check)?

Where does the data live: on Lovable's built-in backend (which Lovable says uses Supabase's open-source foundation) or in your own Supabase project, and can you export it (check)? Are row-level security, secrets and sign-in sound (Data access, Secrets, Sign-in)? Which third parties receive user data (check)? Has a backup been restored (check)? Who holds the domain, Stripe and store accounts (check)? What incidents have there been, and what changed after them?

Lovable's Trust center can add evidence. Once you enable it, it publishes security facts Lovable observed about your live app at /.well-known/trust.html, though Lovable's docs call it "informational, not a certification" and "not an audit".

Our launch-readiness audit has an investor-ready version. It states who commissioned the review, its date and its scope, and it says that DevoraX may be hired to fix what it finds, though you don't have to hire us. Beside the code, database security, payments, hosting and store readiness, it covers who owns the code under the terms of the tool that built the app. It also covers third-party licences, secrets in the repository and whether the accounts are in your company's name.

It answers the code and account questions above, not the team, process and certification questions in madewithlove's list. It is an engineering review, not a security certification, and it doesn't replace the third-party penetration test some investors ask for. It costs $400, credited to the paid step that follows if you go ahead, and you keep the written report whatever you decide. Book a free 30-minute call to see whether it fits your round.

When is a free tool, or someone else's service, the better buy?

Often. If your app has no sign-in, no payments and no user data, a brochure site for example, Lovable's Quick scan and the Hosting and recovery checks are enough for a vibe-coded website security check. A paid review would mostly confirm what they show. If one check fails and its linked guide explains the fix, fix that check yourself. Lovable's Deep scan is free to run, Supabase's Security Advisor ships with the platform, and Supabase's production checklist (updated 2 November 2026) covers project settings this page doesn't.

Other free security checklists for vibe-coded apps cover ground this one leaves out. Lovable's own security best practices page ends with a seven-point list to confirm before publishing; it says what to confirm, and the tests here show how. Replit's security checklist fits apps built on Replit. As of 7 November 2026, the boxed-dev/vibe-coding-security repository on GitHub lists 69 developer-level checks, including AI-agent and LLM items this page doesn't cover. Astra's checklist (dated 3 November 2026) has six browser tests that take about ten minutes.

We read six other vibe coding security checklists that day: Replit's, Astra's, BSS Commerce's, Cleveroad's, Fingerprint's and boxed-dev's. None of them covers App Store or Google Play review, which is why this page has a Store review group.

Pay someone when the stakes call for it. Lovable's docs suggest an additional professional security review for apps handling sensitive data or critical functionality, and health and financial data are the clearest cases. Its optional Aikido connector runs AI penetration tests on the running app, billed by Aikido. A security firm is the right buy when an investor wants a formal penetration test report. Our audit sits between the free tools and a pentest: an engineering review of your code, database security, payments, hosting and store readiness.

Vibe coding security checklist: common questions

Are vibe-coded apps secure?

Not automatically, and not hopelessly either. An app built with Lovable, Base44, Bolt or Replit is as secure as its access rules, keys and server checks. The failures this page tests for, such as open tables, secret keys in the browser, functions that don't check the caller and features unlocked from a success page, are settings and code you can test and fix.

Is vibe coding a security risk?

It can be. One documented example is CVE-2025-48757, published on the US National Vulnerability Database on 30 May 2025. Its entry says an insufficient row-level security policy in Lovable through 15 April 2025 "allows remote unauthenticated attackers to read or write to arbitrary database tables of generated sites". Lovable disputes it, on the grounds that each customer is responsible for protecting their application's data. The practical risk is code that ships faster than anyone reviews it, so test access from outside, keep secrets on the server, and re-test after every prompt that touches data, sign-in or payments.

Is Lovable secure?

As of November 2026, Lovable has real protections: scans at every publish and on request (what each covers) and a Secrets manager that keeps keys out of the browser. Since 25 July 2026 it also revokes Lovable workspace API keys found in public GitHub repositories.

It has had a platform incident too. In "Our response to the April 2026 incident" (22 April 2026), Lovable says that between 3 February and 20 April 2026, any Lovable user with a project link could potentially read the source code and chat history of public projects. It says "Private projects and Lovable Cloud were never impacted", and that it has since made historically public projects private.

Lovable's docs put your app's security on you: "You are responsible for ensuring that your app meets the security requirements appropriate for its use case, especially if it handles sensitive data or performs critical functions." The checks above cover the part that is yours.

If Lovable's security check shows no issues, is my app ready to launch?

Not yet. A clean Quick scan covers database rules, dependencies and MCP exposure, and the Deep scan covers application code once someone runs it. Lovable's docs don't describe either scan as testing Stripe live mode, auth emails, backups, your domain or store review (what each scan covers). Both are reviews of your code and settings, not tests of the running app. Check that both scan cards say Up to date, read the Ignored findings list, then work through this page.

Does Apple require account deletion inside the app?

Yes, if people can create an account in it. Guideline 5.1.1(v) says: "If your app supports account creation, you must also offer account deletion within the app." The account deletion check covers what Apple's help page and Google Play add, with a test.

Limitations

  • The checks are written for apps on Supabase or Lovable's built-in backend. Apps from Base44, Bolt, Replit or Cursor need the same checks, but their settings sit elsewhere and the SQL tests may not apply.
  • Platform facts were read on 7 November 2026. Lovable, Supabase, Stripe, Apple and Google change their products and rules often, so open the linked source before relying on a date, a limit or a menu path.
  • A test can show that a check fails. Passing every test doesn't prove an app is secure.
  • The Lovable scan table reports Lovable's documentation, not our own results; its Tested by DevoraX column is pending.
  • AI-specific risks such as prompt injection and agent tool permissions are covered only through the spend cap and input checks, and MCP servers are not covered here (Lovable's Quick scan checks for one exposed without authentication).
  • It quotes no statistics on how often these failures occur, because we have not verified a primary source for one.
  • It is not legal advice about privacy law, store agreements or platform terms.

What this checklist cannot answer

  • Whether your app is secure overall. Testing, a third-party penetration test included, can find problems but cannot prove there are none.
  • What Apple or Google will decide about your app. The stores decide approval.
  • Whether your app meets GDPR, HIPAA, PCI DSS or other regulations.
  • How long fixes will take or what they will cost for your app, which depends on what the checks find.

Start with a free 30-minute call

Tell us where the app is stuck and what has to happen by when. We tell you whether an audit makes sense.

Book your free call