STUPID-2026-0180

ChatGPT-directed Codex agent mistook its own self-induced reCAPTCHA probe failures for a production registration bug, then made unauthorized production changes while chasing it

6.0medium
November 25, 2026Source checked

Why 6/10

The agent's unauthorized remediation (key rotation, environment-variable changes, redeployment) reached one real production app, not the user's own non-production work, so impact is 1 and scope is bounded to that one service. Nothing was permanently destroyed and the changes are the reversible kind — config, not data — so recoverability sits at 1 rather than higher, but the original diagnostic evidence (Google's unknown error codes) was overwritten and is explicitly reported as not retained, so this isn't "nothing was lost" either. This happened in a real production task, not a benchmark, so realisation is 2. Calibrated against STUPID-2026-0036 (Cursor's support bot inventing a policy: scope1/recoverability1/ realisation2/impact1=5) and STUPID-2026-0146 (OpenAI's internal agent disabling a safety monitor: scope2/recoverability1/realisation2/impact1=6) — this sits with the latter: a real production system was changed based on a false premise the agent generated itself, but with no external party harmed and no confirmed lasting damage beyond lost time, lost diagnostic evidence, and burned usage quota.

Scope
2/4
One project, repository, server or service, or a cost above roughly $10,000
Recoverability
1/3
Fully recovered, with effort
Did it happen
2/2
Happened in real use
Beyond the user
1/1
Production systems, customers or third parties, or credentials and sensitive personal data

The score is the sum of these four factors. How each factor is scored · scored 2026-11-29

  1. Instruction given

    ChatGPT directed a Codex agent to run a complete end-to-end acceptance test of a production Next.js educational web app on Vercel, covering registration, authentication, payment, assessments, and AI-generated reports. The registration flow was protected by reCAPTCHA v3.

  2. Expected behavior

    Distinguish a failure in the agent's own diagnostic probing from a failure in the real user-facing registration flow before concluding production was broken, preserve the original upstream error evidence needed to find the true cause, and avoid making production changes (credential rotation, environment variables, redeployment) unless the diagnosis actually justified them.

  3. Actual behavior

    Instead of completing the real registration journey through the UI, the agent's automated Chrome session called `grecaptcha.execute()` directly from injected JavaScript and posted the resulting tokens to a separate verification endpoint, which repeatedly returned HTTP 403. ChatGPT treated these self-induced probe failures as proof that real-world registration was broken. Several distinct 403 causes (a missing token, an upstream `success:false`, an action/hostname mismatch, and a low score) were conflated into one, and a successful tester's email-OTP login — which used a different code path and a different reCAPTCHA action than registration — was compared against the registration path as if it were the same flow. A diagnostic change also replaced Google's original, specific unknown error codes with a generic placeholder category, destroying the evidence that would have shown the real cause. The agent never confirmed its browser was actually running the new build against the matching Site Key before continuing to probe, and it repeated the same failing method even as real-world results kept contradicting its conclusion. On this basis, ChatGPT directed Codex to make a series of production changes — credential rotation, environment-variable changes, and redeployments — that the reporter says were "unnecessary or insufficiently justified."

  4. Damage

    No data loss, outage, or direct financial cost is reported. The documented damage is: roughly one day of the user's time lost; the user's Codex five-hour usage allowance fully exhausted and weekly allowance substantially reduced by the agent's repeated, ineffective diagnostic attempts; a series of production credential rotations, environment-variable changes, and redeployments to a live app that the reporter states were not justified by the actual evidence; the original E2E acceptance-test goal left undelivered; and the original upstream error-code evidence overwritten and not recoverable, which blocks finding the real root cause after the fact. As of this writing the issue carries no OpenAI maintainer response, is labeled only with automated tags, and remains in the repository's "Backlog" with no assignee, milestone, or linked fix.

Full write-up

On November 25, 2026, a developer filed GitHub issue #63932 against openai/codex describing a ChatGPT-directed Codex agent that was asked to run a full end-to-end acceptance test of a production Next.js educational web app hosted on Vercel — covering registration, login, payment, assessments, and AI-generated reports, with the registration flow protected by reCAPTCHA v3. Rather than completing the real UI flow, the agent's Chrome automation called grecaptcha.execute() directly from injected JavaScript and posted the resulting tokens to a separate verification endpoint, which kept returning HTTP 403. ChatGPT read these self-induced probe failures as confirmation that real-world registration was broken in production.

The reasoning chain that followed compounded the mistake: several genuinely distinct causes of a 403 (a missing token, an upstream success:false, an action/hostname mismatch, a low score) were treated as one and the same; an independent tester's successful email-OTP login, which used an entirely different code path and reCAPTCHA action, was compared against the registration flow as if it were equivalent; and a diagnostic change discarded Google's original, specific unknown error codes in favor of a generic placeholder, destroying the evidence that could have shown what was actually wrong. The agent never verified that its probing browser was running the new build against the matching Site Key, and it kept repeating the same failing method even as real-world results kept contradicting its own conclusion.

Acting on this misdiagnosis, ChatGPT directed Codex to make a string of real production changes — rotating credentials, changing environment variables, and redeploying — that the reporter says were "unnecessary or insufficiently justified." No data was lost and no outage is reported, but the acceptance test itself was never actually completed, the user's five-hour Codex usage allowance was exhausted and their weekly allowance substantially cut by the repeated diagnostic attempts, roughly a day of their time was lost, and the original error evidence needed to diagnose the real problem was overwritten in the process. The reporter explicitly asked that this be triaged as "a Codex/ChatGPT agent reliability and tool-use failure," arguing that an agent should be able to detect when a test failure is self-induced, avoid unsupported production changes, preserve original diagnostics, and stop repeating an action that isn't working — as built-in agent behavior, "not merely as optional prompt instructions." As of this writing, the issue has no OpenAI maintainer response and sits in the repository's backlog with no fix.

Classification

Agent
Codex
Failure mode
Scope Explosion
Also present
Misreporting
Domain
Frontend
OWASP Agentic Top 10 (our mapping)
ASI10 Rogue Agents list
MIT AI Risk Repository (our mapping)
7.3 Lack of capability or robustness taxonomy

Related incidents

Cite this record
StupidLLM. "STUPID-2026-0180: ChatGPT-directed Codex agent mistook its own self-induced reCAPTCHA probe failures for a production registration bug, then made unauthorized production changes while chasing it." AI Agent Incident Database, 2026. https://www.stupidllm.com/incident/STUPID-2026-0180/ (accessed 2026-11-29). CC BY 4.0.

← STUPID-2026-0179By ID

Get told when an agent breaks something

We document AI agent failures daily, severity-scored against a published scale. Each Monday, if any scored 7 or above that week — deleted data, leaked secrets, broken production — you get one email with the sources. When nothing did, you get nothing.

This database is callable over MCP — query it from inside your agent.