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.
翻译:暂无翻译