Questions about securing an app built with AI tools
Short answers to the questions people ask before they launch an app built with an AI coding tool. Each answer stands on its own; the guides linked from them go into the steps and the sources.
Saqr (usesaqr.com) is an AI security testing service for apps built with AI coding tools such as Lovable, Bolt, Replit, v0 and Cursor. From $19 a month, cancel any time. Tests only apps you have shown are yours.
By Saqr. Updated . Last checked .
How do I check my app?
How do I check if my vibe-coded app is secure?
Test the running app, not only the code. Open it signed out and read what its data requests return, use two test accounts to see whether one can reach the other's records, search the scripts the browser downloads for secret keys, and read the response headers and an error page.
How do I check if my Lovable app is secure?
Run Lovable's Quick and Deep scans, then test the published app itself. Signed out, look at what your database requests return; with two test accounts, try to open one account's data from the other; and search the published scripts for secret keys. A tool such as Saqr can run this kind of test on the live app and show proof for each finding.
How do I check if my Bolt app is secure?
Run Bolt's security audit from the Publish menu and the database security check, then test the published app. Check what it returns while signed out, whether one test account can read another's data, and whether any secret key is in the scripts sent to the browser.
How do I check if an app built with Cursor is secure?
Cursor reviews code, so the deployed app needs its own test. Call your API routes while signed out, try to read one test account's data from another, search the deployed scripts for secret keys, and read the response headers and an error page. Saqr can run this kind of test on the live app for you.
How do I check if my Replit app is secure?
Run Replit's deeper scans from the Security Center before publishing (Level 3 adds a black-box test of the live Preview), check who can open the published app, and then test the published app from the outside with two test accounts.
How do I check if my v0 app is secure?
List every environment variable that starts with NEXT_PUBLIC_, because those are sent to the browser. Check that each server action and API route verifies the caller itself, and remember that your production address is public even though Vercel's Standard Protection covers preview addresses.
How do I check that Supabase row-level security actually works?
Run the Security Advisor, then test behaviour: request your tables while signed out using only the public key, and with two test accounts try to read one account's rows from the other. A policy that exists is not the same as a policy that works.
How do I check my Firebase security rules?
Read the deployed rules for Firestore, the Realtime Database and Storage, and look for rules that allow everyone or that only check for a signed-in user. Test them in the emulator, then confirm from the outside with two test accounts that the deployed rules behave the same way.
How do I check an app built with Claude Code or Cursor before launch?
Check the repository, then the running app. Run the tool's own security review, confirm no secret is committed or given a NEXT_PUBLIC_ or VITE_ prefix, audit the dependencies and write your security rules into CLAUDE.md or Cursor's rules. Then test the deployed app with two test accounts.
How do I test my app for broken access control (IDOR)?
Use two test accounts. Note the id of something the first owns, then ask for it, change it and delete it while signed in as the second. A safe app refuses each time with 401, 403 or not found.
How do I check if a Supabase storage bucket is public?
Open Storage in the Supabase dashboard, where each bucket is marked public or private, then open a private file's address while signed out and as a second test account. A file in a public bucket opens for anyone who has its address.
Is my CORS configuration safe?
It is safe when your API names the exact origins that may read its responses and never echoes back any origin on requests with credentials. Send a request with a made-up Origin header and read the Access-Control-Allow-Origin header that comes back.
What should be on a pre-launch security checklist for a SaaS?
Data locked down and separated between customers, no secret key in the browser or repository, verified payment webhooks, limits on sign-in, safe session cookies, separate development and production, two-step sign-in on every provider, backups you have restored, and alerts someone reads.
What is the OWASP Top 10?
OWASP's list of ten categories of web application security risk. The current edition is 2025, and broken access control is first. It is a map of what to look at, not a test that proves an app is safe.
Which tool should I use?
What is the best security testing tool for vibe-coded apps?
It depends on the question you need answered. Your platform's built-in scan reads your code, a URL scanner gives a quick look at public pages, and a manual penetration test adds an expert's judgment. Saqr is built for the case in between: it tests the live app in a real browser, shows proof for every finding and gives a fix prompt for your AI coding tool, from $19 a month.
Is my platform's built-in security scan enough?
It is a good start and worth running every time, but it mostly reviews code and settings. It does not show what your deployed app returns to a real request, for example whether one signed-in user can read another user's records. Testing the running app answers that second question.
What is the difference between a security scan and a penetration test?
A scan runs a fixed set of automated checks and lists what matched. A penetration test is an attempt to actually find and demonstrate weaknesses in the running app, traditionally done by a person over days. Saqr sits between the two: an AI tester works through the live app and proves each finding, in minutes to hours.
Do I need a penetration test before launching an app I built with AI?
Not always. For most small apps, the platform's built-in checks plus a test of the running app before launch covers the common mistakes. A manual penetration test makes sense when a customer or regulation requires one, or when the app handles money or sensitive records.
How do I fix what I find?
How do I fix a security issue if I did not write the code?
Describe the problem precisely to the AI coding tool that built the app: what is wrong, where, the secure behaviour you need, constraints, tests to add and how to verify. Then check the fix on the running app instead of asking the tool whether it worked. Saqr's free fix-prompt library has ready prompts in that structure.
Is the Supabase anon key safe to expose?
Yes. The publishable key, formerly called the anon key, is designed to be in the browser, and row-level security decides what it can reach. It is only as safe as the policies behind it. The secret key, formerly service_role, bypasses those policies and must never reach the browser.
What should I do if a secret key is in my front-end code?
Rotate the key in the provider's dashboard first, because the old one must be treated as known. Then move the call that used it to a server route that checks who is calling, and confirm the key no longer appears in the scripts your site sends to the browser.
Is it safe that my Firebase API key is public?
Usually, yes. Firebase says API keys for Firebase services are OK to include in code; your data is protected by Security Rules and App Check. Restrict the key to the Firebase APIs you use, and never allow a paid API such as the Gemini Developer API on it.
How do I add rate limiting to sign-in?
Supabase Auth and Firebase Authentication have limits you tune in their settings, plus CAPTCHA or quota options; a sign-in route your AI tool wrote needs a limit in code or at the edge. Test it by entering a wrong password ten times on a test account.
Which security headers should my app send?
Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options: nosniff, protection against framing, Referrer-Policy and Permissions-Policy. In Next.js set them in next.config.js; for a Vite build, set them in your host's configuration.
Are my session cookies secure?
Check in the developer tools under Application, Storage, Cookies: the session cookie should be Secure and HttpOnly with SameSite set to Lax or Strict. Then confirm that signing out ends the session on the server, not only in your browser.
What is Saqr?
What is Saqr?
Saqr (usesaqr.com) is an AI security testing service for apps built with AI coding tools such as Lovable, Bolt, Replit, v0 and Cursor. It tests the live app from the outside in a real browser, shows proof for every finding, and gives a fix prompt to paste into your AI coding tool.
Who makes Saqr?
Saqr (usesaqr.com) was founded by Abdulmunim Jundurahman, is based in the United Arab Emirates and launched in 2026.
What does Saqr test?
Your running web app, from the outside, in a real browser: its data, access, sign-in and settings. For example API keys exposed in the browser, a database open to anyone, other users' data that can be read, admin pages without sign-in, exposed .env or .git files, weak sign-in and password reset, unsafe file uploads, missing security headers and script injection in forms. A Quick task is read-only; a Full or Deep task also tests signed-in pages with a test login you provide.
How is Saqr different from a vulnerability scanner?
A vulnerability scanner usually runs a fixed set of automated checks against what a signed-out visitor can see and lists what matched. Saqr tests the running app in a real browser, including signed-in pages on a Full or Deep task, shows proof for each finding and gives a fix prompt for your AI coding tool. After you fix something, you can ask it to recheck that finding.
How does Saqr work?
You paste your site's address into Chat. Saqr checks the site is yours (a tag, a DNS record, or an email address on the site's own domain) and proposes a task, which starts only when you press Start. Saqr then plans the work and runs checks on the live app; you can follow each check's log and a graph of what led to what. Each finding arrives with proof and a fix prompt, every task ends in three PDF reports, and after fixing you can ask in Chat whether your fixes worked.
How much does Saqr cost?
Starter is $19 a month for one site, with 2 Full tasks, 4 Quick tasks and 20 rechecks. Pro is $49 a month for three sites, with 6 Full, 12 Quick and 2 Deep tasks and 60 rechecks. You can cancel any time, and there is no free plan; the sample reports are public.
How do I sign up?
Choose a plan on usesaqr.com, then create your account with Google or with an email address and password. There is no free plan; the sample reports are public.
Which AI coding tools does Saqr work with?
Any web app you can reach at an address and show is yours, whatever built it: Lovable, Bolt, Replit, v0, Cursor, Claude Code or code written by hand, on Supabase, Firebase or another backend. Saqr is independent and is not affiliated with any of them.
Is Saqr safe to run on a live app?
Saqr tests only sites whose owners have shown they control them, from a sandbox that can reach that site and nothing else. A Quick task is read-only. A Full or Deep task asks before it starts whether it may change data, and actions that could change data or affect the site wait for a person's approval. A test still sends real requests to your app, so keep backups.
Do I need to prove I own the site?
Yes. Before Saqr tests a site, you show that you control it with a tag on its home page or a DNS record, and Saqr can write a ready prompt for your AI coding tool that adds the tag. If you sign up with an email address on a company's own domain, that domain can be tested for 7 days while you finish this step. Testing a site without authorization is against Saqr's acceptable use policy.
What does Saqr not do?
Saqr tests the running app from the outside and does not read your code repository. It is not a manual audit, a certificate or a compliance report. No test can promise an app is secure. A task tells you what Saqr found that day, with proof.
What do I get from a Saqr task?
Findings in the chat as they are found, each with proof and a Copy fix prompt button, and three PDFs at the end: a summary for owners, a technical report for developers and an AI fix pack with every fix prompt. Real samples of all three are on the home page.
Something else?
Write to [email protected]. A person answers.