How do I pentest my own web app, and do I need a professional one?
Start with permission and a written scope, then test the running app the way an outsider would: map every page and request, check what a signed-out visitor can reach, use two test accounts to test access between users, try unexpected values in every input, and write down each finding with the request that proves it. A professional test is worth paying for when a customer, investor or regulation asks for one, or when the app handles money or sensitive records.
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 .
What is a penetration test, and how is it different from a scan?
A scan runs a fixed set of automated checks and lists what matched. A penetration test is an attempt to find weaknesses in the running app and show that each one is real, following leads the way a person would. The standard reference for what to cover is the OWASP Web Security Testing Guide, whose current stable version is 4.2. You do not need all of it for a small app; the steps below cover the problems found most often in apps built with AI tools.
What do I need to sort out before I start?
- Permission. Test only an app you own or have written permission to test. Your hosting provider has rules too: AWS, for example, lets customers test their own resources on its listed services without asking first, and forbids denial of service and request flooding, including login and API request flooding (AWS). Read your provider's rules before a test that sends many requests.
- A scope. Write down the addresses you will test, the accounts you will use, and what is out of bounds: payment providers, third-party APIs and anything you do not control.
- Test accounts and a copy. Two test accounts with a little data each, and a staging copy if you have one. Active tests can change or break data: ZAP's own guide says to run active scans only against systems you are allowed to test, because they can put the target at risk (ZAP).
How do I run the test, step by step?
Seven steps, from mapping to retesting. Keep a note of every request that surprises you; it is your evidence later.
Map the app
Open the developer tools' Network tab, then click through every page and feature as each test account and as a visitor. List the pages, the API addresses the app calls and the values they take. Add the pages that are not linked for everyone, such as
/adminor a settings page.Check what a signed-out visitor can reach
In a private window, replay the data requests from your map without signing in. Only public data should come back. Then ask for
/.envand/.git/configon your domain, and search the loaded scripts for secret keys. The vibe-coded app guide has the details.If it fails: Require sign-in on every API route by default
Test access between users
Note the id of something the first account owns, then ask for it, change it and delete it while signed in as the second account. Each attempt should be refused. The access control test walks through it, including fields such as role or price that a user should not be able to set.
If it fails: Stop one user reading another user's records by changing an id
Try unexpected values in every input
In each form field and address parameter, try a quote mark, very long text and a bit of HTML such as
<b>hi</b>. Look for error pages that show code, queries or file paths, and for your HTML appearing as formatting instead of text. Those point to SQL injection and cross-site scripting, the problems OWASP files under injection (A05 in its 2025 list).If it fails: Hide stack traces and file paths on error pages
Test sign-in, password reset and sign-out
Enter a wrong password about ten times on a test account, request several password resets in a row, and see whether a limit appears. Then sign out, press Back and replay a request you copied while signed in: it should be refused. The login rate limiting and session cookie guides have the checks.
If it fails: Add a rate limit to sign-in and password reset
Run a passive scan while you browse
A tool such as ZAP sits between your browser and the app and reads the traffic as you click. ZAP describes its passive scanning as safe because it does not change responses; its active scanning sends real test requests and belongs on a copy you are allowed to test (ZAP). Treat its results as leads to confirm, not as findings.
Write down each finding, fix it and retest
For each problem, save the request and the response that show it, what a visitor could do with it, and how to fix it. After the fix, send the same request again as the same account and confirm the answer changed. The fix prompts help you describe a problem precisely to your AI coding tool.
When should I pay for a professional test?
When someone else needs the evidence, or when the stakes are high: a larger customer's security questionnaire, investor due diligence, a regulation that names a penetration test, or an app that handles payments, health data or other sensitive records. A person can follow business logic and chain small problems in ways a checklist does not. Prices vary widely; Lovable, which sells a cheaper automated test of its own, puts a traditional firm at $5,000 to $50,000 (Lovable). The comparison of enterprise AI pentests has published prices for automated ones.
Facts worth knowing, with sources
- The OWASP Web Security Testing Guide's current stable version is 4.2. Source
- AWS lets customers test their own resources on listed services without prior approval, and forbids denial of service and request flooding. Source
- ZAP describes passive scanning as safe and warns that active scanning can put the target at risk. Source
Questions
Can I pentest my own website?
Yes, if you own it or have written permission, and within your hosting provider's rules. Write down what is in scope, use test accounts you created, and run anything that could change data on a staging copy.
Do I need a penetration test before launch?
Not always. For a small app, your 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.
Is a vulnerability scan the same as a penetration test?
No. A scan runs fixed automated checks and lists what matched. A penetration test tries to show that each weakness is real and follows leads, such as using one account to reach another account's data.
Where does Saqr fit?
These checks cover what is on the list, on the pages you think to try. Saqr runs this kind of test on the live app for you, in a real browser and including signed-in pages, and shows the proof for each finding with a fix prompt for your AI coding tool. After you fix something, ask it to recheck. Plans are Starter at $19 a month and Pro at $49 a month, and you can cancel any time.
Every task ends in three PDFs. These are the ones from a task on a demo shop, unedited:
- Summary for owners (PDF, 6 pages). What was found and what to fix first.
- Technical report for developers (PDF, 29 pages). Every finding, with its proof and the steps to fix it.
- AI fix pack (PDF, 10 pages). A ready-to-paste fix prompt for every finding.
No test can promise an app is secure. A task tells you what Saqr found that day, with proof.
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?
- 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
- Questions people ask about app security
- How Saqr tests your app
To see what a finished test looks like, open the sample reports.
Sources
The statements above were checked against these pages on 25 November 2026. Products change; follow the links for the current wording.
- OWASP Web Security Testing Guide
- AWS: Penetration Testing policy
- ZAP: Getting Started
- OWASP Top 10:2025, A05 Injection
- Lovable blog: Announcing pentesting, 24 March 2026
Saqr is independent and is not affiliated with OWASP, Amazon Web Services, ZAP or Lovable. Each name is a trademark of its owner.