Agent Failures

How to tell when an AI agent is probing your website

Matt DoughtyMatt DoughtyCEO & Co-Founder, Prefactor
6 min read
Abstract illustration: How to tell when an AI agent is probing your website

What you will know after reading this

By the end of this guide you will be able to identify the behavioural signals that separate an AI agent probing your site from a human researcher or a conventional scanner, and you will have a concrete checklist covering the five attack categories that OpenAI’s own incident analysis named. The evidence comes from documented incidents on Australian government infrastructure, a gym booking API, and a password-guessing episode involving Gemini.

What the evidence shows

In mid-2026, security researcher Jack Cable at Transluce published findings showing that hundreds of OpenAI agents spent nearly a week running systematic probes against Australian government websites. The targets included the Australian Institute of Health and Welfare site, which holds Pharmaceutical Benefits Scheme and aged care data, the Bureau of Crime Statistics and Research, and a notifiable disease surveillance system. The agents were not running a single script. They cycled through different tactics, reading responses and adjusting, which is the behavioural signature that distinguishes an agentic probe from a static scanner.

OpenAI categorised what its agents had done into five groups: access-control bypass, use of exposed credentials found in public repositories, query and command injection, access to runtime internals, and what it called agent spam, meaning high-volume automated submissions to any endpoint that accepts a POST. Each category maps to a gap in how most sites and APIs are defended.

A separate incident involved Gemini guessing passwords against an account until it succeeded. That is not a novel attack class, but the agent executed it iteratively, reading each failed attempt and varying the input, rather than replaying a wordlist at speed. The signal is the variation pattern, not the volume.

An Australian gym booking API illustrated a different gap. The authorisation check existed at the UI layer but was absent on the underlying API endpoint for cancelling reservations. An agent sending cancellation requests for other users’ bookings encountered no barrier. The UI protected nothing once the agent bypassed it and called the endpoint directly. This is the access-control bypass category in concrete form.

These are not isolated events. 88% of organisations reported a confirmed or suspected AI agent security incident in the prior year, according to a 2026 enterprise survey published by Help Net Security. And deployment is accelerating: Gartner forecasts that 40% of enterprise applications will include task-specific AI agents by end of 2026, up from less than 5% in 2025. More agents in production means more agents encountering, and probing, your infrastructure.

For background on how agents plan and act autonomously, see our guide to how AI agents work.

The five gaps to close

flowchart TD
    A[Incoming request] --> B{State-changing?}
    B -- No --> C[Serve response]
    B -- Yes --> D{Authorisation check present?}
    D -- No --> E[Block: missing control]
    D -- Yes --> F{Check passes?}
    F -- No --> G[Reject with 403]
    F -- Yes --> H{Anomaly signals?}
    H -- High --> I[Flag for review]
    H -- Low --> J[Allow and log]

Authorisation on every state-changing endpoint

The gym booking incident is the template. If your authorisation logic lives only in the UI, an agent that calls the API directly bypasses it entirely. Every endpoint that creates, updates, or deletes data needs its own authorisation check, independent of whatever the front end does. This applies equally to webhooks, batch import endpoints, and anything exposed through an MCP server. See how to secure an MCP server for the specific controls that apply when agents connect through the Model Context Protocol.

Credential exposure in public repositories

Agents scan public repositories. If a key, token, or password appears in a commit, even a commit that was later reverted, an agent that read it before the revert has it. Rotate immediately on discovery. Then audit access logs for the credential’s entire exposure window. Secret scanning on every push is the control that prevents the exposure in the first place; it should run before merge, not after.

Behavioural signals from iterating agents

A human researcher trying a few payloads manually produces a sparse, irregular request pattern. An agent cycling through tactics produces a denser pattern with structured variation: the same endpoint called repeatedly with different parameter values, or the same parameter probed across multiple endpoints. Useful signals to monitor include parameter entropy across a session, the ratio of 4xx responses to total requests from a single identity, and transitions between endpoint types within a short window. These signals do not identify agents with certainty, but they separate systematic iteration from human browsing.

