ACE: A Security Architecture for LLM-Integrated Application SystemsACE: A Security Architecture for LLM-Integrated App Systems
Researchers propose the ACE (Abstract-Concrete-Execute) security architecture to provide security guarantees for LLM-integrated application systems that answer user queries by alternating planning and execution through a system LLM with the help of third-party applications. The paper points out that malicious applications can compromise planning integrity, execution integrity, and availability, and demonstrates new attacks against the recent defense scheme IsolateGPT. ACE splits planning into two steps: first generating an abstract execution plan using only trusted information, then mapping it to a concrete plan based on installed applications; it verifies through static analysis that the structured plan output satisfies user-specified secure information flow constraints, enforces data and capability isolation between applications during execution, and ensures execution follows the trusted abstract plan. Experiments show that ACE can resist indirect prompt injection attacks in the InjecAgent and Agent Security Bench benchmarks as well as the newly proposed attacks in the paper, and its practicality was evaluated on LangChain's Tool Usage suite.