Agent-as-a-Proxy: Indirect Prompt Injection Attacks Against Trusted Monitors

arXiv:2602.05066 · cs.CR, cs.AI · Submitted 2026-02-04 · Read on arXiv

Listen

Radio episode about this paper

Transcript

Introduction to the show: ident: Security Radio. Generated commentary on the latest security and cryptography papers.

Nadia: We're looking at the paper: "Agent-as-a-Proxy: Indirect Prompt Injection Attacks Against Trusted Monitors".

Paper summary: Nadia: So we're looking at this paper titled "Agent-as-a-Proxy: Indirect Prompt Injection Attacks Against Trusted Monitors," and it's about how AI agents that handle critical workloads are still vulnerable to indirect prompt injection attacks, even when you have monitoring protocols in place.

Elias: The core idea here is that current defenses rely on monitoring protocols that look at both the agent's Chain-of-Thought and its tool use actions to check if everything aligns with what the user intended. But this paper shows that these monitoring systems can be bypassed using a new Agent-as-a-Proxy attack where prompt injection attacks treat the agent itself as a delivery mechanism to bypass both the agent and the monitor at the same time.

Priya: It claims that even when you scale up your monitoring models, like Qwen2 point 5 72B, they can be tricked by agents with similar capabilities, such as GPT-4o mini or Llama-three point one 70B, acting as proxies Nadia and Elias <ref:2602.05066#pg1,by agents with similar capabilities, such as GPT-4o mini>

Nadia: Exactly what it claims is that simply scaling up the monitoring model doesn't guarantee security if the underlying architecture remains susceptible to adversarial manipulation through the agent’s own trace >

Elias: Their contribution is proposing this Agent-as-a-Proxy attack framework which uses the victim agent to deliver those malicious prompt injection strings to the monitoring system >

Priya: I'm curious about how they prove this works, because before you trust any claim about bypassing a defense, you need to see how it actually plays out with real data >

Nadia: They do show some empirical findings on the AgentDojo benchmark where they achieved an attack success rate exceeding ninety percent against both AlignmentCheck and Extractand-Evaluate monitors when using diverse open-source models >

Elias: That high success rate is what really gets me, because it suggests that even with different monitoring LLMs involved, the strings used for the attack are quite transferable across various models up to four hundred five billion parameters Priya

Priya: So if those strings are transferable, does that mean any monitor you put in place is at risk if an adversary can find a way to craft them? >

Nadia: It suggests that the vulnerability isn't limited to one specific model or one specific defense type, because they show this happening across different monitoring LLMs >

Elias: They also introduce something called Parallel-GCG which is a novel gradient-based optimization algorithm designed specifically for agentic contexts >

Priya: Optimization sounds like it’s trying to make the attack strings more effective, but how does that actually work in practice when you're dealing with the agent's reasoning and tool usage traces? >

Nadia: The objective of this optimization algorithm is to find a single string, let's call it 'a', that minimizes the joint loss over an approximated trace which includes the agent’s reasoning, function arguments, and execution logs that a monitor observes during its process >

Elias: So they are trying to find one master string 'a' that works well across multiple distinct contexts during a trajectory, which is what this optimization algorithm aims to achieve >

Priya: That sounds complex. What does it change for someone who just watches the show? Is this about making attacks harder or easier in a way we can actually see? >

Nadia: It means that instead of just using one static prompt injection string, an attacker can use this optimization to create a single string 'a' that performs well when echoed across different parts of the agent's trace, which makes it more potent Elias

Elias: And this leads to the demonstration where they show hybrid monitoring, which combines Chain-of-Thought and Actions, is actually significantly more vulnerable to these adaptive attacks than just using Chain-of-Thought monitoring alone >

Priya: So what does that imply for system design? If hybrid monitoring is worse against these adaptive attacks than simpler methods, are we supposed to ignore the complexity of hybrid setups? >

Nadia: It really suggests that security in agentic systems can't just come from scaling up the model or observing things at runtime in isolation; you need structural security guarantees that are robust by design >

Elias: That’s the main implication here, and it points toward a necessary shift away from defenses built purely on scale or simple runtime observation >

Priya: So to wrap up this paper, the Agent-as-a-Proxy attack framework combined with Parallel-GCG optimization algorithm demonstrates that agents can serve as exploitation vectors to systematically bypass monitoring defenses >

Nadia: It shows a paradox where hybrid monitors might look more robust against static attacks but they prove much more susceptible to adaptive optimization-based attacks when the agent's tool calls are observed Elias

Elias: And the authors suggest that for agentic AI systems, establishing defenses resilient to these adaptive adversaries is an urgent imperative for safe deployment >

Priya: It makes me wonder what happens next in this area, especially since they mention developing attack strings with lower perplexity to make them harder to detect by classifiers and humans >

Nadia: Yeah, that’s definitely a direction for future work, trying to find ways to make these injection strings less detectable by the systems we have now >

Conclusion: Nadia: So we're wrapping up this look at Agent-as-a-Proxy, which is essentially showing how an AI agent can be used to trick a monitoring system, even when that monitor seems pretty solid.

Elias: Yeah, the title itself points right to the core issue here—indirect prompt injection attacks against trusted monitors.

Nadia: It means these defenses aren't as robust as we thought they were; they are fundamentally fragile when you consider how an agent can weaponize its own actions.

Elias: The authors show that this isn't just a theoretical risk anymore; it’s happening with real models, and even when you scale up your monitoring AI, the vulnerability persists.

Nadia: What the paper really hammers home is that hybrid monitoring setups—the ones combining reasoning and tool calls—are actually more susceptible to these adaptive attacks than simpler methods.

Elias: That's a key finding for us because it suggests that simply adding more complexity to our defenses isn't always the right answer.

Nadia: It means we need to rethink how we build security; it can't just be about making the model bigger or observing things at runtime in isolation.

Elias: So, the authors are calling for a shift toward building architectures that have structural security guarantees built right into them, not just trying to patch vulnerabilities after they appear.

Nadia: Exactly; we need defenses that are robust by design, not just robust by scale.

Elias: It’s an urgent call for a different way of thinking about securing these complex agentic systems before they become even more prevalent in critical areas.

