Prompt Injection Attacks on Large Language Models: Multi-Model Security Analysis with Categorized Attack Types
Bildiriler > Tam Metin Bildiri · 2025
Yazarlar: Selin Şaşal, Özgü CAN
Proceedings of the 17th International Joint Conference on Knowledge Discovery, Knowledge Engineering and Knowledge Management, İspanya, Marbella, Uluslararası, Sözlü Sunum, Tam Metin Bildiri, 2025-2025, Scopus, cilt 1, ss 517-524
Özet
<p><span style="color: rgb(0, 0, 0);">Large Language Models (LLMs) are widely used in information processing, language interaction, and </span></p><p><span style="color: rgb(0, 0, 0);">decision support. The command-based structure of these systems creates security vulnerabilities that can be </span></p><p><span style="color: rgb(0, 0, 0);">exploited through attacks designed to bypass security measures and generate malicious content. This study </span></p><p><span style="color: rgb(0, 0, 0);">presents a comparative analysis of three LLMs (GPT-4o, Claude 4 Sonnet, and Gemini 2.5 Flash) based on </span></p><p><span style="color: rgb(0, 0, 0);">four fundamental security metrics: compliance, filter bypass, sensitive information leakage, and security risk </span></p><p><span style="color: rgb(0, 0, 0);">level. The study used an attack dataset containing unethical, harmful, and manipulation-oriented prompts. </span></p><p><span style="color: rgb(0, 0, 0);">According to the results, the Claude model demonstrated the most robust security posture by providing secure </span></p><p><span style="color: rgb(0, 0, 0);">responses with high consistency. Gemini was the most vulnerable due to filtering failures and information </span></p><p><span style="color: rgb(0, 0, 0);">leakage. GPT-4o showed average performance, behaving securely in most scenarios but exhibiting </span></p><p><span style="color: rgb(0, 0, 0);">inconsistency in the face of indirect attacks. The findings reveal that LLM security is influenced not only by </span></p><p><span style="color: rgb(0, 0, 0);">content-level factors but also by structural factors such as model architectural design, training data scope, and </span></p><p><span style="color: rgb(0, 0, 0);">filtering strategies. Therefore, it is critical to regularly test models against attacks and establish transparent, </span></p><p><span style="color: rgb(0, 0, 0);">explainable, and ethics-based security principles.</span></p>