Skip to content

Design Patterns for Securing LLM Agents against Prompt Injection

Design Patterns for Securing LLM Agents against Prompt Injections

arXiv· arXiv:2506.08837· Luca Beurer-Kellner, Beat Buesser, Ana-Maria Creţu, Edoardo Debenedetti, Daniel Dobos, Daniel Fabian, Marc Fischer, David Froelicher, Kathrin Grosse, Daniel Naeff, Ezinwanne Ozoani, Andrew Paverd, Florian Tramèr, Václav Volhejn·Indexed by this site · 14 days ago· Originally publishedDefenses
AI summary

Luca Beurer-Kellner and other authors propose a set of design patterns for building LLM agents that are provably resistant to prompt injection. The paper systematically analyzes these patterns, discusses their trade-offs between practicality and security, and demonstrates their real-world applicability through case studies. The authors point out that the risk of prompt injection is especially prominent when agents gain tool access or handle sensitive information.

Related events and news

2 events · 2 news mentions

News that mentions this paper

Composio介绍Agent防火墙拦截提示注入

Harvey 构建 MCP 策略引擎防护提示注入

Read originalarxiv.org