Sofia Gonzalez-Sancho, Tom Ferrasse, Maria‐Dolores Cano · Applied Sciences 2026 · 2026
DOI: 10.3390/app162111039
Counts differ because each database indexes a different set of publications. We treat OpenAlex as the canonical count; Google Scholar is not shown (no API, and crawling it violates its ToS).
Retrieval-Augmented Generation (RAG) exposes locally deployed Large Language Model (LLM) assistants to indirect prompt injection through untrusted documents. This study evaluates four attack families—instruction override, context contamination, tool abuse, and simulated data exfiltration—across five defense configurations (C1–C5) and four local LLMs, using a synthetic corpus of 40 documents and 32 queries. A complementary Spanish–English 2 × 2 experiment with a common multilingual retriever examines cross-lingual attack behavior. In the original Llama 3.1 8B experiment, conditional Attack Success Rate (ASR) decreased from 70.4% without defenses (C1) to 22.2% with deterministic post-generation filtering (C5). Across the four models, C5 achieved post-filter ASRs of 7.4–22.2%, with no observed consequential tool misuse or concrete synthetic-data leakage, although Answer Utility ranged from 21.9% to 62.5%. Across the four Spanish–English language conditions, C5 post-filter ASR ranged from 14.3% to 40.7%; in the English–English condition, the Spanish-calibrated filter did not remove English override phrases or disclosure structures, and C5 did not improve on the model-enforced defense C4. Because the filter and automatic evaluator share some detection indicators, post-filter ASR reflects unsafe content remaining in delivered responses rather than intrinsic model resistance. All automatic labels were validated through adjudication, bilingual re-labeling, and a blind semantic review of pre- and post-filter responses. Context contamination remained the main residual weakness. These findings support independent security enforcement while highlighting retrieval effects, security–utility trade-offs, and limitations of the controlled synthetic setting.
ACM Workshop on Artificial Intelligence and Security (AISec) 2026 · 2026 · 25 citations95% match
Journal Of Computer Science And Technology (JOCSTEC) 2026 · 2026 · 0 citations95% match
Preprints.org 2026 · 2026 · 0 citations95% match
Figshare 2026 · 2026 · 0 citations95% match
arXiv (Cornell University) 2026 · 2026 · 0 citations95% match
arXiv (Cornell University) 2014 · 2014 · 8145 citations90% match
2016 · 5389 citations
No comments yet — start the discussion below.
arXiv (Cornell University) 2017 · 2017 · 4803 citations90% match
OASIcs : OpenAccess Series in Informatics 2025 · 2025 · 4742 citations90% match
2016 · 3971 citations90% match