Manuscript Offprint

arXiv:2610.24999

SoK: PIAtlas: Decomposing the Unbounded Prompt Injection Attack Space

Stavros Damianakis, Konstantinos Psounis

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Stavros Damianakis

University of Southern California

sdamiana@usc.edu

Konstantinos Psounis

University of Southern California

kpsounis@usc.edu

Code and data: https://github.com/stevendamianakis/piatlas

Interactive taxonomy: https://stevendamianakis.github.io/piatlas-site/

Abstract—Prompt injection is the dominant security risk for large-language-model (LLM) applications and agents, yet the field still lacks a coherent map of how these attacks are constructed. More than twenty public datasets describe prompt injection using incompatible vocabularies, often organized around delivery vector, attacker goal, or generation method. In this Systematization of Knowledge, we present PIAtlas, a taxonomy organized instead around how the injected instruction is constructed to subvert the underlying model. Its six classes, one per subversion mechanism, form the roots of a hierarchy of techniques and sub-techniques that researchers can use to describe attacks consistently and design more systematic evaluations. We derive the taxonomy from how LLMs are trained, prompted, and influenced by human-like framing, and compare it with historical attack data. To ground this comparison, we release PICorpus, to our knowledge the largest license-clean collection of public prompt-injection datasets, and map thousands of its records to PIAtlas under a human-verified protocol. The mapping shows that attacks usually combine several techniques drawn from only a few mechanisms. It also reveals gaps that existing labels obscure: widely used agent benchmarks test only part of the attack space, and adaptive attackers favor mechanisms that curated benchmarks underrepresent. PIAtlas thus provides a common foundation for understanding this attack space, improving benchmark coverage, and guiding red teaming and defenses.

I. INTRODUCTION

Large language models are now the reasoning core of email assistants, coding agents, browser agents, customer-support chatbots, retrieval-augmented systems, and operating-system-level “computer use” agents. Their power comes from a single design choice. Any token sequence in the model’s context window can in principle influence the model’s next action. The same design choice is the source of prompt injection, the now-pervasive vulnerability in which adversarial text supplied as data (in an application’s input field, a retrieved document, a tool output, an email, or a web page) is treated by the model as a high-authority instruction [1]–[5]. The vulnerability has moved from laboratory demonstration to vendor-confirmed, working exploits, including zero-click data exfiltration from Microsoft 365 Copilot (EchoLeak, CVE-2025-32711) [6], [7], remote code execution through GitHub Copilot (CVE-2025-53773) [8], and account takeover in an agentic browser [9] (Section VII). Injections have also spread across the open web. A scan of 1.2 billion URLs found over 12,000 of them [10], and Google measured a 32% rise in malicious ones between November 2025 and February 2026 [11].

