Application Security

4 security checks to run before you publish an app built with AI

Change user_id in the URL, check what reaches the browser, try /admin and /debug, test beyond the AI’s yes: the checks to run before you publish an app.

Luca Di Domenico

Luca Di Domenico

· 2 min read

In short

An app built with AI can work perfectly and still be vulnerable: sometimes changing ?user_id=123 to ?user_id=124 is enough to read another user’s data. Before you publish, four checks are the minimum: the parameters in the URL, what reaches the browser, internal pages like /admin and /debug, and a real test that goes beyond the AI’s yes.

🔓 If you built an app with AI without knowing how to code, try this check.

The fastest test: change the user_id in the URL

Change ?user_id=123 to ?user_id=124: if another user’s data shows up, your app is vulnerable.

Sometimes changing one parameter in the URL is enough to read other users’ data.

In the worst cases, APIs left open expose names, emails, addresses or orders without even logging in.

The other classic mistakes

Then there are the other classics:

  • admin panels with no authentication
  • API keys in the code that reaches the browser
  • file uploads without proper checks

The app works, but the AI’s yes counts for little

The problem is that the app often works perfectly.

Users sign up.

Payments go through.

No error shows up.

You may even have asked the AI: “Check that it’s secure.”

And it said yes.

That yes, on its own, counts for little. Analyzing the code doesn’t mean anyone has actually verified the published app, the exposed APIs and the user permissions.

The 4 checks before you publish

đź’ˇ Before you publish, check at least these things:

1) Change the parameters in the URL

Try ?user_id=124, 125, 126. If you reach data that isn’t yours, you have an authorization problem.

2) Check what reaches the browser

API keys, tokens and passwords must not be there. If they reach the browser, consider them public.

3) Try the internal pages

/admin, /debug, /test: they have to be protected, not just hard to find.

4) Don’t stop at the AI’s check

If the app handles other people’s data or money, it needs a real test.

Checks like these — permissions, exposed secrets, internal pages — are part of every release when building custom software for companies.

AI makes publishing an app much easier today. Including a vulnerable one.

Have you ever tried to break your own app before letting your users near it? 👇🏻

Want to know what this means for your product?

If you're building software with AI and want a second opinion on how you're working, tell me about your project.

Luca Di Domenico LogoTell me about your project
Vibe CodingApplication SecurityAI Development
4 security checks for an app built with AI | Luca Di Domenico