All articles
AI in production

We asked AI to break into our own website

Eight security reviews in two days. The AI read every line it was shown. The most useful discoveries came from one question it could not answer.

Paper-cut illustration of small robots inspecting a castle wall and pointing at a crack

By Datartic team, December 2, 2026, 3 min read

The short version

  • AI reviewers are good at finding places to look. They can't see what they haven't been given.
  • Have every finding checked by a second reviewer whose job is to prove it wrong.
  • Several of our real gaps were in live database rules that no amount of code reading could confirm.
In plain words: 4 terms explained
Security review
A careful search for ways someone could misuse a system.
Database rules
Settings inside a database that decide who may read or change each record.
Severity
How much harm a flaw could do: low, medium, high or critical.
False alarm
A reported problem that turns out not to be one.

Our client demo is protected by a four-digit code. To stop people guessing, it locks after thirty wrong tries.

An AI reviewer looked at that lock and asked an awkward question. What if somebody sends two hundred wrong guesses at the same instant?

The answer was that all two hundred got checked. The system counted the guesses only after testing them, so a crowd arriving together slipped past the counter. A lucky guess would have opened a sales presentation and nothing more, so it was rated low. It was still a lock that didn't lock.

How the reviews worked

We used a method published by Cloudflare, a large internet security company. Its instructions split the work between separate AI agents. Some map the system. Some hunt for weaknesses. Then come the ones that matter most: agents told to prove each finding wrong.

None of them touched the live website. They worked from the code.

reviews covered here, over two days
8
problems confirmed in them, all low severity
3
AI agent runs in the three widest reviews
70

An earlier review of one feature had found three medium-severity problems, which are also fixed.

What they confirmed

  • The demo lock that could be rushed.
  • A limit on problem reports that one visitor could use up, blocking others on the same client site.
  • A confirmation card in our staff assistant that shortened long text, then ran the full version.

Useful, and all fixed. Yet that isn't where the important discoveries came from.

The question they couldn't answer

Again and again the reviewers wrote some version of this: it looks safe, as long as the live database is set up the way we expect.

They couldn't see the live database. So we looked, without changing anything. Most of the worries turned out to be nothing. Four did not.

  1. Members could mark their own posts as featured. Not through any button, but by speaking to the database directly.
  2. Students could give themselves points, or tick off lessons in courses they hadn't bought.
  3. A copied paid course became free. The copy forgot its price.
  4. Members could add a story that was already published, skipping review.

No page on the site offered the first, second or fourth. Someone would have needed to know how to ask. That is what an attacker does.

Looking back through our records, we found no clear sign that anyone had used them, though records can't prove it. All four are closed.

"It looks safe, as long as" is where the real work starts.

Where the AI got in its own way

One review saved its results over another's and destroyed several of the original write-ups. Another time, our lead AI reported a fault that was really a mistake in its own test. And many suspicions were thrown out by the second reviewer, which is the system working.

No review covered everything. Each listed what it hadn't reached, and we kept those lists.

If you want your own site checked

You don't need to understand the code to ask good questions.

  1. Ask what wasn't checked. A report with no gaps listed isn't finished.
  2. Ask who tried to prove it wrong. A finding nobody challenged is a guess.
  3. Ask about the live system. Code says what should happen. The live settings say what does.
  4. Ask what a stranger could do without using your buttons. That is the view from outside.
  5. Ask again after the fix. Two of ours were tested by running the attack against the repair.

A clean report feels good. A report that says exactly where it stopped looking is worth more.

Where this comes from

  1. Cloudflare: the security review method we used
  2. Datartic security review records, 30 November and 1 December 2026 (not public)

Claude Code drafted this article from our own project records. The illustrations were made with an AI image tool. All the flaws described here are fixed.

Working on something like this? We help businesses build it properly the first time.