Sitral.AI
← Blog
Vibecoding

Vibecoding: what it is and the security risks nobody tells you about

Building with AI without writing code changed who can create software. It also changed who is responsible for making it secure.

· 2 min read

Vibecoding is building software by describing what you want in plain language and letting an AI write the code. You don't need to know how to code: you ask, you test, you fix it with another sentence, and you keep going.

It's a huge change. People who could never have afforded a developer now launch their store, their appointment booking system, or their course platform in a weekend.

The problem isn't vibecoding. The problem is what gets left out.

AI optimizes for what you can see

When you ask an AI for something, success is measured by seeing it work. A login that lets you in, a form that saves, a list that loads.

Security is the exact opposite: it's what must not happen. One user must not be able to see another user's data. A key must not be left out in the open. An attacker must not be able to try passwords with no limit. None of that shows up in a demo. So unless someone asks for it specifically and knows how to check it, it doesn't get done.

The most common risks

Secret keys in public code. The keys for payments, the database, or AI services end up in files the browser downloads.

Databases with no access rules. The app talks directly to the database, and without rules anyone can read or delete everything. We explain it in detail in Supabase and RLS explained simply.

Permissions only on the screen. The button is hidden, but the function is still available to anyone who calls it directly.

Unvalidated data. Forms that accept anything open the door to code injection.

Old or made-up libraries. Versions with known flaws and, sometimes, packages that don't exist and that an attacker can register.

Nobody watching. With no backups, no limits, and no alerts, the first sign of a problem is usually an angry customer.

Why they pick you

It's tempting to think "my site is small, nobody is going to attack me." But attackers don't pick targets by hand. They use programs that scan the internet all day looking for exactly these mistakes. They don't care whose site it is. They care that the door is open.

A newly published site starts getting that kind of visit within hours.

What to do about it

You don't need to stop using AI or learn to code. You need to add the missing step: have someone who knows security review the result before you expose it.

You can do it yourself with a list like the one in what to check before you publish. Or you can start with a free check: we look at your site and tell you what's visible from the outside.

Creating software has become accessible. Making it secure still takes someone to look after it.

Does your site have any of these problems?

Send us your site: we'll look at it ourselves and, within one business day, tell you what's visible from the outside.

Check my site for free

Keep reading