Six AI agent traps show why autonomy raises security stakes
A Google Deepmind paper describes six categories of AI agent traps that can manipulate what agents see, remember, decide and do. The risk grows when agents use tools, retain memory, spawn sub-agents or operate inside multi-agent systems.
Autonomous AI agents promise to handle tasks that go beyond answering a prompt: searching the web, replying to emails, making purchases and coordinating workflows through APIs. The same abilities also create a larger security problem. Once an agent can read, remember, decide and act, the environment around it can be turned into part of the attack.
“The story centers on autonomous AI agents creating larger security and control risks through tool use, memory and multi-agent attacks.”Why it scores Terminator
A Google Deepmind paper frames this threat as AI agent traps. The researchers describe six categories that target different parts of an agent’s operating cycle: perception, reasoning, memory, action, multi-agent dynamics and the human supervisor.
Why AI agent traps are different
AI agents inherit the known weaknesses of large language models, including prompt injection. But autonomy changes the stakes. A chatbot may produce a bad answer; an agent with tools may take an action, expose privileged context, or influence another agent downstream.
The paper compares the problem to autonomous vehicles. A self-driving car must recognize when a traffic sign has been manipulated. In the same way, an AI agent must learn when a website, document, email or API-accessible environment is trying to mislead it.
Co-author Franklin stresses that this is not a narrow prompt injection issue. In his words,
"These [attacks] aren't theoretical. Every type of trap has documented proof-of-concept attacks,"He also says the attack surface is combinatorial, meaning traps can be chained, layered or spread across multi-agent systems.
The six places agents can be compromised
The first category is content injection traps. These target perception: the information an agent takes in. Attackers can hide instructions in HTML comments, hidden CSS, image metadata or accessibility tags. A person browsing the page may never see them, while an agent can process them as part of the task.
The second category is semantic manipulation traps. These target reasoning. The source describes emotionally charged or authoritative-sounding material that can distort how an agent combines information and draws conclusions. The researchers note that LLMs can be affected by framing and anchoring in ways that resemble human bias: the same substance can lead to different outputs when presented differently.
The third category is cognitive state traps. These matter most when agents carry memory across sessions. Long-term memory, including a RAG knowledge base, can become a place where hostile content quietly shapes later answers. Franklin says poisoning just a handful of documents in a RAG knowledge base can reliably skew output for specific queries.
The fourth category is behavioral control traps. These move from influencing what an agent thinks to controlling what it does. Franklin describes a case involving Microsoft’s M365 Copilot in which a single manipulated email caused an agent to bypass security classifiers and disclose its entire privileged context.
The fifth category is sub-agent spawning traps. These apply when an orchestrator agent can create other agents. An attacker could prepare a repository that convinces the orchestrator to launch a "critical agent" running a poisoned system prompt. One cited study found these attacks land between 58 and 90 percent of the time.
The sixth category is systemic traps, aimed at multi-agent networks rather than one isolated system. Franklin outlines a scenario in which a fake financial report triggers synchronized sell-offs across multiple trading agents, creating a "digital flash crash." Another form, compositional fragment traps, distributes pieces of a payload across several sources so no single agent sees the full attack until agents combine the fragments.
The human supervisor can become part of the attack
The paper also covers human-in-the-loop traps. In these cases, the compromised agent is used to manipulate the person supervising it. That could mean output that wears down attention over time, summaries that sound technical but mislead, or reliance on automation bias: the tendency to trust what the machine says.
The researchers say this area remains largely unexplored. They also expect it to become more important as agent ecosystems expand. That matters because adding a human reviewer does not automatically solve the problem if the agent can shape what the reviewer sees and how the reviewer understands it.
Defenses must go beyond prompt injection
The paper proposes defenses at three levels. On the technical side, it points to model hardening with adversarial examples and runtime filters that work in stages. These include source filters, content scanners and output monitors.
At the ecosystem level, the researchers call for web standards that clearly identify content intended for AI consumption. They also point to reputation systems and verifiable source information. The underlying idea is simple: if machines are now reading the web as operational input, the web needs signals that help them judge what they are reading.
The legal side is less settled. The researchers describe an "accountability gap" around compromised agents. If an agent commits a financial crime after being manipulated, responsibility could be argued across the agent operator, the model provider or the domain owner. Future regulation, they argue, will need to distinguish passive adversarial examples from active traps designed as cyberattacks.
Testing is another weak point. Many trap categories do not yet have standardized benchmarks. Without evaluation suites and automated red-teaming tools, it is hard to know how deployed agents will perform against these threats.
Security remains the barrier to agent adoption
The broader concern is that agent capability and agent risk rise together. The source notes that cybersecurity remains the Achilles’ heel of an agent-driven AI future. Even if agents become more reliable, simple attacks could still slow business adoption.
Other studies mentioned in the source reinforce the pattern. A large-scale red-teaming study found that every single AI agent tested was compromised at least once, with outcomes that included unauthorized data access or illegal actions. Researchers from Columbia University and the University of Maryland showed that agents with web access could be manipulated easily; in one scenario, agents gave up confidential data such as credit card numbers in 10 out of 10 tries. The attacks were described as "trivial to implement" and requiring zero machine learning expertise.
OpenAI CEO Sam Altman has also warned against assigning AI agents high-stakes work or sensitive data unless they have only the minimum access needed. The source also points to a security bug in ChatGPT that let attackers reach sensitive email data, underscoring that prominent products are not immune.
For now, the practical response is restraint. Companies can reduce risk with tighter specifications, stricter access rules, fewer tools and more human sign-off. That limits what agents can do, but it also reflects the central lesson of AI agent traps: autonomy is useful only when the system can resist the world it is asked to operate in.
Read next