Questions people ask about app security
Short answers to the questions people type before they launch, including the ones they feel they should already know. No question here is silly: these are the gaps that most often lead to real problems. Each answer links to a guide with 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. Last checked .
Can someone get into my app?
Can someone hack my Lovable app?
It is possible, as with any app. The problems reported most often in apps built with AI tools are database rules that let anyone read or write, secret keys left in the browser's scripts, and signed-in users who can reach other users' data. Lovable's own documentation says its checks cannot guarantee an app is secure.
My app works. Does that mean it is secure?
No. Working means the paths you tried behave as intended. Security is about the requests nobody meant to send: a visitor who is not signed in, a user asking for someone else's record, or a value no form would produce. Those need to be tested on purpose.
My app is small. Would anyone bother looking?
Yes, mostly automated tools rather than people who picked your app. Public apps can be checked in bulk: in 2025 one security company scanned over 5,600 publicly available apps built on vibe coding platforms in a single study. Common mistakes such as open databases and leaked keys are easy to find whatever the size of the app.
Can people see my code?
They can see everything your site sends to the browser: the HTML, the scripts and anything built into them, such as variables starting with VITE_ or NEXT_PUBLIC_. Server code and secrets kept on the server are not sent. If your build ships source maps, visitors can also rebuild the original front-end code.
Is my API key visible to visitors?
If it is in the front end, yes. Anyone can open the developer tools and search the scripts. Keys their provider documents as public, such as a Supabase publishable key or a Firebase API key, are designed for that. Secret keys, such as OpenAI or Stripe secret keys, must stay on the server.
Can people see my Supabase key?
Yes, and for the publishable key (formerly the anon key) that is expected: it is designed to be in the browser, and row level security decides what it can reach. The secret key (formerly service_role) skips row level security and must never reach the browser.
What do these words mean?
What is row level security?
A database feature that decides, row by row, who may read or change each record. In Supabase you turn it on per table and write policies such as "a user may read only rows whose user_id is their own id". With it off, anyone with your public key can reach the table.
Why does my Supabase query return nothing after I turned on row level security?
Because no policy allows that request yet, or the request carries no signed-in user. Write the policy that allows the legitimate request rather than turning row level security off again.
What are Firebase security rules, and what is test mode?
Rules decide who may read and write each path in Firestore, the Realtime Database and Storage. Test mode starts a project with rules that allow everyone until a date, so data is open to anyone until you replace them with real rules.
What is IDOR or broken access control?
When the app checks that you are signed in but not that the record you asked for is yours, so changing an id in a request shows someone else's data. OWASP ranks broken access control first in its Top 10 for 2025.
What are security headers?
Instructions your server sends with each page that tell the browser to be stricter, for example to use only HTTPS, to refuse to load your site inside another site, or to run only scripts you allow. They are a few lines in your host's settings.
What is the OWASP Top 10?
A list of the ten most important categories of web application security risk, published by the OWASP foundation. The current edition is 2025. It is a map of what to look at, not a test that proves an app is safe.
Is what I have enough?
Is HTTPS enough to keep my app secure?
No. HTTPS protects the connection, so nobody on the network can read or change traffic. It does nothing about what your app allows once a request arrives, such as one user reading another's records or a secret key in your scripts.
Does the padlock in the browser mean my site is safe?
No. It meant the connection was encrypted. Chrome's team says the lock icon does not indicate website trustworthiness and replaced it with a neutral icon, partly because nearly all phishing sites use HTTPS.
My builder has a security scan. Is that enough?
It is a good start and worth running every time, but most built-in scans read code and settings. Bolt calls its audit a first pass, not a replacement, and Vercel says its Security Review does not perform runtime or penetration testing. Testing the running app answers a different question.
Is a free website security scan enough?
It is a useful first look at what any visitor can see, such as headers and public files. A passive scan does not sign in or use the app, so it cannot show whether one user can reach another's data.
Do I need a penetration test?
Not always. For a small app, the platform's built-in checks plus a test of the running app covers the common mistakes. A professional test makes sense when a customer, investor or regulation asks for one, or when the app handles money or sensitive records.
How much does a penetration test cost?
It varies widely. Lovable, which sells its own cheaper test, puts a traditional firm at $5,000 to $50,000. Published prices for enterprise AI pentests include XBOW from $4,000 per test at its November 2025 launch and Horizon3.ai at $10,000 per app per test.
What should I do?
What should I check before I launch?
Five things first: what your app returns to a visitor who is not signed in, whether one test account can reach another's data, whether any secret key is in the browser's scripts, whether your database rules allow everyone, and whether sign-in has a limit on wrong passwords.
Can I test my own app for security problems?
Yes, if you own it or have written permission, within your hosting provider's rules. Use test accounts you created, and run anything that could change data on a staging copy.
Can I test someone else's site to see if it is secure?
Not without their written permission. Testing a site you do not own or have permission to test can break the law and your host's rules. Read only what any visitor would see, and report anything you notice to the owner.
I think my secret key leaked. What do I do first?
Rotate it in the provider's dashboard straight away, so the old key stops working. Then move the code that used it to the server, check the provider's usage for calls you did not make, and confirm the new key is not in the browser's scripts.
How do I fix a security problem if I did not write the code?
Describe it precisely to the AI coding tool that built the app: what is wrong, where, the behaviour you need and how to verify it. Then check the fix on the running app instead of asking the tool whether it worked.
If a security test finds nothing, is my app secure?
No test can promise that. A test covers the pages it reached, as the accounts it had, on that day. Test again after you ship something new.
Where can I read more?
Questions about checking a specific platform, and about Saqr itself, are on the questions page. What Saqr checks, and what it does not, is on how Saqr tests.
Which other guides should I read?
- Is my Lovable app secure?
- Is my Bolt app secure?
- Is my Replit app secure?
- Is my v0 app secure?
- Is my Cursor-built app secure?
- Is my Supabase app secure?
- Is my Firebase app secure?
- How do I check if my vibe-coded app is secure?
- What should be on a pre-launch security checklist for a SaaS built with AI?
- What should I check before launching an app built with Claude Code or Cursor?
- How do I pentest my own web app, and do I need a professional one?
- What is the OWASP Top 10, in plain words?
- Is HTTPS enough to keep my app secure?
- How do I test my own app for broken access control (IDOR)?
- How do I test Supabase row level security?
- Why is my Supabase row level security not working?
- Supabase anon key vs service_role key: which one is safe in the browser?
- How do I check if a Supabase storage bucket is public?
- How do I check my Firebase security rules?
- My Firebase API key is public. Is that safe?
- I exposed an API key in my frontend. What do I do now?
- How do I add and test login rate limiting in an app built with AI tools?
- Are my session cookies secure, and how do I check them?
- Which security headers should my Next.js or Vite app set?
- Is my CORS configuration safe, and how do I check it?
- Saqr vs Lovable's security checks and the Aikido pentest
- Saqr vs passive website security scanners
- Saqr vs enterprise AI pentests such as XBOW and Horizon3.ai
- Saqr vs CheckVibe
- Security fix prompts for your AI coding tool
- Saqr, automated scanners and a manual penetration test
- Questions about securing an app built with AI tools
- How Saqr tests your app
To see what a finished test looks like, open the sample reports.
Sources
The facts in the answers were checked against these pages on 25 November 2026. Products change; follow the links for the current wording.
- Lovable documentation: Security
- Bolt blog: Security audit on publish, 30 July 2026
- Vercel changelog: Vercel Security Review public beta, 3 November 2026
- Supabase documentation: API keys
- Supabase documentation: Row Level Security
- Firebase documentation: Fix insecure rules
- OWASP Top 10:2025
- Chromium Blog: An update on the lock icon, 2 May 2023
- Lovable blog: Announcing pentesting, 24 March 2026
- XBOW: Announcing XBOW Pentest On-Demand, 13 November 2025
- Horizon3.ai: Pricing
- Vite documentation: Env variables and modes
- Escape: study of 5,600 publicly available apps, 29 October 2025
Saqr is independent and is not affiliated with any product named on this page. Each name is a trademark of its owner.