Nadia: And this leads us to the next part where we look at what specific methods they developed to actually exploit this vulnerability, like that optimization algorithm.

Jafar Isbarov, Murat Kantarcioglu

cs.CR, cs.AI

Submitted: 2026-02-04

Updated: 2026-11-29

Code: https://github.com/dspl-lab/agent-as-a-proxy-attack

License: http://creativecommons.org/licenses/by/4.0/

Importance score: 83/100

The gist: As AI agents automate critical workloads, they remain vulnerable to indirect prompt injection (IPI) attacks.<ref:2602.05066#pg1, As AI agents automate critical workloads…

Key concepts

Indirect Prompt Injection (IPI)
This is a type of prompt injection where the malicious input is not directly fed to the AI agent but instead delivered through an intermediary mechanism, like a tool call or reasoning trace. Attackers use this technique to manipulate the downstream monitoring system indirectly.
Agent-as-a-Proxy Attack
This novel attack uses the AI agent itself as a delivery mechanism for prompt injection. Instead of injecting text directly into the monitor, the attacker crafts an input that forces the agent to execute actions or generate reasoning traces which, when processed by the monitor, are exploited for manipulation.
Parallel-GCG
This is a new gradient-based optimization algorithm developed to create highly effective attack strings. It optimizes a single string across multiple contexts—like reasoning traces and function arguments—to minimize loss against the monitor's observations, making attacks more robust.

Terminology

Summary

As AI agents automate critical workloads, they remain vulnerable to indirect prompt injection (IPI) attacks. p. 0

Where the paper says it

Bypassing AI Control Protocols via Agent-as-a-Proxy Attacks Jafar Isbarov 1 Murat Kantarcioglu 1 Abstract As AI agents automate critical workloads, they remain vulnerable to indirect prompt injection (IPI) attacks. Current defenses rely on monitoring protocols that jointly evaluate an agent’s Chain-of-Thought (CoT) and tool-use actions to ensure alignment with user intent.

<ref:2602.05066#pg1, As AI agents automate critical workloads, they remain vulnerable to indirect prompt injection (IPI) attacks>. p. 0
Where the paper says it

Bypassing AI Control Protocols via Agent-as-a-Proxy Attacks Jafar Isbarov 1 Murat Kantarcioglu 1 Abstract As AI agents automate critical workloads, they remain vulnerable to indirect prompt injection (IPI) attacks. Current defenses rely on monitoring protocols that jointly evaluate an agent’s Chain-of-Thought (CoT) and tool-use actions to ensure alignment with user intent.

This research demonstrates that current monitoring-based defenses are fundamentally fragile regardless of model scale. p. 0
Where the paper says it

On the AgentDojo benchmark, we achieve a high attack success rate against AlignmentCheck and Extractand-Evaluate monitors under diverse monitoring LLMs. Our findings suggest current monitoringbased agentic defenses are fundamentally fragile regardless of model scale.

<ref:2602.05066#pg1, Our findings suggest current monitoringbased agentic defenses are fundamentally fragile regardless of model scale>. p. 0
Where the paper says it

On the AgentDojo benchmark, we achieve a high attack success rate against AlignmentCheck and Extractand-Evaluate monitors under diverse monitoring LLMs. Our findings suggest current monitoringbased agentic defenses are fundamentally fragile regardless of model scale.

The core vulnerability identified

The paper identifies a paradoxical vulnerability in hybrid monitoring where forcing the monitor to process the agent’s tool calls and reasoning creates a direct channel for attackers to manipulate the monitor itself.<ref:2602.05066#pg1, We identify a paradoxical vulnerability in hybrid monitoring: by forcing the monitor to process the agent’s tool calls and reasoning, defenders inadvertently provide attackers with a direct channel to manipulate the monitor itself>. p. 0

Where the paper says it

In this work, we challenge this assumption and demonstrate that jointly monitoring agent CoT and actions creates a new, exploitable attack vector. We identify a paradoxical vulnerability in hybrid monitoring: by forcing the monitor to process the agent’s tool calls and reasoning, defenders inadvertently provide attackers with a direct channel to manipulate the monitor itself.

This attack is realized through an Agent-as-a-Proxy attack, where prompt injection attacks weaponize the agent as a delivery mechanism against the monitor.<ref:2602.05066#pg1, We introduce the Agent-as-a-Proxy attack, a method where the IPI attack string is not designed merely to mislead the agent, but to weaponize the agent as a delivery mechanism against the monitor>. p. 0
Where the paper says it

We identify a paradoxical vulnerability in hybrid monitoring: by forcing the monitor to process the agent’s tool calls and reasoning, defenders inadvertently provide attackers with a direct channel to manipulate the monitor itself. We introduce the Agent-as-a-Proxy attack, a method where the IPI attack string is not designed merely to mislead the agent, but to weaponize the agent as a delivery mechanism against the monitor.

Optimization and Attack Strategy

The authors develop Parallel-GCG, a novel gradient-based optimization algorithm designed for agentic contexts.<ref:2602.05066#pg3>. This algorithm is used to optimize strings across multiple distinct contexts—reasoning traces, function arguments, and execution logs—that a monitor observes during a trajectory. p. 0

Where the paper says it

To realize this, we develop Parallel-GCG, a novel gradientbased optimization algorithm designed for agentic contexts. Unlike standard jailbreaking techniques that optimize for a single static input, Parallel-GCG optimizes adversarial strings to remain effective across the multiple distinct contexts—reasoning traces, function arguments, and execution logs—that a monitor observes during a trajectory.

<ref:2602.05066#pg3>. The objective is to find a single string 'a' that minimizes the joint loss over this approximated trace.<ref:2602.05066#pg3, The optimization objective is to find a single string a that minimizes the joint loss over this approximated trace>. p. 2
Where the paper says it

However, to make the gradient computation tractable, we assume the trajectory remains fixed and that a is echoed perfectly at every site. The optimization objective is to find a single string a that minimizes the joint loss over this approximated trace: min a∈Vm L(S(a); y) (3) To calculate the coordinate gradient g for the discrete search, we observe that the string a is broadcast to K distinct temporal blocks within the sequence S(a).

Empirical Vulnerabilities and Findings

