Joint Optimization of Prompt Security and System Performance in Edge-Cloud LLM Systems
United International College (UIC)(联合国际学院);Institute of Artificial Intelligence and Future Networks (BNU-Zhuhai)(人工智能与未来网络研究院(北京师范大学珠海校区));Interdisciplinary Intelligence SuperComputer Center of Beijing Normal University (Zhuhai)(北京师范大学(珠海)跨学科智能超级计算中心)
Large language models (LLMs) have significantly facilitated human life, and prompt engineering has improved the efficiency of these models. However, recent years have witnessed a rise in prompt engineering-empowered attacks, leading to issues such as privacy leaks, increased latency, and system resource wastage. Though safety fine-tuning based methods with Reinforcement Learning from Human Feedback (RLHF) are proposed to align the LLMs, existing security mechanisms fail to cope with fickle prompt attacks, highlighting the necessity of performing security detection on prompts. In this paper, we jointly consider prompt security, service latency, and system resource optimization in Edge-Cloud LLM (EC-LLM) systems under various prompt attacks. To enhance prompt security, a vector-database-enabled lightweight attack detector is proposed. We formalize the problem of joint prompt detection, latency, and resource optimization into a multi-stage dynamic Bayesian game model. The equilibrium strategy is determined by predicting the number of malicious tasks and updating beliefs at each stage through Bayesian updates. The proposed scheme is evaluated on a real implemented EC-LLM system, and the results demonstrate that our approach offers enhanced security, reduces the service latency for benign users, and decreases system resource consumption compared to state-of-the-art algorithms.
An Empirical Evaluation of LLM-Generated Code Security Across Prompting Methods
Department of Computer Science, Birzeit University(计算机科学系,巴勒斯坦比泽大学);King Fahd University of Petroleum and Minerals(国王法赫德石油和矿物大学);University of Central Florida(中央佛罗里达大学)
Breaking the Protocol: Security Analysis of the Model Context Protocol Specification and Prompt Injection Vulnerabilities in Tool-Integrated LLM Agents
Enhancing Security in LLM Applications: A Performance Evaluation of Early Detection Systems
School of Information Technologies(信息科技学院);Tallinn University of Technology(塔林技术大学);School of Informatics, Computing, and Cyber Systems(信息学、计算与网络安全学院);Northern Arizona University(北亚利桑那大学)
A Security Risk Taxonomy for Prompt-Based Interaction With Large Language Models
ELLIS Alicante(欧洲学习与智能系统实验室阿利坎特分部);Czech Institute of Informatics, Robotics, and Cybernetics, Czech Technical University in Prague(捷克布拉格技术大学捷克信息学、机器人学与控制论研究所);Delft University of Technology(代尔夫特理工大学)
When Prompts Become Payloads: A Framework for Mitigating SQL Injection Attacks in Large Language Model-Driven Applications
Hasso Plattner Institute, University of Potsdam, Germany(波茨坦大学霍斯曼-普拉特研究所, 德国);Chemnitz University of Technology, Chemnitz, Germany(Chemnitz技术大学, Chemnitz, 德国)
The Art of the Jailbreak: Formulating Jailbreak Attacks for LLM Security Beyond Binary Scoring
Department of Computer Science, University of Texas at El Paso(德克萨斯大学埃尔帕索分校计算机科学系);School of Computing, Southern Illinois University Carbondale(南方伊利诺伊大学卡罗尔丹分校计算学院);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)
An Insight into Security Code Review with LLMs: Capabilities, Obstacles, and Influential Factors
School of Computer Science, Wuhan University, China(武汉大学计算机科学学院);School of Mathematical and Computational Sciences, Massey University(梅西大学数学与计算科学学院);School of Computing Technologies, RMIT University, Australia(皇家墨尔本理工学院计算技术学院)
Arondight: Red Teaming Large Vision Language Models with Auto-generated Multi-modal Jailbreak Prompts
City University of Hong Kong(香港城市大学);City University of Hong Kong (Dongguan)(香港城市大学(东莞));University of Science and Technology Beijing(北京科技大学);The University of Melbourne(墨尔本大学)
Security Degradation in Iterative AI Code Generation -- A Systematic Analysis of the Paradox
Department of Analytics and Information Systems(分析与信息系统系);University of San Francisco(旧金山大学);Department of Applied AI and Industry Innovation(应用人工智能与产业创新系);Vector Institute for Artificial Intelligence(人工智能研究院);Department of Management Science and Information Systems(管理科学与信息系统系);University of Massachusetts Boston(马萨诸塞大学波士顿分校)