Is it safe to build an app with AI?

Elias Iliopoulos3 min readΕλληνικά

Yes, it’s safe to build an app with AI for yourself and the people close to you. Once you put it online for clients, with data that matters or with payments, you’re in a different game: like any software that is exposed to the internet, it can be hacked. At that point it isn’t enough that it works. It also has to hold up.

Data safety and security are two different things

When people ask ‘is AI safe?’, they usually mean their data: whether ChatGPT or Claude will train on it, what the data processing agreement (DPA) says, which plan they’re on. We covered that in Is ChatGPT safe for company data?.

Security is something else. With an agent you can suddenly write code, build a tool and even sell it. The moment that tool is on the internet, it has weak spots (vulnerabilities) that someone needs to know about and close. The less you know about this side, the more likely you are to get burned later.

Who would bother with your app?

Hackers go where the money is. AI didn’t change that. Their targets are mainly big companies and ventures they can profit from.

Take two examples. Nick used his agent to build a small app for his aunt and two cousins to track whose turn it is to cook on Sunday. In my view, nobody is going to bother targeting it. Helen built a booking platform for her gym the same way: client accounts, phone numbers and card payments. Same tools, a completely different risk. If something leaks, it isn’t only her problem, it’s her clients’ too.

AI helps both sides. In July 2026 Hugging Face described an intrusion into part of its infrastructure which, in its words, was driven by an autonomous AI agent system that got in through a malicious dataset. In the same post it says it detected the attack and rebuilt what happened with the help of AI too, in hours instead of days. If a company with a security team faces attacks like that, Helen’s platform can’t rely on luck.

What to do if you’re building for clients

You now have real power to build, and to improve your security as well. The risk is just as real. If your app serves people:

  • Leave the hard parts to providers who carry them. Payments through a well-known payment provider, user sign-in through a ready-made service, hosting on a platform that handles security on your behalf. Don’t build anything that stores cards or passwords yourself.
  • Audit, and audit again. Ask your agent to look for security holes before you go live and after every big change. It’s a good start, not a guarantee.
  • Find an expert. Someone who knows security, with their own AI tools or their own knowledge, to look at the app before real clients come in.

And remember that the agent writing your code needs supervision too. How to keep an eye on it is in Supervising an AI agent.

Next lessonRunning AI models locally: when it is worth it