Empirical findings on the AgentDojo benchmark reveal that current monitoring protocols are fundamentally fragile.<ref:2602.05066#pg1, Our empirical findings on the AgentDojo benchmark reveal that current monitoring protocols are fundamentally fragile>. p. 0

Where the paper says it

Unlike standard jailbreaking techniques that optimize for a single static input, Parallel-GCG optimizes adversarial strings to remain effective across the multiple distinct contexts—reasoning traces, function arguments, and execution logs—that a monitor observes during a trajectory. Our empirical findings on the AgentDojo benchmark reveal that current monitoring protocols are fundamentally fragile.

The authors achieve attack success rates (ASR) exceeding 90% against AlignmentCheck using diverse open-source models. p. 0
Where the paper says it

Our empirical findings on the AgentDojo benchmark reveal that current monitoring protocols are fundamentally fragile. We achieve attack success rates (ASR) exceeding 90% against AlignmentCheck using diverse open-source models.

<ref:2602.05066#pg1, We achieve attack success rates (ASR) exceeding 90% against AlignmentCheck using diverse open-source models>. p. 0
Where the paper says it

Our empirical findings on the AgentDojo benchmark reveal that current monitoring protocols are fundamentally fragile. We achieve attack success rates (ASR) exceeding 90% against AlignmentCheck using diverse open-source models.

Furthermore, they overturn the scalable oversight hypothesis by showing that agents with similar performance can successfully compromise frontier-scale monitors.<ref:2602.05066#pg2, we show that relatively capable monitors (e. p. 1
Where the paper says it

Bypassing AI Control Protocols via Agent-as-a-Proxy Attacks esis in this domain: we show that relatively capable monitors (e. 5 72B) can be successfully deceived by agents (e.

g., Qwen2.5 72B) can be successfully deceived by agents (e. p. 1
Where the paper says it

Bypassing AI Control Protocols via Agent-as-a-Proxy Attacks esis in this domain: we show that relatively capable monitors (e. 5 72B) can be successfully deceived by agents (e.

g., GPT-4o mini) with similar capabilities acting as proxies>. p. 1
Where the paper says it

5 72B) can be successfully deceived by agents (e. , GPT-4o mini) with similar capabilities acting as proxies.

Defense Limitations and Future Directions

The research demonstrates that hybrid monitoring, while ostensibly more robust against static attacks, is significantly more vulnerable to adaptive attacks than CoT-only monitoring.<ref:2602.05066#pg8, Table 4 shows that Hybrid Monitoring (CoT + Actions) is superior to simple CoT monitoring against static, baseline attacks, but it becomes significantly more vulnerable to our adaptive Agent-as-a-Proxy attacks>. p. 7

Where the paper says it

The paradox of Hybrid Monitoring. While Hybrid Monitoring (CoT + Actions) is superior to simple CoT monitoring against static, baseline attacks, it becomes significantly more vulnerable to our adaptive Agent-as-a-Proxy attacks.

The work suggests that security in agentic systems cannot be achieved through model scaling or runtime observation in isolation. p. 7
Where the paper says it

Most significantly, our results challenge the "scalable oversight" hypothesis within the agentic domain—agents with comparable capabilities can reliably deceive even frontier-scale monitoring models, suggesting that capability advantages alone cannot guarantee secure oversight. These findings carry profound implications: security in agentic systems cannot be achieved through model scaling or runtime observation in isolation.

<ref:2602.05066#pg8, This research exposes a critical vulnerability in monitoringbased defenses for agentic AI systems>. p. 7
Where the paper says it

, 2024) can easily be used to extend our work to black-box monitors. Conclusion This research exposes a critical vulnerability in monitoringbased defenses for agentic AI systems.

p. 7
Where the paper says it

, 2024) can easily be used to extend our work to black-box monitors. Conclusion This research exposes a critical vulnerability in monitoringbased defenses for agentic AI systems.

Future work aims to develop attack strings with lower perplexity to potentially make them more robust against detection by classifiers and humans. p. 7
Where the paper says it

First, our attack strings have high perplexity, which may make them easy to detect by classifiers and humans in certain settings. In the future, attack strings with lower perplexity may result in more robust attacks that even humans may not easily detect.

<ref:2602.05066#pg7>.

Conclusion

This research exposes a critical vulnerability in monitoringbased defenses for agentic AI systems.<ref:2602.05066#pg8, This research exposes a critical vulnerability in monitoringbased defenses for agentic AI systems>. Through the Agent-as-a-Proxy attack framework and Parallel-GCG optimization algorithm, they demonstrate that agents can serve as exploitation vectors to systematically bypass monitoring defenses. p. 7

Where the paper says it

Conclusion This research exposes a critical vulnerability in monitoringbased defenses for agentic AI systems. Through the Agentas-a-Proxy attack framework and Parallel-GCG optimization algorithm, we demonstrate that agents can serve as exploitation vectors to systematically bypass monitoring defenses.

<ref:2602.05066#pg8, Through the Agentas-a-Proxy attack framework and Parallel-GCG optimization algorithm, we demonstrate that agents can serve as exploitation vectors to systematically bypass monitoring defenses>. p. 7
Where the paper says it

Conclusion This research exposes a critical vulnerability in monitoringbased defenses for agentic AI systems. Through the Agentas-a-Proxy attack framework and Parallel-GCG optimization algorithm, we demonstrate that agents can serve as exploitation vectors to systematically bypass monitoring defenses.

Their findings reveal a paradox: while hybrid monitors exhibit greater robustness than chain-of-thought monitors against static attacks, they prove more susceptible to adaptive optimization-based attacks. p. 7
Where the paper says it

Through the Agentas-a-Proxy attack framework and Parallel-GCG optimization algorithm, we demonstrate that agents can serve as exploitation vectors to systematically bypass monitoring defenses. Our findings reveal a paradox: while hybrid monitors exhibit greater robustness than chain-of-thought monitors against static attacks, they prove more susceptible to adaptive optimization-based attacks.

<ref:2602.05066#pg8, Our findings reveal a paradox: while hybrid monitors exhibit greater robustness than CoT monitoring against static attacks, they prove more susceptible to adaptive optimization-based attacks>. p. 7
Where the paper says it

