Skip to content

System-level defense against indirect prompt injection attacks: An information flow control perspectiveSystem-Level Defense against Indirect Prompt Injection Attacks: An Information Flow Control Perspective

arXiv· arXiv:2409.19091· Fangzhou Wu, Ethan Cecchetti, Chaowei Xiao·Indexed by this site · 27 days ago· Originally publishedDefenses
AI summary

Researchers propose a system-level defense method based on information flow control principles, the f-secure LLM system, to address indirect prompt injection attacks faced by LLM systems. The method decomposes LLM system components into context-aware pipelines, dynamically generates structured executable plans, and uses a security monitor to filter untrusted inputs entering the planning process, blocking attacks while preserving flexibility as much as possible. The paper establishes formal models for existing LLM systems and the f-secure LLM system respectively to analyze key security guarantees, and through case studies and benchmark tests shows that the method provides robust security while maintaining functionality and efficiency. Code is open-sourced at https://github.com/fzwark/Secure_LLM_System。

Read originalarxiv.org