The community now broadly agrees that prompt injection is, in any practical sense, not solvable, only containable. Since late 2025, OpenAI and the UK's National Cyber Security Centre have said so publicly [12], [13]. OWASP has listed prompt injection (LLM01) as the top risk for LLM-integrated applications in every edition of its Top 10 since 2023 [3], [14], [15]. Controlled measurements show that widely used models do not reliably separate instructions from data [16], and the practitioners' working assumption is that no model-level behavior makes an agent safe once it combines private data, exposure to untrusted content, and an exfiltration channel [17]. The defense literature has organized into families that position themselves as mitigations rather than fixes. These include training-time instruction-privilege and preference-optimization methods (OpenAI's Instruction Hierarchy [18], StruQ [19], SecAlign [20] and its open-weights successor Meta SecAlign [21]), prompt-level isolation such as Microsoft's Spotlighting [22], and inference-time detection, both black-box (DataSentinel [23], PromptShield [24], and deployed industrial guards [25], [26]) and white-box detectors that read activations or attention (TaskTracker [27], Attention Tracker [28]). Others localize injected spans post hoc [29] or use system-level designs that constrain an agent's control and data flow regardless of model behavior (CaMeL [30], agent-security design patterns [31], and information-flow control for agents [32]). The jailbreak-side analogue is the classifier guardrail [33], [34] (Section II-B draws the injection/jailbreak boundary). Even the strongest by-design guarantees are scoped to control-and data-flow attacks and leave the underlying model-level instruction-data confusion intact [16], [30].

The unbounded-search problem. The set of attacker-controlled token sequences of length k over a modern vocabulary V has cardinality ∣V∣k|V|^{k}, on the order of 1025010^{250} for k=50 and ∣V∣=105|V|=10^{5}. No red-teaming process, human or automated, can traverse this space by brute force. A search that samples it uniformly spends the overwhelming majority of its budget in unproductive territory, and one that explores it through small local perturbations of known attacks stays close to them.

But the space has structure. Effective prompt injections are not arbitrary token sequences. They are constructed, and their construction follows a comparatively small number of recurring strategies, such as patterns of framing, instruction-overriding, structural spoofing, obfuscation, and social engineering. We expect attacks that share a strategy to be reachable from one another through paraphrase and surface variation, and attacks built on different strategies to be separated by gaps that local search rarely crosses. The practical search space would therefore be better understood not as a uniform expanse but as a collection of distinct regions, each corresponding to an underlying construction technique, each internally dense and externally sparse. What is missing is the corresponding map for prompt-injection construction. Whether that structure is visible in a given embedding space, however, depends on the representation. A generic sentence encoder is trained to capture meaning (topic, payload, domain), which need not coincide with construction. We therefore conjecture that under a construction-aligned representation the set of successful injections lies on a union of low-dimensional sub-manifolds indexed by construction (in the embedding space of the attack instructions, not any target model's latent space, as a discrete-to-continuous application of the manifold hypothesis), and we treat finding such a representation as part of the problem (Section VI).

The community’s vocabulary has fragmented. Across prompt-injection and jailbreak research, prior work has produced more than a dozen taxonomies (Section VIII), organized around incompatible primary axes such as threat model (black-box/white-box) [35], payload generation strategy [36], delivery vector [37], kill-chain stage [38], dominant attack mechanism [39], belief/intention/permission stage [40], CIA-triad impact [41], and training-failure root cause [42]. Early construction-adjacent efforts (Perez & Ribeiro’s goal-hijack/prompt-leak split [2], the 29-technique HackAPrompt ontology [43], Rossi et al.’s early categorization [44], and HouYi’s three-component attack anatomy [4]) enumerate observed tricks or derive only a few categories, and predate the agentic era. Standards and industry bodies have not converged either. NIST’s adversarial-ML taxonomy [45], MITRE ATLAS [46], and OWASP’s LLM and agentic threat lists [15], [47] each slice the space along yet another axis and share little beyond the direct/indirect split. The dataset ecosystem has fragmented similarly. Among the 20+ public prompt-injection datasets we survey (Section III-A), none uses a standardized set of attack categories, and label sets range from binary detection to free-form technique strings.

Our position is to organize by construction. This paper synthesizes the field around one axis and one axis only, namely how the injected instruction is constructed to subvert the underlying model. We deliberately set aside transient surface vocabulary, topic payloads, and accidental delivery channels. An attacker can change topic, channel, and much of the wording at will and still use the same construction. Crucially, we do not simply group historical techniques post hoc. We derive the classes, one per subversion mechanism, from our current understanding of how an LLM converts context into behavior. An injection subverts the model through at least one of six mechanisms, each exploiting a characteristic, intrinsic property of the model, and each resolving into an extensible hierarchy of concrete techniques and subtechniques, the levels at which red-teaming, adversarial training, and benchmarking operate. This derivation renders the class set disjoint by mechanism and lets us argue broad coverage by reasoning about the model's decisions rather than empirical enumeration alone. We frame the six classes as a heuristic approximation of the attack space and their coverage as a falsifiable hypothesis, not a closed guarantee, and maintain PIAtlas as a living taxonomy updated as new exploits emerge. Finally, while the classes are structurally disjoint, real-world exploits are often multi-label, composing techniques from several classes to trigger multiple failures at once. We treat composition as a first-class property of the data rather than a defect in the classification boundaries, transforming an unbounded attack space into a tractable domain for systematic evaluation.

References (100)

Couldn't load all references. Reload the page to try again.