paper-with-me

Papers

Enhancing Security in LLM Applications: A Performance Evaluation of Early Detection Systems

2025-06-23 · Valerii Gakh, Hayretdin Bahsi

Prompt injection threatens novel applications that emerge from adapting LLMs for various user tasks. The newly developed LLM-based software applications become more ubiquitous and diverse. However, the threat of prompt injection attacks undermines the security of these systems as the mitigation and defenses against them, proposed so far, are insufficient. We investigated the capabilities of early prompt injection detection systems, focusing specifically on the detection performance of techniques implemented in various open-source solutions. These solutions are supposed to detect certain types of prompt injection attacks, including the prompt leak. In prompt leakage attacks, an attacker maliciously manipulates the LLM into outputting its system instructions, violating the system's confidentiality. Our study presents analyzes of distinct prompt leakage detection techniques, and a comparative analysis of several detection solutions, which implement those techniques. We identify the strengths and weaknesses of these techniques and elaborate on their optimal configuration and usage in high-stake deployments. In one of the first studies on existing prompt leak detection solutions, we compared the performances of LLM Guard, Vigil, and Rebuff. We concluded that the implementations of canary word checks in Vigil and Rebuff were not effective at detecting prompt leak attacks, and we proposed improvements for them. We also found an evasion weakness in Rebuff's secondary model-based technique and proposed a mitigation. Then, the result of the comparison of LLM Guard, Vigil, and Rebuff at their peak performance revealed that Vigil is optimal for cases when minimal false positive rate is required, and Rebuff is the most optimal for average needs.

📄 PDF Abstract BibTeX arXiv:2506.19109

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

A Comparative Evaluation of Teacher-Guided Reinforcement Learning Techniques for Autonomous Cyber Operations

2025-08-20 · Konur Tholl, Mariam El Mezouar, Ranwa Al Mallah arxiv

Autonomous Cyber Operations (ACO) rely on Reinforcement Learning (RL) to train agents to make effective decisions in the cybersecurity domain. However, existing ACO applications require agents to learn from scratch, lead…

Reinforcement Learning

Enhancing IoT Security: A Novel Feature Engineering Approach for ML-Based Intrusion Detection Systems

2024-04-29 · Afsaneh Mahanipour, Hana Khamfroush

The integration of Internet of Things (IoT) applications in our daily lives has led to a surge in data traffic, posing significant security challenges. IoT applications using cloud and edge computing are at higher risk o…

Edge-computingFeature EngineeringIntrusion Detection

SecureReviewer: Enhancing Large Language Models for Secure Code Review through Secure-aware Fine-tuning

2025-10-30 · Fang Liu, Simiao Liu, Yinghao Zhu, Xiaoli Lian 외 arxiv

Identifying and addressing security issues during the early phase of the development lifecycle is critical for mitigating the long-term negative impacts on software systems. Code review serves as an effective practice th…

Generative AI-enabled Blockchain Networks: Fundamentals, Applications, and Case Study

2024-01-28 · Cong T. Nguyen, Yinqiu Liu, Hongyang Du, Dinh Thai Hoang 외

Generative Artificial Intelligence (GAI) has recently emerged as a promising solution to address critical challenges of blockchain technology, including scalability, security, privacy, and interoperability. In this paper…

The Hidden Risks of LLM-Generated Web Application Code: A Security-Centric Evaluation of Code Generation Capabilities in Large Language Models

2025-04-29 · Swaroop Dora, Deven Lunkad, Naziya Aslam, S. Venkatesan 외

The rapid advancement of Large Language Models (LLMs) has enhanced software development processes, minimizing the time and effort required for coding and enhancing developer productivity. However, despite their potential…

Code Generation