Agent-as-a-Proxy: Indirect Prompt Injection Attacks Against Trusted Monitors
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 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. 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. 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. 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.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
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 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. 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.Where the paper says it
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. 0Where the paper says it
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 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. 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).Where the paper says it
Where the paper says it
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 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. 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. 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. 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. 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. 5 72B) can be successfully deceived by
agents (e. , GPT-4o mini) with similar capabilities acting
as proxies.Where the paper says it
Where the paper says it
Where the paper says it
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. 1Where the paper says it
Where the paper says it
Where the paper says it
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 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. 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. , 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. , 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. 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.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
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 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. 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. 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. 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. 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. 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.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
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 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. 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.Where the paper says it
Where the paper says it
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 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. 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. Benchmark
We use AgentDojo (Debenedetti et al. , 2024) version 1. Benchmark
We use AgentDojo (Debenedetti et al. , 2024) version 1. 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. 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; 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. , 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. , 2025)
and sandbagging (Li et al. However, it is also being
used to detect model misbehavior due to external attacks
(Korbak et al. , 2025)
and sandbagging (Li et al. However, it is also being
used to detect model misbehavior due to external attacks
(Korbak et al. , and Farhi, D. Monitoring reasoning models for misbehavior and the
risks of promoting obfuscation, 2025. , and Farhi, D. Monitoring reasoning models for misbehavior and the
risks of promoting obfuscation, 2025. , and
Fredrikson, M. Universal and transferable adversarial
attacks on aligned language models, 2023. , and
Fredrikson, M. Universal and transferable adversarial
attacks on aligned language models, 2023. , 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. , 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. 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. 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. , and Kang, D. Injecagent: Benchmarking indirect prompt injections in toolintegrated large language model agents, 2024. , and Kang, D. Injecagent: Benchmarking indirect prompt injections in toolintegrated large language model agents, 2024. , and Siegel, N. Llms can covertly sandbag on capability evaluations against chain-of-thought
monitoring, 2025. , and Siegel, N. Llms can covertly sandbag on capability evaluations against chain-of-thought
monitoring, 2025. 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. 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 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. 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. 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. 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. 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.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
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 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. 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. 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. 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. 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. 6B
Models
Pareto Frontier
Figure 1. Pareto frontier of AlignmentCheck. 6B
Models
Pareto Frontier
Figure 1. Pareto frontier of AlignmentCheck. 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. Parallel-GCG outperforms GCG. We compare the
attack success rate (ASR) of GCG-optimized strings with ParallelGCG-optimized strings. 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. Bypassing AI Control Protocols via Agent-as-a-Proxy Attacks
Table 4. The paradox of Hybrid Monitoring. Bypassing AI Control Protocols via Agent-as-a-Proxy Attacks
Table 4. The paradox of Hybrid Monitoring. Large-scale monitoring models like Qwen2. 5-72B can be bypassed by agents with similar capabilities, such as
GPT-4o mini and Llama-3. Large-scale monitoring models like Qwen2. 5-72B can be bypassed by agents with similar capabilities, such as
GPT-4o mini and Llama-3. GPT-4o mini and Llama 3. 1 70B can be used as proxies
to attack AlignmentCheck Qwen2. GPT-4o mini and Llama 3. 1 70B can be used as proxies
to attack AlignmentCheck Qwen2. GPT-4o mini and Llama 3. 1 70B can be used as proxies
to attack AlignmentCheck Qwen2. GPT-4o mini and Llama 3. 1 70B can be used as proxies
to attack AlignmentCheck Qwen2. Large-scale monitoring models like Qwen2. 5-72B can be bypassed by agents with similar capabilities, such as
GPT-4o mini and Llama-3. Large-scale monitoring models like Qwen2. 5-72B can be bypassed by agents with similar capabilities, such as
GPT-4o mini and Llama-3. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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). 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). 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. 58
GCG
Parallel-GCG
Figure 4. Parallel-GCG outperforms GCG. 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. 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. 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. 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. 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. 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.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
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 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.Where the paper says it
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
-
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 toforce the monitoring model to classify malicious trajectories as safe
by coercing the agent to repeat optimized adversarial strings within its CoT or tool parameters. -
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, ensuringthe 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.
-
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. -
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.
-
Scalability Independence: Implement security protocols that do not rely on
model scale,
demonstrating thatagents 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
- CoT Red-Handed: Stress Testing Chain-of-Thought Monitoring
- Monitoring Reasoning Models for Misbehavior and the Risks of Promoting Obfuscation
- LlamaFirewall: An open source guardrail system for building secure AI agents
- The Llama 3 Herd of Models
- Mistral 7B
- Chain of Thought Monitorability: A New and Fragile Opportunity for AI Safety
- LLMs Can Covertly Sandbag on Capability Evaluations Against Chain-of-Thought Monitoring
- GPT-4o System Card
- Ignore Previous Prompt: Attack Techniques For Language Models
- Qwen2.5 Technical Report
- PAL: Proxy-Guided Black-Box Attack on Large Language Models
- Adaptive Attacks on Trusted Monitors Subvert AI Control Protocols
- InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agents
- Universal and Transferable Adversarial Attacks on Aligned Language Models
Related papers
- RustMizan: A Compilable, Contamination-Aware Benchmarking Framework for Rust Vulnerabilities
- Introducing the Generative Application Firewall (GAF)
- Opal: Private Memory for Personal AI
- Fuel as Identity: Authenticating Inter-Satellite Laser Links after Total Key Compromise
- Merkle Trees Minimize Verifier Complexity in the ROM
- VulCPE: Context-Aware Cybersecurity Vulnerability Retrieval and Management