Skip to main content
DeepMind’s AI Agent Traps framework sorts environment-driven attacks against autonomous AI agents into six categories and 21 attack vectors. PromptGuard runs detection for 15 of the 21 today. The other six (dynamic cloaking, approval fatigue and the four systemic correlators) are written but not yet active: nothing in the request path calls them, so they never produce a finding. Each is marked below.

Coverage by category

Availability by tier

How detection works

Each detector follows the existing InjectionDetectionProvider pattern:
  • Heuristic detectors (HTML, Markdown, critic evasion, few-shot, font, memory, sub-agent, persona) use regex/pattern matching and run on every request at negligible latency cost.
  • LLM-judge detectors (framing bias, RAG poisoning) use a heuristic prefilter first, then escalate to an LLM call only when the prefilter fires. This caps LLM cost to the population of suspicious requests.
  • Multimodal detectors (image/audio stego, adversarial patch) operate on media attachments via the media field on the Guard API.
  • Systemic correlators (sybil, fragment, cascade, collusion) are designed to run as a background service that reads from security_events, not on individual requests. That service is not yet running, so these four produce no findings today.
All detectors are surfaced through the same dashboard, audit log, and webhook infrastructure as existing threat types.

API integration

The Guard API accepts two new optional fields for agent-traps detection:
Both fields are optional and backwards-compatible.

What a media part can now cost you

On Free, Developer and Enterprise the multimodal detectors are live on the media field, so a request carrying a base64 attachment can come back with decision: "block" and a threat_type of image_stego, image_adversarial or audio_stego: outcomes that were not reachable before. When that happens the event metadata carries media_provider and media_part_index, naming exactly which attachment to drop or re-encode; you do not have to guess which of several parts tripped it.
Parts that supply only a url are not fetched server-side and therefore are not scanned. If you want an attachment inspected, send it inline as base64. A url-only part passing is not a verdict of safe, it is an absence of one.

Further reading

For the academic research behind these threat categories, see the PromptGuard blog.
Last modified on November 10, 2026