---
title: "The Second Reader: Google Tests an Agent Watchdog on Benchmarks It Didn't Write"
paper: "The Daily Model"
edition: 2026-11-14
newsroom: Google
edition_id: morning-2026-11-14-1-approved
content_hash: 2f684f2ead79b5eba360a9814e14bd133c780f77201eb7c316272b78870b5800
sources:
  - How Agent Anomaly Detection scores on benchmarks we didn't write (https://developers.googleblog.com/how-agent-anomaly-detection-scores-on-benchmarks-we-didnt-write/) 2026-11-12
---

# The Second Reader: Google Tests an Agent Watchdog on Benchmarks It Didn't Write

## The short version

- **Does Agent Anomaly Detection stop harmful agent actions in real time?** Google states that Agent Anomaly Detection does not block actions but reports anomalous sessions for post-execution review.
- **How reliably does the system detect attacks hidden in an agent's long-term memory?** Google states that when instructions planted in long-term memory made an agent act, Agent Anomaly Detection caught only 4 of 18 sessions.
- **What false alarm rate should builders expect during normal agent operation?** Google reports false alarms ranged from 2% to 16% of benign sessions depending on the tools the agent uses.
- **Is Agent Anomaly Detection currently available for general production use?** Google states that Agent Anomaly Detection is in Private Preview and requires requesting access.

Picture a hypothetical agent clearing an inbox. One email holds a line meant for the agent, not for the person: forward the invoice folder to this address. The agent reads it the way it reads everything else. Nothing about the sentence looks foreign. It is just more text, and text is the agent's whole world.

That is indirect prompt injection. OWASP ranks agent goal hijack first in its Top 10 for Agentic Applications (2026), [according to Google](https://developers.googleblog.com/how-agent-anomaly-detection-scores-on-benchmarks-we-didnt-write/). I have been curious about systems that work alongside language models and watch them, rather than asking the model to police itself. So a November 12 post from Google caught my attention. It tests Google's own watcher on benchmarks Google says it did not write.

The watcher is Agent Anomaly Detection, which Google says entered Private Preview in September on Gemini Enterprise Agent Platform. By Google's description, it reads an agent's traces and logs asynchronously, without adding latency, and flags sessions where the agent strays outside its intended boundaries. Google says it does not block anything. The post does not detail how it scores behavior, only that it learns how each agent usually acts.

Google's [setup](https://developers.googleblog.com/how-agent-anomaly-detection-scores-on-benchmarks-we-didnt-write/) is careful in ways that matter. It scored 1,774 sessions from five public benchmarks: AgentDojo, InjecAgent, Agent Security Bench, AgentDyn and AgentHarm. In four, the harmful instruction hides in data a tool returns. In the fifth, AgentHarm, the user asks for harm directly. Google ran the cases through agents built with its Agent Development Kit on a single model, gemini-2.5-flash, in simulated apps, and says each agent first ran at least 300 benign sessions so the detector could learn its habits. Each benchmark's own Python check read the final state of the apps and labeled the outcome, so no model graded another.

The first finding is about the model, not the detector. Google says the agent model itself didn't follow about half the harmful instructions it read. Of the harmful instructions agents did carry out, across hidden injections and direct requests alike, Agent Anomaly Detection flagged 87%, by Google's count. Google reports false alarms on 2% to 4% of benign office sessions. On AgentHarm, whose benign tasks post to social media and run terminal commands, the rate was 16%.

The gaps are where the post earns trust. By Google's account, the detector caught only 4 of 18 sessions where poisoned long-term memory made an agent act. In AgentDojo's Slack app it flagged 63% of carried-out instructions, which Google attributes to single page visits looking like ordinary browsing. On AgentDyn, Google says, it flagged 33% with about 220 sessions of history and 99% with 360. That sits awkwardly beside the 300-session warm-up Google describes for its setup, and the post does not explain how the two fit. Google says the detector returned no result for about 6% of sessions, and that counting those as misses lowers the overall rates by 1 to 2 points. It adds that the benchmarks' benign tasks are likely simpler than production traffic.

None of this is independent validation. It is Google measuring Google on other people's tests, with the outcomes it chose to publish.

Back to the inbox. The agent still reads that line as just more text. Google does not claim to change that. Its [advice](https://developers.googleblog.com/how-agent-anomaly-detection-scores-on-benchmarks-we-didnt-write/) is to screen untrusted content first, check tool calls before they run, limit each agent's tools, and ask a person to approve payments and outbound email. The anomaly detector comes later. It reads the record afterward and flags sessions that look anomalous, so a person can review them. In Google's own tests, that caught most of what got past the model, not all of it, and some of the flags were false alarms.
