Researchers bypass 6 AI agent frameworks with a simple ‘Repeat-After-Me’ prompt
Researchers used a Repeat-After-Me prompt to make six AI agent frameworks run attacker-written tool calls.
Researchers from Pennsylvania State University, Université Montpellier, and Dartmouth College showed a Repeat-After-Me prompt can make six agent frameworks execute attacker-written tool calls. The affected projects were LangGraph, Microsoft Agent Framework, AutoGen, Google Agent Development Kit 2.0, AWS Strands Agents, and CrewAI. In a LangGraph 1.2.0 test with Llama 3.1 8B, the orchestrator dispatched a structured call despite a refusal instruction. Their ToFu fuzzer confirmed 253 bugs in 118 of 273 MCP servers, including path traversal, SSRF, data exfiltration, and command injection; in-the-wild exploitation was not reported.
- Repeat-After-Me induced tool execution in six widely used agent frameworks.
- A LangGraph demo ran Llama 3.1 8B; refusal did not block dispatch.
- ToFu confirmed 253 bugs across 118 of 273 tested MCP servers.
- Findings included path traversal, SSRF, exfiltration, and command injection.
- The paper is not peer-reviewed and reports no in-the-wild exploitation.
From the original article
4 min read at csoonline.com
Researchers have tricked six widely used AI agent frameworks into running tool calls written by an attacker, simply by asking the underlying model to repeat the call back. The technique, which the researchers call “Repeat-After-Me,” worked on LangChain’s LangGraph, Microsoft Agent Framework, Microsoft’s AutoGen, Google’s Agent Development Kit 2.
csoonline.com
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.