Beyond the Benchmark: Innovative Defenses Against Prompt Injection Attacks
On the map: LLM safety and security → Prompt injection and agent security
Abstract (arXiv)
In this fast-evolving area of LLMs, our paper discusses the significant security risk presented by prompt injection attacks. It focuses on small open-sourced models, specifically the LLaMA family of models. We introduce novel defense mechanisms capable of generating automatic defenses and systematically evaluate said generated defenses against a comprehensive set of benchmarked attacks. Thus, we empirically demonstrated the improvement proposed by our approach in mitigating goal-hijacking vulnerabilities in LLMs. Our work recognizes the increasing relevance of small open-sourced LLMs and their potential for broad deployments on edge devices, aligning with future trends in LLM applications. We contribute to the greater ecosystem of open-source LLMs and their security in the following: (1) assessing present prompt-based defenses against the latest attacks, (2) introducing a new framework using a seed defense (Chain Of Thoughts) to refine the defense prompts iteratively, and (3) showing significant improvements in detecting goal hijacking attacks. Out strategies significantly reduce the success rates of the attacks and false detection rates while at the same time effectively detecting goal-hijacking capabilities, paving the way for more secure and efficient deployments of small and open-source LLMs in resource-constrained environments.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Prompt injection and agent security, one of 12 directions in LLM safety and security. Builds on 11 of its 27 references that are in the map. First posted on arXiv 18 Dec 2025.
Builds on
11 of 27 references.
Closest ancestors · 1
Same direction, newest first
- 2023Benchmarking and Defending Against Indirect Prompt Injection Attacks on Large Language Models21 Dec
Other references · 10
- 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,674
- 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,565
- 2024The AI Scientist: Towards Fully Automated Open-Ended Scientific Discoverycited by 1,002
- 2023Low-Resource Languages Jailbreak GPT-4cited by 290
- 2023Large Language Model Guided Tree-of-Thoughtcited by 218
- 2024Towards Resilient and Efficient LLMs: A Comparative Study of Efficiency, Performance, and Adversarial Robustnesscited by 22
- 2024Assessing Adversarial Robustness of Large Language Models: An Empirical Studycited by 21
- 2024Logic Query of Thoughts: Guiding Large Language Models to Answer Complex Logic Queries with Knowledge Graphscited by 20
- 2024Enhancing Guardrails for Safe and Secure Healthcare AIcited by 7
- 2023Adversarial Attacks and Defenses in Machine Learning-Powered Networks: A Contemporary Surveycited by 5
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Analysis of LLMs Against Prompt Injection and Jailbreak Attacks
- 2025From ASR to ASP: Evaluating Prompt Attack Vulnerabilities Against Open-Source LLMs
- 2026Defense Against Indirect Prompt Injection via Tool Result Parsing
- 2026Adaptive Evaluation of Out-of-Band Defenses Against Prompt Injection in LLM Agents
- 2026Kill-Chain Canaries: Stage-Level Tracking of Prompt Injection Across Attack Surfaces and Model Safety Tiers
- 2025A Multi-Agent LLM Defense Pipeline Against Prompt Injection Attacks
- 2026Know Thy Enemy: Securing LLMs Against Prompt Injection via Diverse Data Synthesis and Instruction-Level Chain-of-Thought Learning
- 2025Breaking to Build: A Threat Model of Prompt-Based Attacks for Securing LLMs