Skip to content
LowResearchPreprintLLM-specific

Prompt Injection as a Systemic Vulnerability in LLM-Based Tools: Threat Models, Empirical Analysis, and Mitigation Strategies

Published
Record updated
View JSON

Summary

This paper formalizes prompt injection as a control-boundary violation that arises when trusted instructions and untrusted data share an LLM context window. Across 2,100 trials on three architectures (chatbot, retrieval-augmented system, autonomous agent) and three LLM families (GPT-4, Claude 3.5 Sonnet, Gemini 1.5 Pro), attack success rose as autonomy grew, with memory poisoning reaching 94% (95% CI: 83.8-98.2%) in autonomous configurations.

Mitigation

Architectural controls, specifically tool permission gating, memory write filtering, and provenance tracking, reduced memory poisoning from 94% to 11%. Prompt-level defenses provided limited protection (≤3.2 percentage points), so the authors argue for external policy enforcement rather than prompt engineering alone.