LLM in the Middle: A Systematic Review of Threats and Mitigations to Real-World LLM-based Systems
Moia, Vitor Hugo Galhardo, Sanz, Igor Jochem, Rebello, Gabriel Antonio Fontes, de Meneses, Rodrigo Duarte, Hitaj, Briland, Lindqvist, Ulf
–arXiv.org Artificial Intelligence
The success and wide adoption of generative AI (GenAI), particularly large language models (LLMs), has attracted the attention of cybercriminals seeking to abuse models, steal sensitive data, or disrupt services. Moreover, providing security to LLM-based systems is a great challenge, as both traditional threats to software applications and threats targeting LLMs and their integration must be mitigated. In this survey, we shed light on security and privacy concerns of such LLM-based systems by performing a systematic review and comprehensive categorization of threats and defensive strategies considering the entire software and LLM life cycles. We analyze real-world scenarios with distinct characteristics of LLM usage, spanning from development to operation. In addition, threats are classified according to their severity level and to which scenarios they pertain, facilitating the identification of the most relevant threats. Recommended defense strategies are systematically categorized and mapped to the corresponding life cycle phase and possible attack strategies they attenuate. This work paves the way for consumers and vendors to understand and efficiently mitigate risks during integration of LLMs in their respective solutions or organizations. It also enables the research community to benefit from the discussion of open challenges and edge cases that may hinder the secure and privacy-preserving adoption of LLM-based systems.
arXiv.org Artificial Intelligence
Sep-16-2025
- Country:
- Africa > Guinea
- Kankan Region > Kankan Prefecture > Kankan (0.04)
- Asia
- Middle East > UAE
- Abu Dhabi Emirate > Abu Dhabi (0.14)
- Nepal (0.04)
- Singapore (0.04)
- Middle East > UAE
- Europe
- Denmark > Capital Region
- Copenhagen (0.04)
- Middle East > Malta
- Eastern Region > Northern Harbour District > St. Julian's (0.04)
- Netherlands > Drenthe
- Assen (0.04)
- Sweden (0.04)
- Switzerland (0.04)
- Denmark > Capital Region
- North America
- Canada (0.04)
- United States
- California
- Orange County > Anaheim (0.04)
- San Mateo County > Menlo Park (0.04)
- Florida > Miami-Dade County
- Miami (0.04)
- North Carolina (0.04)
- California
- South America > Brazil
- Rio de Janeiro > Rio de Janeiro (0.04)
- São Paulo > Campinas (0.04)
- Africa > Guinea
- Genre:
- Overview (1.00)
- Research Report > New Finding (0.45)
- Industry:
- Government
- Information Technology > Security & Privacy (1.00)
- Law (1.00)
- Law Enforcement & Public Safety (1.00)
- Technology: