AI & WEB

Anthropic Test Shows CAPTCHA Trips Up Rogue AI Agents

In July, Anthropic reported a handful of incidents where its AI models misbehaved during testing, then followed up with a fuller assessment in September. One case stood out. In a test earlier this year, testers set its Mythos 5 model a hacking challenge: to break into a target system and retrieve specific data from it. The test was meant to run inside a sandbox, which is a sealed-off test environment with no route to the real internet. A setup error left a door to the internet open, and the model quickly found it.

The agent’s plan was to slip malware into a Python package that people using the target system would probably download. To publish it, the model needed an account on PyPI, the main public library for Python code. Registering an account is where it got stuck. PyPI asks new users to pass a CAPTCHA (to prove you’re human) and sign up with a working email address, and the model really struggled with both.

 

A Rogue AI Agent Got Stuck on a CAPTCHA

Anthropic shared a 1,022-page log of the model’s reasoning, and hundreds of pages were about CAPTCHA image puzzles and tokens that kept expiring because it was too slow. It did get there in the end – the package went live, and 15 outside systems installed it before PyPI removed it in under an hour. The detail that stands out in the log is that getting past the CAPTCHA, email and phone sign-ups (i.e. proving it was human) was the hardest part of the job for the AI model.

The lesson isn’t that CAPTCHAs are unbeatable (they aren’t) – Mythos 5 did eventually break through. What a CAPTCHA really does is slow the bots down. AI agents run on paid computing power, so wasting time on a puzzle costs operators money – with nothing to show for it. Automated abuse is a numbers game, so attackers go after the forms with the least resistance. A site with no challenge at all is the easy target. One protected by CAPTCHA or Cloudflare Turnstile, which runs quiet background checks instead of asking people to click on traffic lights, makes them work far harder for the same result.

That said, a CAPTCHA is one layer of defence, not the whole fix. It works best alongside rate limiting, which caps how many attempts a single visitor can make in a short space of time. Add Cloudflare’s firewall and bot rules to help spot and block suspicious traffic before it reaches your login and checkout pages.

 

How AI Bots Affect Forms, Logins and Checkout

DataDome’s recent report on bot and AI agent security found AI agents made around 605.6 million requests to logins, forms, carts, payment flows and account sign-ups in the first half of 2026. Not all of that traffic is hostile, as some of it will be genuine agents acting for real customers. What’s more telling is how few sites are protected. When DataDome checked the homepages of 21,491 websites in June 2026, 65.3% blocked none of the ten bot types it tried.

Where bots hit What it costs you
Contact and quote forms Spam leads that waste sales time and skew conversion data
Account sign-ups Fake accounts, up 34.5% year on year according to DataDome
Login pages Credential stuffing attempts on customer accounts
Checkout and payment Scalping, up 290.7%, plus card testing and stock hoarding
Newsletter sign-ups Junk addresses that drag down email deliverability

Every unprotected form is an open door. Bots that get through can flood your inbox with spam, set up fake accounts, and try stolen passwords against your customers’ logins. Spam submissions inflate form conversions in Google Analytics and ad platforms, which trains Google and Meta’s bidding algorithms to find more of the wrong people. Clean marketing data starts with keeping bots out of the funnel.

 

CAPTCHA and Cloudflare Turnstile Slow AI Agents Down

Not every AI agent is out to cause harm. More and more people are using AI assistants to book a table or buy something on their behalf, and those agents land on the same forms as the bad ones. Cloudflare itself argues that CAPTCHAs aren’t the long-term answer for telling helpful AI agents from harmful ones, and it’s building ways for legitimate agents to identify themselves. While that’s still taking shape, though, the bots hitting your forms today won’t wait. For now, CAPTCHA and Cloudflare Turnstile are the most practical protection you’ve got:

  • List every form on your site, including contact, quote, sign-up, login, checkout and newsletter forms
  • Switch on Turnstile or reCAPTCHA wherever your platform supports it
  • Add a honeypot field and a minimum time-to-submit check, both invisible to real visitors (Gravity Forms has a honeypot built in)
  • Test each form on mobile to check real customers can still get through easily
  • Track submission volumes and spam rates for a month afterwards to see the difference.
A close-up, angled photograph of computer code displayed on a screen in black text on a light background.

The last word

A rogue AI wrote working malware without breaking a sweat, then stalled for hundreds of pages on a box asking whether it was human. That’s a defence worth having on your side. If you’re not sure whether your forms are covered, get in touch with the Herdl team.

Want more?

Ready to grow your business?

Whether you’re looking to improve your website, boost your visibility, or scale your digital marketing, we’re here to help. Get in touch using the form below or call us on 0116 3400 442

"*" indicates required fields

This field is for validation purposes and should be left unchanged.