Skip to main content
LLM Security Database
Skip to research search
Last analyzed 8/13/2026

Language Model Security Database

969 research findings · 1102 evaluated models

Filtered research findings

330 entries

Matches every word across titles, descriptions, sources, affected systems, and models.

Published 10/1/2023
Analyzed 12/28/2024

Large Language Models (LLMs) are vulnerable to Compositional Instruction Attacks (CIA), where malicious prompts are embedded within seemingly harmless instructions. This allows attackers to bypass safety mechanisms and elicit harmful responses from the model, even if the individual components of the prompt would be flagged as safe. The attack exploits the model's inability to correctly identify underlying malicious intent within composite instructions.

Prompt packer: Deceiving llms through compositional instruction with hidden attacks
Evaluated models: ChatGLM2 6B, GPT-3.5 Turbo, GPT-4

Source: arXiv

Published 10/1/2023
Analyzed 12/29/2024

Large Language Models (LLMs) are vulnerable to In-Context Attacks (ICA) and susceptible to mitigation via In-Context Defense (ICD). ICA leverages a small number of harmful demonstration examples within a prompt to elicit harmful responses from the LLM, even if it is otherwise safety-aligned. ICD counteracts ICA by prepending safe demonstration examples to the prompt, effectively reducing the likelihood of harmful output. The effectiveness of both ICA and ICD is demonstrated across multiple LLMs.

Jailbreak and guard aligned language models with only few in-context demonstrations
Evaluated models: GPT-4 0613, Llama 2 7B Chat, Mistral-7B-v2 +4 more

Source: arXiv

Published 10/1/2023
Analyzed 12/28/2024

A vulnerability in large language models (LLMs) allows attackers to craft malicious prompts that induce the LLM to generate harmful content, such as fraudulent material, racist remarks, or instructions for illegal activities. The vulnerability arises from the LLM's inability to reliably distinguish between benign and malicious instructions disguised within seemingly innocuous prompts. Attackers can exploit this by leveraging techniques like obfuscation, code injection/payload splitting, and…

Attack prompt generation for red teaming and defending large language models
Evaluated models: Not reported

Source: arXiv

Published 10/1/2023
Analyzed 12/28/2024

Low-rank adaptation (LoRA) fine-tuning allows efficient circumvention of safety training in large language models (LLMs), such as Llama 2-Chat 70B, resulting in significantly reduced refusal rates for harmful prompts while maintaining general performance capabilities. Attackers can use LoRA with a small, synthetic dataset of harmful instructions and responses to effectively undo safety measures implemented during the model's training.

Lora fine-tuning efficiently undoes safety training in llama 2-chat 70b
Evaluated models: Llama 2 13B Chat, Llama 2 70B Chat, Llama 2 7B Chat

Source: arXiv

Published 10/1/2023
Analyzed 1/26/2025

A prompt-based adversarial attack, termed PromptAttack, can cause Large Language Models (LLMs) to generate incorrect outputs by manipulating the input prompt. PromptAttack crafts prompts that include the original input, an attack objective (to generate semantically similar but misclassified output), and attack guidance with instructions for character, word, or sentence-level perturbations. This allows an attacker to manipulate an LLM's response without direct access to its internal parameters…

An LLM can Fool Itself: A Prompt-Based Adversarial Attack
Evaluated models: GPT-3.5 Turbo

Source: arXiv

Published 10/1/2023
Analyzed 12/28/2024

A vulnerability exists in multimodal Large Language Models (LLMs) integrated with external tools. Adversarial images, visually indistinguishable from benign images, can manipulate the LLM to execute unintended tool commands, compromising the confidentiality and integrity of user resources. The attack is effective across diverse prompts, remaining stealthy both in the image itself and in the generated text response.

Misusing tools in large language models with visual adversarial examples
Evaluated models: Not reported

Source: arXiv

Published 8/1/2023
Analyzed 1/26/2025

Large Language Model (LLM)-integrated web applications using Langchain (and potentially similar middleware) are vulnerable to Prompt-to-SQL (P2SQL) injection attacks. Unsanitized user prompts can be crafted to cause the LLM to generate malicious SQL queries, leading to unauthorized database access (read and write operations). This vulnerability bypasses attempts to restrict the LLM through prompt engineering alone.

From prompt injections to sql injection attacks: How protected is your llm-integrated web application?
Evaluated models: GPT-3.5 Turbo, GPT-4, PaLM 2 +1 more

Source: arXiv

Published 7/1/2023
Analyzed 3/4/2025

A vulnerability in multi-modal large language models (LLMs) allows adversaries to bypass safety mechanisms through compositional adversarial attacks. The attack leverages the alignment between vision and language encoders, injecting malicious triggers into benign-looking images. These images, when paired with innocuous prompts, cause the LLM to generate harmful content. The attack requires access only to the vision encoder (e.g., CLIP), not the LLM itself, lowering the barrier to attack.

Jailbreak in pieces: Compositional adversarial attacks on multi-modal language models
Evaluated models: Llama-adapterv2

Source: arXiv

Published 6/1/2023
Analyzed 12/29/2024

A prompt injection vulnerability allows attackers to manipulate the behavior of Large Language Model (LLM)-integrated applications by crafting malicious prompts that override the application's intended functionality. Attackers can achieve this by constructing prompts that cause the LLM to interpret malicious payloads as instructions, rather than data, leading to unintended actions such as data leakage, unauthorized LLM usage, or application mimicry. This vulnerability exploits the way user…

Prompt Injection attack against LLM-integrated Applications
Evaluated models: GPT-3.5

Source: arXiv

Published 6/1/2023
Analyzed 12/29/2024

A vulnerability in vision-integrated Large Language Models (VLMs) allows an attacker to circumvent safety mechanisms through the use of adversarially crafted visual examples. A single, carefully constructed image can universally "jailbreak" the model, causing it to generate harmful content in response to a wide range of subsequent prompts, even those not included in the adversarial example's training data. This vulnerability extends beyond simple misclassification to encompass the execution of…

Visual adversarial examples jailbreak large language models
Evaluated models: InstructBLIP, MiniGPT-4

Source: arXiv

Research methodology

Entries summarize publicly available primary-source security research. Model names reflect only systems explicitly evaluated by the cited paper, and measurements are research-reported unless independent verification is stated.