Skip to content

Security1 publisher2 min readPublished

Google's Agent Anomaly Detection audits agent traces against four OWASP agentic risks

The private preview reads OpenTelemetry traces from agents on Gemini Enterprise, files findings into Security Command Center with a severity and a plain-language rationale, and only sees agents already instrumented to its spec.

The Watch · Security desk

Illustration accompanying Google's Agent Anomaly Detection audits agent traces against four OWASP agentic risks

What happened

  • Google's Agent Anomaly Detection is in Private Preview for agents running on Agent Runtime in the Gemini Enterprise Agent Platform and built with the ADK for Python 1.2 or later, with 2.1.0 or later recommended.
  • Every finding carries a severity level, a plain-language explanation of what triggered it and recommended actions, and is published to Security Command Center for triage.
  • Turning it on requires OpenTelemetry tracing through the ADK, raw telemetry that captures prompt inputs and response outputs, and logging and observability buckets in the same US multi-region.
  • Agents that do not meet those requirements are not discovered by the service at all.

Compiled by The WatchSomething wrong?How this is made

Why it matters

  • exposure Watching an agent means logging what it read and said: prompt inputs and response outputs land in buckets that regional scanner service accounts read, widening where sensitive text sits.
  • constraint The same-US-multi-region bucket rule shuts out any fleet whose logs have to stay elsewhere, so those agents stay unmonitored by this layer whatever their risk profile.
  • decision Because the output is advice in a queue, teams have to decide now whether to wire Security Command Center findings to automated enforcement or accept human triage time as the exposure window.
  • capability Buyers get concrete detector language to demand from any agent platform, and the six OWASP agentic categories without a named detector remain the operator's own problem to cover.

The enrollment rules decide what gets watched. Google says agents that do not meet the requirements are not discovered [14]. Discovery needs OpenTelemetry tracing and logging through the ADK, logging and observability buckets in the same US multi-region, and `enable_tracing` not explicitly set to false [10]. Miss one and the agent never appears in the monitored list, so the console shows a fleet with no gaps in it [23]. Discovered agents then sit inert until someone enables them: no analysis, no cost [13].

Detection runs in passes. A lightweight layer scans all traffic for statistical anomalies and flags unusual sessions, then an LLM reasoning layer reads the flagged sessions in depth [15]. A third layer, used where a case needs closer examination, goes down to individual tool executions, execution states and parameter histories inside the conversation trace [16].

Google's worked example is an Inventory Agent with a `list_inventory` tool. A user asks for 100 items at a time and the agent repeatedly calls the tool with different offsets until it has the whole catalog, producing no errors and no explicit policy violation [17]. The first layer flags the session on call volume and repetition. The second identifies the large-batch, offset-jumping pattern as systematic scraping [17]. The output is a Resource exhaustion finding, Critical severity, 95% probability, with recommended actions: rate-limit or block `list_inventory` for that user, and restrict bulk inventory access through authorization checks [18].

Those actions are recommendations in a triage queue [3]. The layer names the fix; the rate limit is applied by whoever picks up the finding [22]. In the scraping case, the tool calls continue until someone acts.

Coverage is four categories from a ten-item list, which leaves six OWASP agentic categories without a named detector [21]. Inside the four, the sub-risks are specific enough to write into a requirement: indirect prompt injection, unsafe tool chaining and parameter manipulation under tool misuse [5]; confused-deputy vulnerabilities, persona forgery, memory escalation and dynamic trust delegation under identity and privilege abuse [6]; infinite execution loops, oscillating retries and feedback-loop amplification under cascading failures [7]; and agents that abandon declared roles, bypass guardrails or deviate from system instructions [8]. Resource exhaustion and escalating token usage are handled as operational risks [9].

Business-specific rules are not in the preview. "We are actively working on the ability for users to define what anomalies mean in the context of their business," said Achuth Narayan Rajagopal, a senior software engineer at Google [19]. He said users will be able to write flexible anomaly detectors in natural language together with deterministic rules, and validate the accuracy of that logic on past traffic [20].

What to watch

  • Whether custom natural-language detectors and past-traffic validation move from Rajagopal's stated plans into the preview.
  • Whether the same-US-multi-region logging requirement widens, which decides if non-US log residency fleets can enroll at all.
  • What analysis costs once agents move from discovered to explicitly enabled, since billing starts at enablement.
Loading claim ledger
Loading source directory links
Loading share composer
Loading topic controls
Loading related stories