The LMVD-ID is an internal research identifier, not an official CVE identifier.
Vocabulary-Guided LLM Hijacking
Large Language Models (LLMs) are vulnerable to a vocabulary attack where carefully selected words from the model's vocabulary, identified using an optimization procedure and embeddings from another LLM, are inserted…
Paper-evaluated models(4)
- Flan-T5 XXL
- Llama 2 7B Chat
- Llama 2 Chat
- T5 Base
Description
Large Language Models (LLMs) are vulnerable to a vocabulary attack where carefully selected words from the model's vocabulary, identified using an optimization procedure and embeddings from another LLM, are inserted into user prompts. This manipulation can cause the target LLM to generate specific undesired outputs (goal hijacking), such as offensive language or false information, even with minimal word insertions. The attack is difficult to detect because the inserted words may appear innocuous in the context of the prompt.
Examples
See Table II and Table III in the provided research paper. Examples include inserting single words like "emission," "archiv," or "Kaufentscheidung" at specific positions within the prompt to trigger undesired outputs.
Impact
Successful attacks can lead to goal hijacking, resulting in the generation of offensive language, misinformation, or the disclosure of confidential information within LLM applications. The subtlety of the attack makes it difficult to detect and mitigate through simple filtering techniques.
Affected Systems
Open-source LLMs such as Llama2 and Flan-T5, and potentially other LLMs susceptible to adversarial attacks based on vocabulary manipulation. This vulnerability is independent of the specific model architecture and training data.
Mitigation Steps
- Implement robust prompt sanitization techniques beyond simple keyword filtering. Consider techniques that analyze semantic meaning and context rather than just individual words.
- Develop and deploy machine learning models to detect anomalous word placements and contextual shifts in user prompts which may indicate an attack.
- Regularly update and improve the model’s safety and security measures, incorporating the latest research on adversarial attacks.
- Conduct regular security audits of LLM applications to identify and address potential 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
- Black-box model, service, or application access.
- Related deployment categories
- No related deployment category is classified.
- Taxonomy labels only; paper-specific deployment prerequisites are not inferred.
- Affected systems
- Open-source LLMs such as Llama2 and Flan-T5, and potentially other LLMs susceptible to adversarial attacks based on vocabulary manipulation. This vulnerability is independent of the specific model architecture and…
Research Paper
Vocabulary Attack to Hijack Large Language Model Applications
Primary source: arXiv. Findings are reported by the cited research and have not been independently verified.
View PaperEvidence
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/2404.02637Related research
- Activation-Guided Local Editing Jailbreak
Published August 1, 2025 · model-layer, prompt-layer, jailbreak
- Academic Paper Trust Jailbreak
Published July 1, 2025 · model-layer, prompt-layer, injection
- Agentic Red-Teaming Uncovers Novel Jailbreaks
Published June 1, 2025 · model-layer, prompt-layer, jailbreak