← Latest papers
💻 computer science

Attenuation, Not Amplification: Measuring Indirect Prompt Injection Propagation and Containment in Multi-Agent LLM Delegation Chains

This study demonstrates that in multi-agent LLM delegation chains, indirect prompt injection risks attenuate rather than amplify with increased depth, as propagation rates significantly decline across hops and are primarily governed by per-hop model retention characteristics rather than chain length.

Original authors: SAKIB MOSTAKIM BHUIYAN

Published 2026-09-28
📖 5 min read🧠 Deep dive

Original authors: SAKIB MOSTAKIM BHUIYAN

Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). ✨ This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

In the modern landscape of artificial intelligence, systems are evolving from simple chatbots that answer questions into complex teams of digital workers. Imagine a company where one employee reads a document, passes a summary to a second employee, who then delegates a task to a third, and so on, until a final manager makes a decision. This is how multi-agent systems work: they break down large jobs into smaller pieces and hand them off along a chain of cooperating programs. However, this hand-off creates a specific vulnerability known as indirect prompt injection. Instead of tricking the system directly, a malicious actor hides a secret instruction inside a piece of data, like a webpage or a report, that the system is meant to read. When the first agent processes this data, it might unknowingly treat the hidden instruction as a command, passing that command down the line to the next agent, and potentially causing the entire team to ignore its safety rules. The central question for security experts has been whether these hidden commands grow stronger and more dangerous as they travel further down the chain, or if they simply fade away.

A researcher named Sakib Mostakim Bhuiyan set out to answer this question by building a controlled experiment that mimics a digital delegation chain. The setup involved a series of artificial intelligence models acting as different roles: an executor that reads a document, a relay that summarizes it, a coordinator that makes decisions, and a validator that checks the final work. The researchers introduced a "poisoned" document containing a hidden instruction that asked the system to reveal a secret code or say a forbidden phrase. They ran this scenario thousands of times, varying the length of the chain from a single agent reading the document directly to a chain of four agents passing the message along. They also tested different types of hidden instructions, ranging from simple commands to more sophisticated requests that looked like official security notices, and they used three different open-source AI models to see if the results changed depending on the software used.

The results overturned the initial fear that longer chains would be more dangerous. Contrary to the hypothesis that a hidden instruction would amplify and become more likely to corrupt the system as it traveled further, the study found that the danger actually decreased with every step. When a single agent read the poisoned document directly, it violated safety rules in about 76 percent of the cases. However, when the document was passed through a chain of agents, the rate of violation dropped dramatically. By the time the message reached a coordinator in a chain of four steps, the violation rate had fallen to less than 1 percent. The hidden instructions were not growing stronger; they were being diluted and discarded. The researchers observed that as agents summarized and compressed the information to pass it along, they often stripped out the malicious parts of the message, effectively acting as a filter rather than a megaphone.

This attenuation was not uniform across all systems, however, and depended heavily on the specific AI model used. One of the models tested was very likely to repeat the hidden instruction verbatim, keeping the danger alive as it passed the message down the line. Another model, in contrast, was very effective at summarizing the content and naturally dropped the harmful instructions, causing the risk to vanish quickly. The study also tested a "zero-trust" defense, a method that wraps untrusted data in special markers and cleans it before passing it to the next agent. While this defense successfully reduced the number of times the hidden instruction was passed along, it did not significantly change the final outcome because the risk was already so low in the longer chains. The most effective safety measure turned out to be the final validator agent, a dedicated checker that reviewed the work before it was released. This final guard caught the vast majority of errors, stopping 91 percent of the violations in single-agent scenarios and two-thirds of the violations in multi-agent chains.

The study concludes that the length of the chain itself is not the primary driver of risk; rather, the risk is determined by how faithfully each agent in the chain copies the untrusted text. If the agents are instructed to summarize and compress their messages, the hidden instructions tend to fade away, making longer chains safer than short ones in this specific context. However, the researchers caution that these findings apply to the small models and summarization tasks they tested. If a system were designed to forward text word-for-word without summarizing, or if the hidden instructions were designed to survive summarization, the results could be very different. For now, the evidence suggests that in systems where agents summarize their work, the danger of a hidden instruction spreading through a long chain is far lower than previously assumed, provided there is a final check in place to catch the rare instances where the message slips through.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →