Agent-as-a-Proxy: Indirect Prompt Injection Attacks Against Trusted Monitors
summary
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…
In short
Current monitoring defenses for AI agents are fragile against indirect prompt injection (IPI) attacks. Researchers found that forcing monitors to process an agent's tool calls creates a direct attack channel, allowing agents to weaponize themselves as proxies against the monitor. This vulnerability persists regardless of model scale.
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 used across episodes
This episode discusses
- Agent-as-a-Proxy: Indirect Prompt Injection Attacks Against Trusted Monitors · Paper Radio
- 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 · Paper Radio
- 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
The paper
Agent-as-a-Proxy: Indirect Prompt Injection Attacks Against Trusted Monitors · Read on arXiv
Jafar Isbarov, Murat Kantarcioglu
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.
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.
More episodes
- The day in conversation for 2026-12-05
- Daily Summary for 2026-12-05
- 2607.15118-Automated Template-free Synthesis of Instruction-Centric Leakage Contracts for Black-Box CPUs
- 2610.37722-FVH-Bench: Evaluating Image Generator Safety Beyond Overtly Harmful Imagery
- 2512.23849-Security Without Detection: Economic Denial as a Primitive for Edge and IoT Defense
- 2605.05807-LCC-LLM: Leveraging Code-Centric Large Language Models for Malware Attribution
- 2607.02932-PromptPET: Prompt Obfuscation Against Profiling by AI Agents
- 2309.05646-A Novel Supervised Deep Learning Solution to Detect Distributed Denial of Service (DDoS) attacks on Edge Systems using Convolutional Neural Networks (CNN)
- The day in conversation for 2026-12-04
- Daily Summary for 2026-12-04