AleannLab

A 30-Minute Security Check You Can Do Without Writing Code

AleannLab team4 min read

You can find the most common and most damaging security problems in an AI-built app without reading a line of code. You need two test accounts, two browser windows, and about 30 minutes. The checks below look for other users' data showing up where it should not, admin pages that open for anyone, secret keys visible in the website, and missing protection on login and payments.

On this page
  1. Set up (5 minutes)
  2. The checks
  3. Score yourself
  4. When you find something
  5. What this check does not cover

Do this on a test copy of your app if you have one, or on the live app with test accounts and test data. Do not test on other people's apps: only your own.

Set up (5 minutes)

  1. Open your app in a normal browser window and log in as User A.
  2. Open a private (incognito) window, or a different browser, and log in as User B.
  3. As User B, create one of everything your app has: a project, a note, an order, an upload, a message.
  4. Keep a text file open to write down anything odd, with the page address and what you saw.

The checks

1. Change the number in the address bar. As B, open one of your records and note the address, for example /orders/2051. As A, open that exact address. Then try nearby numbers. Pass: A sees "not found" or is sent away. Fail: A sees B's order.

2. Open admin pages as a normal user. Guess the usual addresses: /admin, /dashboard/admin, /settings/users, /admin/users. Pass: refused or redirected. Fail: anything loads, even partially.

3. Log out and go back. Log out as A, then press the browser's Back button and refresh. Also paste a private page's address into a new private window with no login. Pass: you are asked to log in. Fail: the page and its data load.

4. Look for keys in the website. In A's window, right-click, choose Inspect, open the Sources tab, and press Ctrl+Shift+F (Cmd+Option+F on Mac) to search all files. Search for each of: service_role, sk_live, sk-, secret, password. Pass: nothing, or only clearly public keys. Fail: a secret key. Our post on secret keys in the frontend explains which keys are fine.

5. Watch what data arrives. Still in Inspect, open the Network tab, then reload a page that shows a list (orders, users, messages). Click the requests and look at the Response. Pass: only the data that page shows, for user A. Fail: other users' emails, phone numbers, or fields the page does not display. Apps often hide data on screen while still sending all of it.

6. Try the password many times. Log out, then enter a wrong password 20 times in a row for a test account. Pass: you get slowed down or blocked. Fail: you can keep going forever. See no rate limiting.

7. Test the password reset. Request a reset link for A. Use it. Then try the same link again. Request one for an email that does not exist. Pass: the link works once, expires, and the message is the same for existing and non-existing emails. More in weak password reset.

8. Upload something odd. If your app accepts uploads, rename a text file to test.jpg and upload it. Try a very large file. Then copy the address of B's uploaded file and open it in A's window, and in a logged-out window. Pass: wrong files rejected, private files not visible to others.

9. Test payments in test mode. If you take payments and have Stripe test mode, go through checkout, then press Back from the payment page and go directly to your "success" page address without paying. Pass: no access is granted without a completed payment.

10. Run your builder's scanner. Lovable runs a quick scan on publish and has a deeper scan in the Security view. Replit has security scans in its Security pane on paid plans. Others: ask your AI to review with the prompts in security prompts for vibe coding. Read the results; do not just click "fix all" without understanding what changed.

Score yourself

  • Any fail in checks 1–5: stop and fix before inviting more users. These expose other people's data.
  • Fails in 6–9: fix before launch or before taking payments.
  • All pass: good. Repeat after every big feature, because new features bring new pages and new tables.

When you find something

Give your AI the exact details:

code
When I am logged in as one user and open /orders/2051, which belongs to a
different user, I can see the order. Fix this so users can only see their
own orders, on the server and in the database rules. Then tell me how to
re-test it.

Then re-run the same check yourself. Do not accept "Fixed" without trying it again. See did your AI really fix it?.

What this check does not cover

It will not find everything. It cannot judge whether your access rules make sense for your business, how your app behaves under real attack, or problems deep in the code. Before taking payments, storing sensitive data or a public launch, consider a review by a person. That is our app rescue and security audit, and our security checklist is the technical version of this list.

All articles →

Ready to discuss your project with us?

idea
*
*
*
I'm interested in...
Web Development
App Development
UX/UI Design
DevOps
Artificial Intelligence And Machine Learning
QA Testing
Mobile Development
Consultation
OutSource
Project budget (USD)
≤ $5K
$10K-$20K
$30K-$40K
$50K-$60K
>$100K
Upload file