Dev.to Security πŸ” Cybersecurity πŸ‘ 0 πŸ“– 1 min read

12 security questions to ask the seller of an AI-built app before you buy

You are about to buy a SaaS or app that was built with Lovable, Bolt, Replit, Cursor or v0. Revenue and traffic are in the listing. Security is not. These are questions to put to the seller in writing before you sign, an

You are about to buy a SaaS or app that was built with Lovable, Bolt, Replit, Cursor or v0. Revenue and traffic are in the listing. Security is not. These are questions to put to the seller in writing before you sign, and what a good answer sounds like.

Keys and secrets

  1. Which third-party keys does the app use (payments, email, AI, database)? A real answer lists them by provider.
  2. Have any of them ever been committed to a repo or pasted into a prompt? If yes, were they rotated afterwards?
  3. Will you rotate every key at handover? The answer must be yes, with a date.

Database access

  1. Which tables hold user data, and is Row Level Security on for each one?
  2. Who wrote the policies, and have they been tested signed out and as a second user?
  3. Are any storage buckets public? Which ones, and why?

Accounts and handover

  1. Who has admin access today (hosting, database, domain, payments, analytics)? Get the list.
  2. Can you transfer all accounts, not just the code?
  3. Are there test or admin routes still live in production?

Incidents and users

  1. Has there been any unusual billing spike, abuse or unauthorized access?
  2. What personal data do you store, and where do users agree to that?
  3. Is there any user data in logs, analytics or error trackers?

What you can check yourself before asking
Open the live app and search the deployed JavaScript for service_role, sk_live, sk- and private key headers. Check /.env and /.git/HEAD. Test whether an anonymous visitor can read tables with the public anon key. A clean outside check lowers risk and does not remove it, because it cannot see server code or anything behind a login.

ProofForge's $79 buyer due-diligence report runs the outside checks read-only and lists these questions with your findings attached: https://proofforge.live/due-diligence (sample: https://proofforge.live/sample-report)

πŸ“° Read the original article on Dev.to Security

Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.