Skip to main content
LLM Security Database
Skip to research details
Back to research findings
LMVD-ID: ffb88d5d
Paper published November 1, 2024
Entry analyzed December 29, 2024
Paper-reported evidence
Confidence: Source-linked

The LMVD-ID is an internal research identifier, not an official CVE identifier.

Universal LLM Output Control

Large Language Models (LLMs) are vulnerable to a novel prompt injection attack using universal and context-independent triggers. These triggers, once discovered for a specific LLM, allow precise control over the…

BibTeX citation

Paper-evaluated models(10)

Llama 3 70B Instruct, Llama 3 8B Instruct, Llama 3.1 70B Instruct +7 more
  • Llama 3 70B Instruct
  • Llama 3 8B Instruct
  • Llama 3.1 70B Instruct
  • Llama 3.1 8B Instruct
  • Llama 3.2 3B Instruct
  • Qwen-2 (57B-a14B-instruct)
  • Qwen 2 72B Instruct
  • Qwen 2 7B Instruct
  • Qwen 2.5 14B Instruct
  • Qwen 2.5 7B Instruct

Description

Large Language Models (LLMs) are vulnerable to a novel prompt injection attack using universal and context-independent triggers. These triggers, once discovered for a specific LLM, allow precise control over the model's output regardless of the prompt context or desired output content, enabling adversaries to force the generation of arbitrary text. The attack utilizes a gradient-based optimization technique to discover these triggers.

Examples

See the paper for examples; due to the potential for misuse, the actual triggers are not included here. The paper demonstrates attacks on Qwen-2 and Llama-3.1 models, where the trigger is inserted within user inputs before and after the malicious "payload" (the desired output).

Impact

Successful exploitation allows an attacker to manipulate LLMs to generate arbitrary outputs, including malicious code or harmful information. This significantly impacts the security and reliability of LLM-based applications, particularly those utilizing complex workflows or agentic frameworks. The universal and context-independent nature of the triggers makes the vulnerability particularly dangerous since a single trigger can be effective across a wide range of scenarios and user inputs.

Affected Systems

Open-source Large Language Models (LLMs), specifically Qwen-2 and Llama-3.1 are demonstrated to be vulnerable. The paper also suggests transferability to other models within the same model families. Any LLM using similar architectures and training methodologies may be susceptible.

Mitigation Steps

  • Robust Input Sanitization: Implement strict input validation and sanitization to detect and block potentially malicious inputs containing the discovered triggers. This requires detailed understanding of the trigger patterns.
  • Output Validation: Verify LLM outputs against expected formats and content. Reject outputs that deviate significantly from expectations.
  • Model Monitoring: Continuously monitor LLM outputs for anomalies or unexpected behavior indicative of exploitation.
  • Defense Development: Research and implement new prompt injection defenses specifically targeted at universal and context-independent triggers. The paper suggests that models trained on broader data sets might have improved resistance.
  • Regular Model Updates: Stay updated with patches and security updates for the LLM to mitigate newly discovered vulnerabilities.

Research context and confidence

Evidence and verification
Paper-reported; independent reproduction is not documented.
Primary research source linked.
Severity
Not rated by this catalog.
Source and publication type
arXiv · Research preprint.
Peer-review status is not provided by this source.
Author and publication status
Author metadata is not stored; see the primary paper.
Threat model and attacker access
White-box access to model or deployment internals.
Related deployment categories
No related deployment category is classified.
Taxonomy labels only; paper-specific deployment prerequisites are not inferred.
Affected systems
Open-source Large Language Models (LLMs), specifically Qwen-2 and Llama-3.1 are demonstrated to be vulnerable. The paper also suggests transferability to other models within the same model families. Any LLM using…

Research Paper

Universal and Context-Independent Triggers for Precise Control of LLM Outputs

Primary source: arXiv. Findings are reported by the cited research and have not been independently verified.

View Paper

Evidence

This entry is based on a primary research source. Its findings are paper-reported; independent reproduction and verification are not claimed.

https://arxiv.org/abs/2411.14738