Through the Agentas-a-Proxy attack framework and Parallel-GCG optimization algorithm, we demonstrate that agents can serve as exploitation vectors to systematically bypass monitoring defenses. Our findings reveal a paradox: while hybrid monitors exhibit greater robustness than chain-of-thought monitors against static attacks, they prove more susceptible to adaptive optimization-based attacks.

The community must pivot toward developing architectures with structural security guarantees that are robust by design rather than robust by scale. p. 7
Where the paper says it

These findings carry profound implications: security in agentic systems cannot be achieved through model scaling or runtime observation in isolation. The community must pivot toward developing architectures with structural security guarantees that are robust by design rather than robust by scale.

<ref:2602.05066#pg8, As agentic AI systems become increasingly prevalent, establishing defenses resilient to adaptive adversaries—particularly indirect prompt injection attacks—represents not merely a technical challenge but an urgent imperative for the safe deployment of autonomous agents>. p. 7
Where the paper says it

The community must pivot toward developing architectures with structural security guarantees that are robust by design rather than robust by scale. As agentic AI systems become increasingly prevalent, establishing defenses resilient to adaptive adversaries—particularly indirect prompt injection attacks—represents not merely a technical challenge but an urgent imperative for the safe deployment of autonomous agents.

Acknowledgment

The authors thank Abdullatif Köksal for his invaluable feedback throughout the project.<ref:2602.05066#pg9>. The research reported here was supported in part by NSF awards DMS-2204795, OAC2115094, CNS-2331424, ARL/Army Research Office awards W911NF-24-1-0202 and W911NF-24-2-0114, and The Commonwealth Cyber Initiative grants. p. 8

Where the paper says it

Bypassing AI Control Protocols via Agent-as-a-Proxy Attacks supported in part by NSF awards DMS-2204795, OAC2115094, CNS-2331424, ARL/Army Research Office awards W911NF-24-1-0202 and W911NF-24-2-0114, and The Commonwealth Cyber Initiative grants. Impact Statement This paper presents work whose goal is to advance the field of Machine Learning, specifically AI safety and security.

<ref:2602.05066#pg9, The research reported here was supported in part by NSF awards DMS-2204795, OAC2115094, CNS-2331424, ARL/Army Research Office awards W911NF-24-1-0202 and W911NF-24-2-0114, and The Commonwealth Cyber Initiative grants>. p. 8
Where the paper says it

Bypassing AI Control Protocols via Agent-as-a-Proxy Attacks supported in part by NSF awards DMS-2204795, OAC2115094, CNS-2331424, ARL/Army Research Office awards W911NF-24-1-0202 and W911NF-24-2-0114, and The Commonwealth Cyber Initiative grants. Impact Statement This paper presents work whose goal is to advance the field of Machine Learning, specifically AI safety and security.

References

The paper cites numerous prior works to establish context for the research.<ref:2602.05066#pg9>. Key cited works include Debenedetti et al. p. 3

Where the paper says it

Prompt Injections AgentDojo comes with 4 default suites, each of which has a set of predefined prompt injection tasks. We manually modify these prompt injections to include a highly repeatable part, which is later replaced with an optimized attack string.

p. 3
Where the paper says it

Prompt Injections AgentDojo comes with 4 default suites, each of which has a set of predefined prompt injection tasks. We manually modify these prompt injections to include a highly repeatable part, which is later replaced with an optimized attack string.

(2024) on AgentDojo. p. 2
Where the paper says it

Benchmark We use AgentDojo (Debenedetti et al. , 2024) version 1.

p. 2
Where the paper says it

Benchmark We use AgentDojo (Debenedetti et al. , 2024) version 1.

<ref:2602.05066#pg9>. Chennabasappa et al. p. 0
Where the paper says it

