Prompt Injection in Open-Source Large Language Models: A Review of Attacks, Defenses and Evaluation Practice
Prompt injection has become one of the most discussed security problems in applications built on large language models (LLMs), because these models cannot reliably tell the instructions of a developer from the text they are asked to process. Open-source LLMs add a further dimension, since organizations run them on their own infrastructure and control the full deployment stack. This paper reviews the literature on prompt injection with a focus on open-weight models. It proposes a taxonomy of attacks based on who supplies the injected text and how it is delivered, groups defenses into four families (prompt-level, training-level, detection and filtering, and system-level), and summarizes the benchmarks used for evaluation. The review finds that evidence on open-weight models is thinner than for proprietary systems, that most defenses are tested only against static attacks, and that reporting of utility cost is inconsistent. The paper concludes with a research agenda covering adaptive-attack evaluation, multilingual settings, standard reporting practice and defense-indepth architectures.
Authors
- K.Pavithra K.R.Buvana
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-03
- DOI
- https://doi.org/10.5281/zenodo.24775564
- Primary Topic
- Adversarial Robustness in Machine Learning
- Type
- article
- Field-Weighted Citation Impact
- 0.00