Computer Science > Artificial Intelligence
Title:Trident: A Tri-LLM Architecture for Securing Dynamic Agentic AI Systems
Abstract:AI agents are ubiquitous and form a central part of many systems, from software development to autonomous vehicles. They are most useful for data-dependent tasks, where external untrusted data can legitimately determine their next action. However, indirect prompt injection attacks exploit this dependency. Existing system-level defenses limit these attacks with planning restrictions, information-flow control, tool policies, and human approval. In this paper, we present TRIDENT, a secure agentic AI framework that supports data-dependent replanning, while provably bounding how much untrusted data can influence planning and ensuring that its security policies come only from trusted inputs. TRIDENT splits the agent across three LLMs: a Planner-LLM that never reads raw untrusted text, a Data-LLM that reads it but holds no permissions, and a Policy-LLM that writes the policies. A reference monitor checks every LLM output deterministically. The monitor lets the planner learn from untrusted data only through finite-range answers and feedback, and meters them against an influence budget $\beta$ and a feedback budget $\sigma$. For fixed trusted inputs and randomness, the attacker can select among at most $2^{\beta+\sigma}$ observable traces, and every executed call passes the root policy. We prove both guarantees and machine-check the proofs in a Lean formalization of the security model. We also evaluate TRIDENT with four models on AgentDojo and on ReplanInject, a new benchmark of tasks whose plans depend on the injected content, and we test it against adaptive attacks. On ReplanInject, TRIDENT completes 54\% to 74\% of tasks under attack, more on average than any other defense we evaluate, and with a human in the loop, no tested attack succeeds.
| Subjects: | Artificial Intelligence (cs.AI) |
|---|---|
| Cite as: | arXiv:2611.35150 [cs.AI] |
| (or arXiv:2611.35150v1 [cs.AI] for this version) | |
| https://doi.org/10.48550/arXiv.2611.35150 arXiv-issued DOI via DataCite (pending registration) |
Submission history
Access Paper:
- HTML (experimental)
Additional Features
- Audio Summary
Current browse context:
References & Citations
- Google Scholar
- Semantic Scholar
BibTeX formatted citation
Bookmark
Bibliographic and Citation Tools
Code, Data and Media Associated with this Article
Demos
Recommenders and Search Tools
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.