Vocabulary Attack to Hijack Large Language Model Applications
Not on the map. Why?
Abstract (arXiv)
The fast advancements in Large Language Models (LLMs) are driving an increasing number of applications. Together with the growing number of users, we also see an increasing number of attackers who try to outsmart these systems. They want the model to reveal confidential information, specific false information, or offensive behavior. To this end, they manipulate their instructions for the LLM by inserting separators or rephrasing them systematically until they reach their goal. Our approach is different. It inserts words from the model vocabulary. We find these words using an optimization procedure and embeddings from another LLM (attacker LLM). We prove our approach by goal hijacking two popular open-source LLMs from the Llama2 and the Flan-T5 families, respectively. We present two main findings. First, our approach creates inconspicuous instructions and therefore it is hard to detect. For many attack cases, we find that even a single word insertion is sufficient. Second, we demonstrate that we can conduct our attack using a different model than the target model to conduct our attack with.
Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Builds on 6 of its 13 references that are in the map. First posted on arXiv 3 Apr 2024.
Builds on
6 of 13 references.
References · 6
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 2,914
- 2022Survey of Hallucination in Natural Language Generationcited by 2,056
- 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 760
- 2023Jailbreaking ChatGPT via Prompt Engineering: An Empirical Studycited by 478
Built on by
Citing papers per year: 2024: 5; 2025: 6; 2026: 1.
12 papers.
- 2024AI Agents Under Threat: A Survey of Key Security Challenges and Future Pathwayscited by 122
- 2024Navigating the Risks: A Survey of Security, Privacy, and Ethics Threats in LLM-Based Agentscited by 63
- 2024Crabs: Consuming Resource via Auto-generation for LLM-DoS Attack under Black-box Settingscited by 33
- 2025ASIDE: Architectural Separation of Instructions and Data in Language Modelscited by 21
- 2024A Study on Prompt Injection Attack Against LLM-Integrated Mobile Robotic Systemscited by 15
- 2025Attack and defense techniques in large language models: A survey and new perspectivescited by 13
- 2025A Survey of Attacks on Large Language Modelscited by 13
- 2024On the Ethical Considerations of Generative Agentscited by 4
- 2025Exploiting Web Search Tools of AI Agents for Data Exfiltrationcited by 3
- 2025Securing Educational LLMs: A Generalised Taxonomy of Attacks on LLMs and DREAD Risk Assessmentcited by 2
- 2025PD3F: A Pluggable and Dynamic DoS-Defense Framework Against Resource Consumption Attacks Targeting Large Language Modelscited by 1
- 2026MIXAR: Scaling Autoregressive Pixel-based Language Models to Multiple Languages and Scriptscited by 1
- 2026MIXAR: Scaling Autoregressive Pixel-based Language Models to Multiple Languages and Scripts13 Apr 2026
- 2025Exploiting Web Search Tools of AI Agents for Data Exfiltration10 Oct 2025
- 2025Securing Educational LLMs: A Generalised Taxonomy of Attacks on LLMs and DREAD Risk Assessment12 Aug 2025
- 2025PD3F: A Pluggable and Dynamic DoS-Defense Framework Against Resource Consumption Attacks Targeting Large Language Models24 May 2025
- 2025A Survey of Attacks on Large Language Models18 May 2025
- 2025Attack and defense techniques in large language models: A survey and new perspectives2 May 2025
- 2025ASIDE: Architectural Separation of Instructions and Data in Language Models13 Mar 2025
- 2024Crabs: Consuming Resource via Auto-generation for LLM-DoS Attack under Black-box Settings18 Dec 2024
- 2024On the Ethical Considerations of Generative Agents28 Nov 2024
- 2024Navigating the Risks: A Survey of Security, Privacy, and Ethics Threats in LLM-Based Agents14 Nov 2024
- 2024A Study on Prompt Injection Attack Against LLM-Integrated Mobile Robotic Systems7 Aug 2024
- 2024AI Agents Under Threat: A Survey of Key Security Challenges and Future Pathways4 Jun 2024