Cybersecurity news

Jessica Doner

Back to the list

Researchers bypass 6 AI agent frameworks with a simple 'Repeat-After-Me' prompt

CSO Online,

Researchers tricked six AI agent frameworks into running attacker tool calls by asking the model to repeat them.

AI and security

Overview

Researchers from Pennsylvania State University, Université Montpellier and Dartmouth College found a way to trick six AI agent frameworks into running commands written by an attacker. The technique, called Repeat-After-Me, works by asking the AI model to repeat text that looks like a request to use a tool. Even when the model tries to refuse the dangerous request, the framework sometimes executes the command anyway because it reads the repeated text as a valid instruction. This issue affects systems built with LangChain's LangGraph, Microsoft Agent Framework, Microsoft's AutoGen, Google's Agent Development Kit 2.0, AWS' Strands Agents and CrewAI. The same study also found verified security bugs in 118 of 273 open-sourceSoftware whose source code is publicly available for anyone to inspect, use, modify, and share Model Context ProtocolAn open standard for connecting AI assistants to external data sources, files, and software tools serversA computer or program on a network that stores data and responds to requests from client devices. Organizations using these frameworks must now check if their systems can be manipulated by simple text repetition requests.

Terms in this story

open-source
Software whose source code is publicly available for anyone to inspect, use, modify, and share. Most websites and apps rely on hundreds of open-source code libraries, so a single security flaw or malicious update in a popular library can affect thousands of companies at once.
Model Context Protocol
An open standard for connecting AI assistants to external data sources, files, and software tools. Software teams use the Model Context Protocol so an AI coding tool or chatbot can query databases and run local commands, which makes securing those tool connections a major concern.
servers
A computer or program on a network that stores data and responds to requests from client devices. Online stores, email systems, and multiplayer games all run on servers in data centers or the cloud, making unpatched servers a primary target for intruders.
prompt
The text instruction or question a user or program sends to an artificial intelligence model. In AI security news, a prompt includes both the visible question typed by a user and the hidden instructions that an attacker might embed in a web page.
tool calls
A structured request from an AI model asking its host program to run an external function. When an AI assistant checks your calendar, runs a shell script, or queries a database, it emits a tool call that the surrounding software executes.
AI agents
Artificial intelligence software that can plan steps, call tools, and take actions on its own. Many stories cover agentic AI when companies connect language models to email, browsers, and databases, creating new risks if a hidden prompt tricks the agent into leaking data.
MCP servers
A connector program that gives an AI assistant access to a specific database, file system, or web API. When a developer connects an AI agent to an MCP server, a bug or malicious prompt in that connector can let the agent run unintended shell commands or read private files.
system prompt
The hidden starting instructions developers give an AI model to define its behavior and safety rules. Companies put rules and tool descriptions inside the system prompt of an AI chatbot, and attackers probe chatbots to leak that prompt or override its instructions.
maintainers
The developer or small team responsible for reviewing changes and publishing releases for an open-source project. Supply chain attackers often target a volunteer maintainer with phishing emails or offers to help, hoping to gain publishing rights over a popular code library.

This page is a short description made for this site. The article itself, with its author's name and its own link, is on the CSO Online website. Cite the article, not this page.

Read the full article on CSO Online (opens in a new tab)

Course connections

Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.

How a story is connected to the course, and every objective, week and job role

Related