Researchers publish Tri-LLM defense for AI agents with formal bounds and 54%-74% task completion under attack
Trident is a Tri-LLM agentic AI security framework that separates planning, untrusted-data reading and policy writing, with formal bounds and a deterministic reference monitor. It reports 54%-74% task completion on ReplanInject under attack and no success for tested attacks with human approval. The work matters because it gives a measurable way to let agents use untrusted data without letting injected instructions freely control actions.
The paper posted on arXiv describes Trident, an agentic AI security architecture that splits an agent across three large language models. A Planner-LLM never reads raw untrusted text, a Data-LLM reads it but holds no permissions, and a Policy-LLM writes security policies. A deterministic reference monitor checks every model output before execution. The design targets indirect prompt injection, where hidden instructions in external data try to steer an agent's next action.
The authors prove two guarantees: the planner can learn from untrusted data only through finite-range answers and feedback, metered by an influence budget β and feedback budget σ; and every executed call passes the root policy. They machine-check the security model in Lean. In evaluation, four models ran on AgentDojo and ReplanInject, a new benchmark where plans depend on injected content. On ReplanInject, Trident completed 54% to 74% of tasks under attack, more on average than other tested defenses, and no tested attack succeeded with a human in the loop.
Indirect prompt injection remains difficult because useful agents must read emails, documents, code and web content, then choose actions. Many defenses restrict planning, block tools or require human approval, which can reduce usefulness. Trident’s contribution is a technical compromise: it preserves data-dependent replanning while bounding observable influence. The formal proof and deterministic monitor add assurance beyond planning restrictions, information-flow control, tool policies and human approval. However, the paper is an arXiv preprint, and the results are limited to the evaluated models, benchmarks and adaptive attacks.
The paper says agents are central to software development and autonomous vehicles, so security failures can turn external data into unauthorized actions. Trident matters because it offers a measurable trust boundary: budgets, a reference monitor and machine-checked proofs. That is useful for deployments where agents read documents, code or web content and then act, because a single injected instruction can attempt to change a workflow. The human-in-the-loop result also shows a practical path to stronger assurance when full autonomy is not required.
It affects enterprises deploying AI agents that read untrusted documents, code or web content and then take actions, by providing a measurable trust boundary that limits how far injected instructions can influence behavior.
Sources (1)
- [1]Trident: A Tri-LLM Architecture for Securing Dynamic Agentic AI Systems(https://arxiv.org/abs/2611.35150)