Can an AI Website Get Hacked?


Unfortunately, yes.

Yes. Not hypothetically, not "in theory," it's already happened, repeatedly, on the exact platforms most people use to build with AI.

In July 2025, security researchers at Wiz, a cloud security company that specializes in finding vulnerabilities in cloud platforms and applications, found a critical flaw in Base44, an AI website-building platform that Wix had just acquired. According to SecurityWeek, Wiz discovered that Base44's authentication system could be bypassed entirely, giving attackers access to private applications and the sensitive data inside them. Per Infosecurity Magazine, attackers only needed a single non-secret value, the app's ID, to register a verified account on an app that was supposed to be locked down with single sign-on, and that ID wasn't hidden either, it was sitting in plain sight in the app's URL. Wix, the platform that currently owns Base44, patched it within 24 hours of being notified, but the flaw had been live before that.

Lovable, another major AI app-building platform, had its own reckoning. Security researcher Matt Palmer found that Lovable-generated apps were missing Row Level Security, the setting that controls who's allowed to see what inside a database, and according to his published findings, that gap left over 170 live applications exposed. Per a follow-up security breakdown, researchers found 303 vulnerable endpoints across those apps where anyone could read or write the database directly, exposing emails, addresses, API keys, and financial records. None of the business owners running those apps knew it was happening.

Neither of these was a hypothetical researcher exercise dreamed up to scare people. These were real platforms, used by real businesses, found to have real, exploitable gaps, the kind that don't show up when you're looking at how the site looks, only when someone goes looking for how it actually works.

Which platforms that build and host AI sites got hacked?

What About AI Sites You Build With Code, But Host Yourself?

Everything covered so far, Base44, Lovable, Bolt.new, Replit, works the same way: the company that builds the site also runs it on their own servers. That's why researchers could check hundreds of sites at once and publish a number like "170+ exposed."


Self-hosting is different. AI-generated code usually gets deployed to places like Vercel, Netlify, AWS, or DigitalOcean. None of these companies check your code or your settings. They just run whatever gets deployed to them. If a database is left open to the public, or a password is missing, it stays that way, because it's not their job to check, it's yours.

Here's what actually goes wrong most often on self-hosted AI sites:

It's the same handful of mistakes researchers keep finding whenever they scan AI-generated code, regardless of which specific tool wrote it. The difference with self-hosting is simple: no company is checking for it on your behalf.

Bottom line: can a self-hosted AI website get hacked? Yes. Does self-hosting make the odds better or worse? Worse. On a platform like Base44 or Lovable, one company is responsible for the backend, so a flaw affecting hundreds of sites gets fixed everywhere at once. Self-hosting removes that entirely. Nobody's checking your database permissions, scanning your code for exposed keys, or patching anything without you doing it yourself, meaning every risk covered above just sits there until you personally catch it.

The scale of the underlying risk backs that up. According to Veracode's 2025 GenAI Code Security Report, 45% of AI-generated code samples contained security flaws when tested. That's not tied to one specific platform, it's the baseline risk of AI-written code in general, the same code that ends up self-hosted with nobody double-checking it before it goes live.


Want to know what actually reduces that risk? Read What You Really Give Up When AI Builds Your Site and You Have AI. So Does Your Web Designer. That's Not the Same Thing. next.

AI Hacking Probability Tool

What's Your Site's Actual Risk?

Step 1: What Was It Built On?

Step 2: What Does the Site Actually Do?

Estimated Risk Score Select a platform

This is a rough estimate based on documented, publicly reported risk patterns, not an audit of your specific site.


Do you have questions? I have solutions!

Book a free consultation. No strings attached.

Lunacal Embed - Sitejet Compatible