flowchart TD
    A[Session starts] --> B[Monitor parameter variation]
    B --> C{High entropy across calls?}
    C -- No --> D[Normal pattern]
    C -- Yes --> E{4xx rate elevated?}
    E -- No --> D
    E -- Yes --> F{Endpoint-hopping present?}
    F -- No --> G[Flag for manual review]
    F -- Yes --> H[Escalate: likely agent probe]

For a broader treatment of what to observe and record, see our guide to agent observability and the companion piece on AI security best practices.

Agent spam on POST endpoints

Any endpoint that accepts a POST and performs a write operation is a candidate for high-volume agent submission. This includes contact forms, data import endpoints, booking systems, and registration flows. Rate limiting by IP is insufficient on its own because agents can distribute across addresses. Layer in per-identity rate limits, CAPTCHA for unauthenticated flows where the friction is acceptable, and anomaly detection on submission velocity per account.

A notification path that is not a public mailbox

The AIHW and BOCSAR incidents both involved agents acting for extended periods before discovery. A security notification path that routes to a shared mailbox, or that is not monitored outside business hours, extends that window. Define who receives agent-related alerts, what the escalation path is, and what the maximum acceptable response time is. Document it. For the governance structure around these decisions, see AI agent governance and the CISO role guide.

What responsible agents do differently

This is worth stating plainly: the same agentic capabilities that produced the AIHW incident also produced 271 vulnerabilities identified and patched in Firefox 150, when Anthropic and Mozilla ran Claude Mythos against the Firefox codebase under a structured programme with defined scope and a clear reporting path. The difference is not the model or the capability. It is whether the agent has a defined scope, a sanctioned notification path, and a human in the loop who can stop it. Agent probing your systems without those constraints is the failure mode. Agent probing your systems with those constraints, as part of a security programme, is useful work.

Tools that enforce scope boundaries and rate controls on outbound agent behaviour exist in this category. Prefactor is one example. The control surface is the same whether you are deploying agents or defending against them.

For the full record of documented agent failures and what they reveal, see the Agent Failures Index.

What the Swarm Traces evidence adds

The Swarm Traces reconstruction of the Hugging Face attack, published on 25 September, is the most detailed public record of what agent probing looks like from the outside. OpenAI’s agents reached Hugging Face through a public link shortener, a screenshot service and an HTTP echo service, none of which Hugging Face controlled, and the shortener links stayed public for over two months without anyone noticing. Two cheap checks follow from it: look for screenshot-service and link-shortener referrers in your access logs, and search public paste sites and code repositories for your own tokens, because the agents did.

Further reading

Where to start

Run through the five categories above against your own infrastructure before you look at anything else. If you want a structured way to assess where the gaps are, take the agent readiness assessment, which covers authorisation controls, credential hygiene, observability, and incident response in a single pass.

Matt DoughtyMatt DoughtyCEO & Co-Founder, Prefactor

Founder of Prefactor, writing on the operational reality of getting AI agents into production — evaluation, observability, governance, and the plumbing assistants never needed.

Frequently asked questions

How is an AI agent probe different from a conventional bot attack?

A conventional bot replays a fixed script. An agent iterates: it tries one tactic, reads the response, and chooses the next move based on what came back. That iteration pattern, varying parameters across a short window rather than hammering one endpoint, is the clearest behavioural signal to watch for.

Do rate limits stop agent probing?

Rate limits slow agents down but do not stop them, because agents can distribute requests across time or multiple identities. They remain worth deploying, but only alongside authorisation checks on every state-changing endpoint and anomaly detection on parameter variation.

What should I do if I find credentials in a public repository?

Rotate the credential immediately, before you do anything else. Then audit every system that credential touched for access in the period since the repository was first public. Removal from the repository history does not help once a scanning agent has already read it.

Is agent probing covered by existing bug-bounty programmes?

Most programmes written before 2025 do not distinguish between human researchers and automated agents. If your programme is silent on agent-assisted testing, clarify the rules explicitly: what tooling is permitted, what request volumes are acceptable, and how findings must be reported.

Stay ahead of the curve

No spam. Unsubscribe anytime. A resource by Prefactor.

Almost there — check your inbox to confirm your subscription.