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

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
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Prompt Injection in Open-Source Large Language Models: A Review of Attacks, Defenses and Evaluation Practice

K.Pavithra K.R.Buvana
Zenodo (CERN European Organization for Nuclear Research)
Adversarial Robustness in Machine Learning
article

Prompt Injection in Open-Source Large Language Models: A Review of Attacks, Defenses and Evaluation Practice

K.Pavithra K.R.Buvana
article en

Abstract

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.

Zenodo (CERN European Organization for Nuclear Research)
Adversarial Robustness in Machine Learning
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon