DP-Bits: Bounding the Influence of Untrusted Data on AI Agent Planners with Priced Guidance
Prompt injection can turn AI agents against their users through instructions hidden in untrusted data. Methods for secure-by-design agentic control therefore adopt a pattern where a planner agent is isolated from untrusted data and writes code that an interpreter runs, at the cost of substantially reduced utility. Recent methods recover utility by giving the planner agent limited hints about the data, but without a provable bound on their influence, they cannot rule out adaptive attacks. We propose DP-Bits, which provably bounds the influence of hints by giving each source of untrusted data a budget in bits, measured through a priced guidance protocol. The planner agent asks a reader model multiple-choice questions and predicts each answer, and DP-Bits lets the answer deviate from this prediction only by a bounded factor, charging the source more bits the less the planner expected the answer. Our evaluation on AgentDojo and AgentDyn shows that (i) DP-Bits with Qwen3.8-27B keeps much of the utility of an agent without a defense, (ii) adaptive attacks undermine methods that give hints without a provable bound, (iii) DP-Bits bounds the influence of every answer by construction,…
- arXiv
- 2612.05556
- Authors
- Nils Lukas, Tameem Bakr
- Categories
- cs.CR · cs.AI