To mitigate these threats, the security community has moved beyond simple input filtering toward robust, runtime oversight mechanisms known as monitoring-based defenses. The prevailing state-of-the-art approach is hybrid monitoring, exemplified by systems like AlignmentCheck and LlamaFirewall (Chennabasappa et al.

p. 0
Where the paper says it

To mitigate these threats, the security community has moved beyond simple input filtering toward robust, runtime oversight mechanisms known as monitoring-based defenses. The prevailing state-of-the-art approach is hybrid monitoring, exemplified by systems like AlignmentCheck and LlamaFirewall (Chennabasappa et al.

(2025) on LlamaFirewall. p. 6
Where the paper says it

, 2025; Chennabasappa et al. LlamaFirewall contains AlignmentCheck, an instance of a hybrid monitoring protocol, where agent reasoning and actions are monitored together to ensure alignment with the user instructions (Chennabasappa et al.

p. 6
Where the paper says it

, 2025; Chennabasappa et al. LlamaFirewall contains AlignmentCheck, an instance of a hybrid monitoring protocol, where agent reasoning and actions are monitored together to ensure alignment with the user instructions (Chennabasappa et al.

<ref:2602.05066#pg9>. Koubak et al. (Korbak et al. p. 6
Where the paper says it

, 2025) and sandbagging (Li et al. However, it is also being used to detect model misbehavior due to external attacks (Korbak et al.

p. 6
Where the paper says it

, 2025) and sandbagging (Li et al. However, it is also being used to detect model misbehavior due to external attacks (Korbak et al.

) on monitoring reasoning models for misbehavior. p. 8
Where the paper says it

, and Farhi, D. Monitoring reasoning models for misbehavior and the risks of promoting obfuscation, 2025.

p. 8
Where the paper says it

, and Farhi, D. Monitoring reasoning models for misbehavior and the risks of promoting obfuscation, 2025.

<ref:2602.05066#pg9>. Zhou et al. (Zou) on Universal and transferable adversarial attacks. p. 9
Where the paper says it

, and Fredrikson, M. Universal and transferable adversarial attacks on aligned language models, 2023.

p. 9
Where the paper says it

, and Fredrikson, M. Universal and transferable adversarial attacks on aligned language models, 2023.

<ref:2602.05066#pg13>. Liu et al. (Liu) on Autodan. p. 1
Where the paper says it

, 2024) optimizes the entire input sequence as a single block, making it impossible to surgically target a specific adversarial string buried in the middle of a complex multi-turn trajectory without disrupting the surrounding agent logic. AutoDAN (Liu et al.

p. 1
Where the paper says it

, 2024) optimizes the entire input sequence as a single block, making it impossible to surgically target a specific adversarial string buried in the middle of a complex multi-turn trajectory without disrupting the surrounding agent logic. AutoDAN (Liu et al.

<ref:2602.05066#pg9>. Willison (Willison) and Perez & Ribeiro (Perez & Ribeiro) on early prompt injection attacks. p. 6
Where the paper says it

Related Works 6. Prompt injections Simon Willison (Willison, 2022) and Fábio Perez (Perez & Ribeiro, 2022) demonstrate some of the earliest prompt injection attacks in LLMs.

p. 6
Where the paper says it

Related Works 6. Prompt injections Simon Willison (Willison, 2022) and Fábio Perez (Perez & Ribeiro, 2022) demonstrate some of the earliest prompt injection attacks in LLMs.

<ref:2602.05066#pg9>. Zhu et al. (Zhan) on Injecagent. p. 9
Where the paper says it

, and Kang, D. Injecagent: Benchmarking indirect prompt injections in toolintegrated large language model agents, 2024.

p. 9
Where the paper says it

, and Kang, D. Injecagent: Benchmarking indirect prompt injections in toolintegrated large language model agents, 2024.

<ref:2602.05066#pg9>. Li et al. (Li) on LLMs can covertly sandbag on capability evaluations against chain-of-thought monitoring. p. 8
Where the paper says it

, and Siegel, N. Llms can covertly sandbag on capability evaluations against chain-of-thought monitoring, 2025.

p. 8
Where the paper says it

, and Siegel, N. Llms can covertly sandbag on capability evaluations against chain-of-thought monitoring, 2025.

<ref:2602.05066#pg9>. Terekhov et al. p. 5
Where the paper says it

This is because the attack strings are not sufficiently replicated within the CoT, making them less effective against the monitor. A Capability Gap Is Not Required to Bypass Monitors It has already been demonstrated that scalable oversight via trusted monitors is not feasible (Terekhov et al.

p. 5
Where the paper says it

This is because the attack strings are not sufficiently replicated within the CoT, making them less effective against the monitor. A Capability Gap Is Not Required to Bypass Monitors It has already been demonstrated that scalable oversight via trusted monitors is not feasible (Terekhov et al.

(Terekhov) for the first time use the agent to attack the monitor. p. 6
Where the paper says it

Terekhov et al. (2025) for the first time use the agent to attack the monitor, but their attack relies on the agent’s knowledge of the monitoring system and adaptive attack techniques.

p. 6
Where the paper says it

Terekhov et al. (2025) for the first time use the agent to attack the monitor, but their attack relies on the agent’s knowledge of the monitoring system and adaptive attack techniques.

<ref:2602.05066#pg9>. Sitawarin et al. p. 7
Where the paper says it

In the future, similar attack techniques may be developed against black-box monitoring models as well. Proxy-Guided Black-Box Attack on Large Language Models (Sitawarin et al.

p. 7
Where the paper says it

In the future, similar attack techniques may be developed against black-box monitoring models as well. Proxy-Guided Black-Box Attack on Large Language Models (Sitawarin et al.

(Sitawarin) on Proxy-guided black-box attack on large language models. p. 7
Where the paper says it

In the future, similar attack techniques may be developed against black-box monitoring models as well. Proxy-Guided Black-Box Attack on Large Language Models (Sitawarin et al.

<ref:2602.05066#pg13>.

Figure Descriptions

The paper includes several figures to illustrate the experimental results.<ref:2602.05066#pg1, Figure 5 in Appendix A provides an example of this attack>. p. 0

Where the paper says it

By coercing the agent to repeat optimized adversarial strings within its CoT or tool parameters, the attacker can force the monitoring model to classify malicious trajectories as safe. Figure 5 in Appendix A provides an example of this attack.

Table 1 shows two ways of adapting AgentDojo injection tasks to induce repetition of OPTIM STR in the agent trace. p. 2
Where the paper says it

Bypassing AI Control Protocols via Agent-as-a-Proxy Attacks Table 1. Two ways of adapting AgentDojo injection tasks to induce repetition of OPTIM_STR in the agent trace: (1) modifying the original task, and (2) appending an additional malicious task.

<ref:2602.05066#pg3, Table 1 shows two ways of adapting AgentDojo injection tasks to induce repetition of OPTIM_STR in the agent trace>. p. 2
Where the paper says it

Bypassing AI Control Protocols via Agent-as-a-Proxy Attacks Table 1. Two ways of adapting AgentDojo injection tasks to induce repetition of OPTIM_STR in the agent trace: (1) modifying the original task, and (2) appending an additional malicious task.

Table 2 compares static baseline injections against optimized adaptive attacks across various monitoring-based defenses. p. 4
Where the paper says it

Bypassing AI Control Protocols via Agent-as-a-Proxy Attacks Table 2. Attack Success Rates (ASR) comparing static baseline injections against optimized adaptive attacks across various monitoring-based defenses.

<ref:2602.05066#pg5, Table 2 Attack Success Rates (ASR) comparing static baseline injections against optimized adaptive attacks across various monitoring-based defenses>. p. 4
Where the paper says it

Bypassing AI Control Protocols via Agent-as-a-Proxy Attacks Table 2. Attack Success Rates (ASR) comparing static baseline injections against optimized adaptive attacks across various monitoring-based defenses.

Figure 1 shows the Pareto frontier of AlignmentCheck. p. 3
Where the paper says it

6B Models Pareto Frontier Figure 1. Pareto frontier of AlignmentCheck.

<ref:2602.05066#pg4, Figure 1 Pareto frontier of AlignmentCheck>. p. 3
Where the paper says it

6B Models Pareto Frontier Figure 1. Pareto frontier of AlignmentCheck.

Table 3 compares the Attack Success Rate of Simulated setting (replacing placeholders with attack strings in pre-recorded traces) against full End-to-end (E2E) execution. p. 6
Where the paper says it

Impact of String Complexity on Attack Propagation. We compare the Attack Success Rate of Simulated setting (replacing placeholders with attack strings in pre-recorded traces) against full End-to-end (E2E) execution.

<ref:2602.05066#pg7>. Figure 4 compares the attack success rate (ASR) of GCG-optimized strings with ParallelGCG-optimized strings. p. 6
Where the paper says it

Parallel-GCG outperforms GCG. We compare the attack success rate (ASR) of GCG-optimized strings with ParallelGCG-optimized strings.

<ref:2602.05066#pg13>. Table 4 demonstrates that while Hybrid Monitoring (CoT + Actions) is superior to simple CoT monitoring against static, baseline attacks, it becomes significantly more vulnerable to our adaptive Agent-as-a-Proxy attacks. p. 7
Where the paper says it

The paradox of Hybrid Monitoring. While Hybrid Monitoring (CoT + Actions) is superior to simple CoT monitoring against static, baseline attacks, it becomes significantly more vulnerable to our adaptive Agent-as-a-Proxy attacks.

<ref:2602.05066#pg8, Table 4 The paradox of Hybrid Monitoring>. p. 7
Where the paper says it

Bypassing AI Control Protocols via Agent-as-a-Proxy Attacks Table 4. The paradox of Hybrid Monitoring.

p. 7
Where the paper says it

Bypassing AI Control Protocols via Agent-as-a-Proxy Attacks Table 4. The paradox of Hybrid Monitoring.

Table 5 shows GPT-4o mini and Llama 3. p. 0
Where the paper says it

Large-scale monitoring models like Qwen2. 5-72B can be bypassed by agents with similar capabilities, such as GPT-4o mini and Llama-3.

p. 0
Where the paper says it

Large-scale monitoring models like Qwen2. 5-72B can be bypassed by agents with similar capabilities, such as GPT-4o mini and Llama-3.

1 70B can be used as proxies to attack AlignmentCheck Qwen2. p. 7
Where the paper says it

GPT-4o mini and Llama 3. 1 70B can be used as proxies to attack AlignmentCheck Qwen2.

p. 7
Where the paper says it

GPT-4o mini and Llama 3. 1 70B can be used as proxies to attack AlignmentCheck Qwen2.

p. 7
Where the paper says it

GPT-4o mini and Llama 3. 1 70B can be used as proxies to attack AlignmentCheck Qwen2.

p. 7
Where the paper says it

GPT-4o mini and Llama 3. 1 70B can be used as proxies to attack AlignmentCheck Qwen2.

5-72B.<ref:2602.05066#pg8, Table 5 GPT-4o mini and Llama 3. p. 0
Where the paper says it

Large-scale monitoring models like Qwen2. 5-72B can be bypassed by agents with similar capabilities, such as GPT-4o mini and Llama-3.

p. 0
Where the paper says it

Large-scale monitoring models like Qwen2. 5-72B can be bypassed by agents with similar capabilities, such as GPT-4o mini and Llama-3.

1 70B can be used as proxies to attack AlignmentCheck Qwen2.5-72B>. Table 6 shows that Attack strings are transferable across different monitoring LLMs, up to 405B models. p. 5
Where the paper says it

Bypassing AI Control Protocols via Agent-as-a-Proxy Attacks replaced with attack strings in pre-recorded traces versus full end-to-end execution where the agent processes the attack string from the start. Table 3 shows that end-to-end execution achieves slightly lower but still substantial attack success rates, with performance drops of 5-8 percentage points across models.

p. 5
Where the paper says it

Bypassing AI Control Protocols via Agent-as-a-Proxy Attacks replaced with attack strings in pre-recorded traces versus full end-to-end execution where the agent processes the attack string from the start. Table 3 shows that end-to-end execution achieves slightly lower but still substantial attack success rates, with performance drops of 5-8 percentage points across models.

<ref:2602.05066#pg13, Table 6 Attack strings are transferable across different monitoring LLMs, up to 405B models>. p. 5
Where the paper says it

Bypassing AI Control Protocols via Agent-as-a-Proxy Attacks replaced with attack strings in pre-recorded traces versus full end-to-end execution where the agent processes the attack string from the start. Table 3 shows that end-to-end execution achieves slightly lower but still substantial attack success rates, with performance drops of 5-8 percentage points across models.

p. 5
Where the paper says it

Bypassing AI Control Protocols via Agent-as-a-Proxy Attacks replaced with attack strings in pre-recorded traces versus full end-to-end execution where the agent processes the attack string from the start. Table 3 shows that end-to-end execution achieves slightly lower but still substantial attack success rates, with performance drops of 5-8 percentage points across models.

Table 7 compares the Attack Success Rate of Simulated setting (replacing placeholders with attack strings in pre-recorded traces) against full End-to-end (E2E) execution. p. 6
Where the paper says it

Impact of String Complexity on Attack Propagation. We compare the Attack Success Rate of Simulated setting (replacing placeholders with attack strings in pre-recorded traces) against full End-to-end (E2E) execution.

<ref:2602.05066#pg13>. Table 8 compares the Attack Success Rate of Simulated setting (replacing placeholders with attack strings in pre-recorded traces) against full End-to-end (E2E) execution. p. 6
Where the paper says it

Impact of String Complexity on Attack Propagation. We compare the Attack Success Rate of Simulated setting (replacing placeholders with attack strings in pre-recorded traces) against full End-to-end (E2E) execution.

<ref:2602.05066#pg13>. Table 9 compares the Attack Success Rate of Simulated setting (replacing placeholders with attack strings in pre-recorded traces) against full End-to-end (E2E) execution. p. 6
Where the paper says it

Impact of String Complexity on Attack Propagation. We compare the Attack Success Rate of Simulated setting (replacing placeholders with attack strings in pre-recorded traces) against full End-to-end (E2E) execution.

<ref:2602.05066#pg13>. Table 10 compares the Attack Success Rate of Simulated setting (replacing placeholders with attack strings in pre-recorded traces) against full End-to-end (E2E) execution. p. 6
Where the paper says it

Impact of String Complexity on Attack Propagation. We compare the Attack Success Rate of Simulated setting (replacing placeholders with attack strings in pre-recorded traces) against full End-to-end (E2E) execution.

<ref:2602.05066#pg13>. Table 11 compares the Attack Success Rate of Simulated setting (replacing placeholders with attack strings in pre-recorded traces) against full End-to-end (E2E) execution. p. 6
Where the paper says it

Impact of String Complexity on Attack Propagation. We compare the Attack Success Rate of Simulated setting (replacing placeholders with attack strings in pre-recorded traces) against full End-to-end (E2E) execution.

<ref:2602.05066#pg13>. Table 12 compares the Attack Success Rate of Simulated setting (replacing placeholders with attack strings in pre-recorded traces) against full End-to-end (E2E) execution. p. 6
Where the paper says it

Impact of String Complexity on Attack Propagation. We compare the Attack Success Rate of Simulated setting (replacing placeholders with attack strings in pre-recorded traces) against full End-to-end (E2E) execution.

<ref:2602.05066#pg13>. Table 13 compares the Attack Success Rate of Simulated setting (replacing placeholders with attack strings in pre-recorded traces) against full End-to-end (E2E) execution. p. 6
Where the paper says it

Impact of String Complexity on Attack Propagation. We compare the Attack Success Rate of Simulated setting (replacing placeholders with attack strings in pre-recorded traces) against full End-to-end (E2E) execution.

p. 6
Where the paper says it

Impact of String Complexity on Attack Propagation. We compare the Attack Success Rate of Simulated setting (replacing placeholders with attack strings in pre-recorded traces) against full End-to-end (E2E) execution.

<ref:2602.05066#pg13>. Table 14 provides an example AlignmentCheck target for an agent trace that contains successful prompt injection. p. 0
Where the paper says it

By coercing the agent to repeat optimized adversarial strings within its CoT or tool parameters, the attacker can force the monitoring model to classify malicious trajectories as safe. Figure 5 in Appendix A provides an example of this attack.

<ref:2602.05066#pg14, D. Generating targets for AlignmentCheck>. p. 3
Where the paper says it

Second, we employ Parallel-GCG, a modification of the GCG algorithm that optimizes all {optim_str} instances simultaneously. In both cases, the optimization targets vary by monitoring protocol.

Table 15 shows the output JSON format used for the AlignmentCheck target. p. 3
Where the paper says it

For the Extract-and-Evaluate monitor, we target the token sequence indicating a benign classification used by the judge model, which is <score>0</score>. For AlignmentCheck, we target the "safe" labels (e.

<ref:2602.05066#pg15>. Figure 3 compares ASR when agent traces are provided to AlignmentCheck incrementally, as in production systems (replay mode), versus when the full trace is provided at once (no-replay mode). p. 4
Where the paper says it

We observe only marginal improvements as the number of optimization samples increases, suggesting diminishing returns from additional optimization traces. Figure 3 compares ASR when agent traces are provided to AlignmentCheck incrementally, as in production systems (replay mode), versus when the full trace is provided at once (no-replay mode).

<ref:2602.05066#pg13, Figure 3 compares ASR when agent traces are provided to AlignmentCheck incrementally, as in production systems (replay mode), versus when the full trace is provided at once (no-replay mode). p. 4
Where the paper says it

We observe only marginal improvements as the number of optimization samples increases, suggesting diminishing returns from additional optimization traces. Figure 3 compares ASR when agent traces are provided to AlignmentCheck incrementally, as in production systems (replay mode), versus when the full trace is provided at once (no-replay mode).

Table 4 demonstrates that while Hybrid Monitoring (CoT + Actions) is superior to simple CoT monitoring against static, baseline attacks, it becomes significantly more vulnerable to our adaptive Agent-as-a-Proxy attacks when observing the agent’s tool calls, where the attack string is repeated, leading to higher Attack Success Rates than CoT monitoring alone. p. 7
Where the paper says it

While Hybrid Monitoring (CoT + Actions) is superior to simple CoT monitoring against static, baseline attacks, it becomes significantly more vulnerable to our adaptive Agent-as-a-Proxy attacks. By observing the agent’s tool calls, where the attack string is repeated, the hybrid monitor exposes a larger attack surface, leading to higher Attack Success Rates than CoT monitoring alone.

Table 4 The paradox of Hybrid Monitoring>. Table 5 shows GPT-4o mini and Llama 3.1 70B can be used as proxies to attack AlignmentCheck Qwen2.5-72B.<ref:2602.05066#pg8, Table 5 GPT-4o mini and Llama 3.1 70B can be used as proxies to attack AlignmentCheck Qwen2.5-72B>. Table 6 shows that Attack strings are transferable across different monitoring LLMs, up to 405B models.<ref:2602.05066#pg13, Table 6 Attack strings are transferable across different monitoring LLMs, up to 405B models>. Figure 4 Parallel-GCG outperforms GCG. p. 6
Where the paper says it

58 GCG Parallel-GCG Figure 4. Parallel-GCG outperforms GCG.

<ref:2602.05066#pg13>. Table 7 shows that end-end execution achieves slightly lower but still substantial attack success rates, with performance drops of 5-8 percentage points across models. p. 5
Where the paper says it

Bypassing AI Control Protocols via Agent-as-a-Proxy Attacks replaced with attack strings in pre-recorded traces versus full end-to-end execution where the agent processes the attack string from the start. Table 3 shows that end-to-end execution achieves slightly lower but still substantial attack success rates, with performance drops of 5-8 percentage points across models.

<ref:2602.05066#pg13>. Table 8 shows that end-end execution achieves slightly lower but still substantial attack success rates, with performance drops of 5-8 percentage points across models. p. 5
Where the paper says it

Bypassing AI Control Protocols via Agent-as-a-Proxy Attacks replaced with attack strings in pre-recorded traces versus full end-to-end execution where the agent processes the attack string from the start. Table 3 shows that end-to-end execution achieves slightly lower but still substantial attack success rates, with performance drops of 5-8 percentage points across models.

<ref:2602.05066#pg13>. Table 9 shows that end-end execution achieves slightly lower but still substantial attack success rates, with performance drops of 5-8 percentage points across models. p. 5
Where the paper says it

Bypassing AI Control Protocols via Agent-as-a-Proxy Attacks replaced with attack strings in pre-recorded traces versus full end-to-end execution where the agent processes the attack string from the start. Table 3 shows that end-to-end execution achieves slightly lower but still substantial attack success rates, with performance drops of 5-8 percentage points across models.

<ref:2602.05066#pg13>. Table 10 shows that end-end execution achieves slightly lower but still substantial attack success rates, with performance drops of 5-8 percentage points across models. p. 5
Where the paper says it

Bypassing AI Control Protocols via Agent-as-a-Proxy Attacks replaced with attack strings in pre-recorded traces versus full end-to-end execution where the agent processes the attack string from the start. Table 3 shows that end-to-end execution achieves slightly lower but still substantial attack success rates, with performance drops of 5-8 percentage points across models.

<ref:2602.05066#pg13>. Table 11 shows that end-end execution achieves slightly lower but still substantial attack success rates, with performance drops of 5-8 percentage points across models. p. 5
Where the paper says it

Bypassing AI Control Protocols via Agent-as-a-Proxy Attacks replaced with attack strings in pre-recorded traces versus full end-to-end execution where the agent processes the attack string from the start. Table 3 shows that end-to-end execution achieves slightly lower but still substantial attack success rates, with performance drops of 5-8 percentage points across models.

<ref:2602.05066#pg13>. Table 12 shows that end-end execution achieves slightly lower but still substantial attack success rates, with performance drops of 5-8 percentage points across models. p. 5
Where the paper says it

Bypassing AI Control Protocols via Agent-as-a-Proxy Attacks replaced with attack strings in pre-recorded traces versus full end-to-end execution where the agent processes the attack string from the start. Table 3 shows that end-to-end execution achieves slightly lower but still substantial attack success rates, with performance drops of 5-8 percentage points across models.

<ref:2602.05066#pg13>. Table 13 compares the Attack Success Rate of Simulated setting (replacing placeholders with attack strings in pre-recorded traces) against full End-to-end (E2E) execution.<ref:2602.05066#pg13>.

The paper cites numerous prior works to establish context for the research.<ref:2602.05066#pg9>. Key cited works include Debenedetti et al. (2024) on AgentDojo.<ref:2602.05066#pg9>. Chennabasappa et al. (2025) on LlamaFirewall.<ref:2602.05066#pg9>. Koubak et al. (Korbak et al.) on monitoring reasoning models for misbehavior.<ref:2602.05066#pg9>. Zhou et al. (Zou) on Universal and transferable adversarial attacks.<ref:2602.05066#pg13>. Liu et al. (Liu) on Autodan.<ref:2602.05066#pg9>. Willison (Willison) and Perez & Ribeiro (Perez & Ribeiro) on early prompt injection attacks.<ref:2602.05066#pg9>. Zhan et al. p. 0

Where the paper says it

jection (IPI) attacks. In these scenarios, an attacker embeds malicious instructions into external content, hijacking the agent’s control flow to exfiltrate data or perform unauthorized actions without the user’s consent (Zhan et al.

(Zhan) on Injecagent.<ref:2602.05066#pg9>. Li et al. (Li) on LLMs can covertly sandbag on capability evaluations against chain-of-thought monitoring.<ref:2602.05066#pg9>. Terekhov et al. (Terekhov) for the first time use the agent to attack the monitor.<ref:2602.05066#pg9>. Sitawarin et al.

Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.

Improvements for AI systems

  1. Agent-as-a-Proxy Attack Framework: Implement an attack where prompt injection attacks treat the agent as a delivery mechanism, bypassing both agent and monitor simultaneously. This allows attackers to force the monitoring model to classify malicious trajectories as safe by coercing the agent to repeat optimized adversarial strings within its CoT or tool parameters.

  2. Parallel-GCG Optimization: Develop an optimization algorithm that optimizes the adversarial string across K insertion sites simultaneously by calculating gradients across multiple temporal blocks in a sequence, ensuring the adversarial string remains 'stealthy' to the monitor, whether it is being evaluated during the agent’s internal reasoning phase or during its external tool interactions.

  3. Multi-Objective GCG for Hybrid Defenses: Utilize multi-objective GCG where Ljoint = alphaLalignmentcheck + (1 − alpha)Lpg2 to simultaneously force both the AlignmentCheck and PromptGuard 2 to classify the input as safe, thereby maintaining comparable attack effectiveness against multi-layer defenses.

  4. Adaptive Defense Resilience: Design monitoring systems that are robust against adaptive attacks by shifting focus from static input filtering toward runtime oversight that monitors the agent’s Chain-of-Thought (CoT), its tool calls, and the resulting tool outputs to detect deviations from user intent.

  5. Scalability Independence: Implement security protocols that do not rely on model scale, demonstrating that agents with similar performance can successfully compromise frontier-scale monitors, thereby challenging the assumption that scaling up monitoring models guarantees security.

Abstract

Hybrid trusted monitors inspect an AI agent's reasoning, tool calls, and tool outputs to catch attacks that reasoning-only monitors miss. That same visibility turns the monitor's observation channel into an attack surface. We introduce Agent-as-a-Proxy, an indirect prompt injection that pairs a malicious goal with an adversarial string optimized offline against an open-weight proxy monitor, plus instructions for the agent to echo it into later actions. Across AgentDojo's four suites, these strings raise conditional false-negative rates (FNR@5, given agent compromise) at fixed operating points from 0-1.3% to 28-30% on Llama-3.1-8B and Qwen2.5-7B, and from 23% to 78% on Mistral-7B. Direct exposure in the injected document accounts for most evasion, while propagated copies amplify it where they occur. Without querying the target, 7B-proxy strings transfer to all eleven evaluated proprietary monitors (5.1-82.9% FNR@5 in a pooled four-suite evaluation). The attack also generalizes across monitoring protocols and composed prompt-injection defenses; a perplexity filter blocks all unconstrained strings, but attacks optimized against it retain 6.5-66.3% FNR@5, and four-monitor cross-vendor ensembling lowers evasion to 3.5% without eliminating correlated misses. Resilient AI control therefore requires treating a monitor's observations as an untrusted input surface rather than passive telemetry--even when the agent neither colludes nor outclasses the monitor. Code is publicly available at https://github.com/ceferisbarov/agent-as-a-proxy.

Sources

Related papers