A Security Risk Taxonomy for Prompt-Based Interaction with Large Language Models

Authors: Derner, E. , Batistič, K., Zahálka, J., Babuška, R.

External link: https://ieeexplore.ieee.org/abstract/document/10648691
Publication: IEEE Access, 12, p. 126176-126187, 2024
DOI: https://doi.org/10.1109/ACCESS.2024.3450388
PDF: Click here for the PDF paper

As large language models (LLMs) permeate more and more applications, an assessment of their associated security risks becomes increasingly necessary. The potential for exploitation by malicious actors, ranging from disinformation to data breaches and reputation damage, is substantial. This paper addresses a gap in current research by specifically focusing on security risks posed by LLMs within the prompt-based interaction scheme, which extends beyond the widely covered ethical and societal implications. Our work proposes a taxonomy of security risks along the user-model communication pipeline and categorizes the attacks by target and attack type alongside the commonly used confidentiality, integrity, and availability (CIA) triad. The taxonomy is reinforced with specific attack examples to showcase the real-world impact of these risks. Through this taxonomy, we aim to inform the development of robust and secure LLM applications, enhancing their safety and trustworthiness.