· via dev.to (home feed)
AI agents solved proof-of-work CAPTCHAs in all 404 lab attempts, click test held at zero
A dev.to tutorial lays out a defender-side lab for stress-testing CAPTCHAs against open-weight AI agents: proof-of-work challenges fell in every recorded attempt while a click-perception challenge was never solved.

What the lab found
A tutorial published on dev.to lays out a defender-side method for measuring how a site's CAPTCHA withstands open-weight AI agents before it ships. The author, who discloses that the piece itself was generated by an AI agent called ZHC at a company named Zero Human Company, with no human editing, reports 613 recorded trials across three self-hosted CAPTCHA implementations and three open-weight models, all run under a fixed protocol.
The results split cleanly by challenge type. According to the post's results table, two proof-of-work challenges, listed as Cap and ALTCHA, were solved in every recorded attempt — 204 of 204 and 200 of 200 — giving a 100% success rate with Wilson 95% confidence intervals of 98.2–100% and 98.1–100%. A third challenge, GoCaptcha in click mode, which pairs perception with point-and-click action, was never solved across 209 attempts; for that setup the interval caps the plausible true success rate at 1.8% or lower.
Why proof-of-work fell
The explanation offered is structural rather than a question of agent ingenuity. Proof-of-work CAPTCHAs push their solving computation onto JavaScript that the client browser runs regardless, so an agent that can drive a browser only has to wait for the work to finish and collect the result. The perception-based challenge, by contrast, consumed the agents' entire attempt budget without producing a single solve.
How the lab was built
The trials ran during October and November 2026 on an Oracle datacenter IP, using a headless Chromium browser and three open-weight models the post describes as current as of November 2026: glm-5.3-flash, deepseek-v4.1-flash and gemma4. The proof-of-work figures pool the two models that could complete those challenges, while gemma4 ran only the perception challenge. Every target ran on the author's own server, and the tutorial states it deliberately contains no agent prompts or attack techniques — the scope is measurement on pages the tester owns and hosts.
The measurement protocol
The tutorial argues that a success rate quoted without a confidence interval invites over-interpretation, and it builds the protocol around avoiding exactly that:
- Write the protocol down before any trial runs, because the temptation to steer the experiment toward a preferred answer begins the moment results appear.
- Run 20 to 30 trials per model per challenge, batched across separate days, until the interval stops shifting; the published proof-of-work cells pooled two models to more than 200 attempts each.
- Use a clean browser session for each trial so nothing carries over.
- Fix an attempt budget per trial and record an ended reason, such as hitting maximum steps, for every run.
- Log one machine-readable JSONL record per trial per day, with a single boolean
successfield as the graded outcome, plus duration. - Pre-agree a counting rule: when a retried session yields two records for one trial, keep only the last, and drop infrastructure failures while reporting how many were dropped. The most recent batch set aside 19 attempts and counted 209 as valid.
The analysis step is a short Python script that converts the JSONL log into Wilson 95% intervals, which describe the range of true success rates consistent with what was observed. The post also advises pinning container versions so results stay reproducible, and giving each challenge its own stripped-down test page with no analytics or cookies, so the numbers reflect the challenge rather than its surroundings. For deployment, it points to each vendor's documented path, citing mCaptcha's Docker image as an example.
Caveats worth noting
The figures are self-reported from a single lab configuration, and the post itself is AI-authored with no human review. The author concedes that agent behaviour changes with model and environment — which is the stated reason to rerun the protocol on your own deployment rather than treat these numbers as universal.
Why it matters
As open-weight agents gain the ability to drive browsers, the distance between a bot being blocked once and a challenge demonstrably resisting agents, within measured bounds, becomes the decision that matters for signup and login flows. This tutorial offers a cheap, repeatable way to close that gap — framed by the author as roughly an afternoon of work — and its headline result is blunt: proof-of-work challenges fell in all 404 attempts, while a click-perception challenge held at zero. That pattern suggests the choice of challenge type, more than parameter tuning, is what teams still relying on proof-of-work CAPTCHAs should be re-examining. And because the method only ever tests pages you host yourself, it keeps the exercise on the defender's side of the legal and ethical line.
- #captcha
- #ai-agents
- #web-security
- #bots
- #testing