The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructions
Open accessAbstract
Today's LLMs are susceptible to prompt injections, jailbreaks, and other attacks that allow adversaries to overwrite a model's original instructions with their own malicious prompts. In this work, we argue that one of the primary vulnerabilities underlying these attacks is that LLMs often consider system prompts (e.g., text from an application developer) to be the same priority as text from untrusted users and third parties. To address this, we propose an instruction hierarchy that explicitly defines how models should behave when instructions of different priorities conflict. We then propose a data generation method to demonstrate this hierarchical instruction following behavior, which teaches LLMs to selectively ignore lower-privileged instructions. We apply this method to GPT-3.5, showing that it drastically increases robustness -- even for attack types not seen during training -- while imposing minimal degradations on standard capabilities.
AI snapshot
Written from the paper’s full text.
TL;DR
The paper proposes an instruction hierarchy that defines system messages as higher priority than user messages, which are higher priority than third-party/tool content, and trains LLMs to ignore or refuse lower-privileged conflicting instructions. Fine-tuning GPT-3.5 Turbo with synthetic hierarchy data improves robustness to prompt injections, system prompt extraction, and jailbreaks while largely preserving standard capabilities, though some over-refusal regressions remain.
Key findings
- The instruction hierarchy improved safety on all main evaluations, with robustness increases up to 63%; defense against system prompt extraction improved by 63%, and jailbreak robustness increased by over 30%.
- The approach generalized to held-out attacks not directly modeled in training, with robustness increases up to 34%, including jailbreaks, password extraction, and prompt injections via tool use.
- Capabilities were comparable on TriviaQA, LAMBADA, and HellaSwag, but over-refusal regressions occurred on System Message Probing Questions and Jailbreakchat with Allowed Prompts.
- Prompting alone with a system message defining the hierarchy underperformed the trained approach; combining hierarchy training data with such a system message sometimes yielded further gains.
Methods
- Fine-tuned GPT-3.5 Turbo using supervised fine-tuning and RLHF on instruction hierarchy data plus capability data; the baseline was similarly fine-tuned but without hierarchy examples.
- Generated training data via context synthesis for aligned lower-level instructions and context ignorance for misaligned ones, using red-teamer LLMs for prompt injections and system message extraction; jailbreak data and some tool/private-information extraction attacks were intentionally excluded for generalization tests.
- Evaluated on open-source and novel benchmarks, using GPT-4 judges for several datasets and reporting error bars of one standard deviation, with metrics framed so higher is better.
Limitations
- Stated: current models are likely still vulnerable to powerful adversarial attacks; future work will conduct more explicit adversarial training. The current version trains models to never follow instructions during browsing or tool use, and it focuses on text inputs rather than images or audio.
- Stated: over-refusal regressions appear on System Message Probing Questions and Jailbreakchat with Allowed Prompts, though the authors do not expect noticeable degradation in typical real-world usage.
- Evident from the text: several evaluations rely on GPT-4 as a judge, and the paper does not present a formal limitations section beyond the Discussion and Future Work remarks.
Model-written summary. Check it against the paper before relying on it.
Integrity signals
Registry
Cites
Statistics
Claims the paper makes
14 of 22 cited sources checked · 7 supported · 1 flagged · accuracy not yet measured
- Premisecitation
LLMs are susceptible to prompt injections, jailbreaks, and other attacks that allow adversaries to overwrite a model's original instructions with their own malicious prompts.
“Today's LLMs are susceptible to prompt injections, jailbreaks, and other attacks that allow adversaries to overwrite a model's original instructions with their own malicious prompts.”
Quote in the paperSubstantial claim1 of 3 sources checked- cites Willison, 2022
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
- cites Schulhoff et al., 2023 source
- cites Toyer et al., 2024
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
- Premisecitation
If an application has access to confidential data or can take actions in the world, prompt injections can cause catastrophic harms such as exfiltrating user data or hijacking the LLM's actions.
“Consequently, if an application has access to confidential data or can take actions in the world, prompt injections can cause catastrophic harms such as exfiltrating user data (Greshake et al., 2023) or hijacking the LLM's actions (Toyer et al., 2024).”
Quote in the paperSubstantial claim1 of 2 sources checked- cites Greshake et al., 2023 source
- cites Toyer et al., 2024
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
- Rests on an assumption: Prompt injections do not target the models themselves, but rather the applications built on top of them.
- Premisecitation
System message extraction attacks are straightforward to execute even when models are told to avoid repeating their prompt.
“These attacks are straightforward to execute (Perez & Ribeiro, 2022;Zhang & Ippolito, 2023;Schulhoff et al., 2023)-even when models are told to avoid repeating their prompt-by using attacks such as:”
Quote in the paperSubstantial claim3 of 3 sources checked- cites Perez & Ribeiro, 2022 source
The Introduction (p. 2) defines prompt leaking as an attack that makes a model print the application prompt, and Results and discussion (p. 4) reports successful attacks using simple prompt changes. However, the paper does not establish that the tested models were specifically told not to repeat their prompt: its secret instruction concerns not revealing a private value (Appendix C, p. 15). It also reports prompt leaking as harder than goal hijacking, with a best reported success rate of 23.6%. (LLM, conf=0.83)
Experimental — accuracy not yet measured - cites Zhang & Ippolito, 2023 source
- cites Schulhoff et al., 2023 source
Section 4.4 (page unavailable) describes a simple attack that made a model reveal a hidden key despite an instruction not to expose it. Appendix H, Level 2 (page unavailable), identifies this as a prompt-leak attack. Those passages support the ease of extracting a protected item, but not the broader claim that extracting an entire system message is straightforward when the model is told not to repeat its prompt. (LLM, conf=0.84)
Experimental — accuracy not yet measured
- Findingown data
Adding the system prompt to the final trained model can sometimes provide even further gains.
“Adding the system prompt to the final trained model can sometimes provide even further gains.”
Quote in the paperNot a substantial claim - Findingown data
The approach generalizes to held-out attacks that are not directly modeled in the data generation pipeline.
“Moreover, we observe generalization to held-out attacks that are not directly modeled in our data generation pipeline, e.g., jailbreak robustness increases by over 30%.”
Quote in the paperSubstantial claim
- Findingnone given
The instruction hierarchy imposes minimal degradations on standard capabilities.
“while imposing minimal degradations on standard capabilities.”
Quote in the paperSubstantial claim - Findingown data
The instruction hierarchy approach yields substantially higher robustness across a wide range of attacks and evaluations.
“Our approach yields dramatically improved robustness across all evaluations (Figure 2), e.g. defense against system prompt extraction is improved by 63%.”
- Also stated in: § System Message Extraction · plain
“Our model trained with the instruction hierarchy has substantially higher robustness across a wide range of attacks.”
Quote in the paperSubstantial claim - Also stated in: § System Message Extraction · plain
- Findingown data
In some cases, combining our instruction hierarchy data with the System Message leads to the best results.
“In some cases, combining our instruction hierarchy data with the System Message leads to the best results.”
Quote in the paperNot a substantial claim - Findingown data
Our approach of adding instruction hierarchy data leads to much better robustness than the System Message approach.
“We compare our approach of adding instruction hierarchy data to the System Message approach in Figure 5, and find that our approach leads to much better robustness.”
Quote in the paperSubstantial claim - Findingown data
The models sometimes ignore or refuse benign queries (over-refusals).
“We do observe some regressions in”
Quote in the paperNot a substantial claim - Findingreasoning
The instruction hierarchy teaches LLMs to selectively ignore lower-privileged instructions.
“We then propose an automated data generation method to demonstrate this hierarchical instruction following behavior, which teaches LLMs to selectively ignore lower-privileged instructions.”
Quote in the paperSubstantial claim - Findingown data
Our models follow non-conflicting instructions almost as well as the baseline on most evaluations.
“Figure 4 shows these results, where our models follow non-conflicting instructions almost as well as the baseline on most evaluations.”
Quote in the paperSubstantial claim - Findingown data
Our training data far outperforms the prompting baseline.
“Our training data far outperforms this baseline.”
Quote in the paperSubstantial claim - Findingnone given
The generic capabilities of the models remain otherwise unscathed.
“but the generic capabilities of our models remains otherwise unscathed”
Quote in the paperSubstantial claim - Findingown data
Jailbreak robustness increases by over 30%.
“jailbreak robustness increases by over 30%.”
Quote in the paperSubstantial claim - Findingown data
Defense against system prompt extraction is improved by 63%.
“defense against system prompt extraction is improved by 63%.”
Quote in the paperSubstantial claim - Findingown data
Both models achieved comparable metrics on capabilities evaluations (e.g., TriviaQA, LAMBADA, HellaSwag).
“Both models achieved comparable metrics on capabilities evaluations (e.g., TriviaQA, LAMBADA, HellaSwag)”
Quote in the paperSubstantial claim - Interpretationreasoning
One underlying cause for the attacks in Section 2 is the lack of a corresponding instruction hierarchy in modern LLMs.
“With this perspective, we can view one of the underlying causes for the attacks in Section 2 as the lack of a corresponding instruction hierarchy in modern LLMs.”
Quote in the paperSubstantial claim - Interpretationown data
The instruction hierarchy does not degrade generic capabilities.
“showing that the instruction hierarchy does not degrade generic capabilities.”
Quote in the paperSubstantial claim - Interpretationown data
Our current version of the instruction hierarchy represents a dramatic improvement over the current state of affairs for today's LLMs.
“Our current version of the instruction hierarchy represents a dramatic improvement over the current state of affairs for today's LLMs.”
Quote in the paperNot a substantial claim - Interpretationreasoning
On typical real-world usages, the instruction hierarchy is not expected to cause noticeable degradations in model behavior.
“Nevertheless, on typical real-world usages, we do not expect the instruction hierarchy to cause noticeable degradations in model behavior.”
Quote in the paperSubstantial claim - Premisenone given
Existing LLMs lack the capability to treat system messages, user messages, and third-party content separately, especially when messages conflict.
“existing LLMs lack this capability.”
Quote in the paperNot a substantial claim - Interpretationreasoning
One primary vulnerability underlying prompt injections, jailbreaks, and other attacks is that LLMs often consider system prompts to be the same priority as text from untrusted users and third parties.
“In this work, we argue that one of the primary vulnerabilities underlying these attacks is that LLMs often consider system prompts (e.g., text from an application developer) to be the same priority as text from untrusted users and third parties.”
Quote in the paperNot a substantial claim
- May combine two claims. 15
- Classified as probably not a substantial claim. 15
May combine two claims.
PremisecitationOur work differs from Chen et al. (2024) in that we focus on a hierarchy of instructions with multiple levels, whereas they focus specifically on system messages versus user messages.
“Our work differs in that we focus on a hierarchy of instructions with multiple levels, whereas they focus specifically on system messages versus user messages.”
Quote in the paperNot a substantial claim1 of 1 sources checked- cites Chen et al., 2024 source
The Prompt Injection Defenses section says StruQ has two types of messages—prompt and data—not system and user messages. Section 4.2 likewise describes training the model to follow instructions in the prompt but not the data. The paper treats system prompts as a possible future extension, so the claimed focus is contrary to its description of StruQ. (LLM, conf=0.90)
Checked by a reasoning model — may be wrong.
Experimental — accuracy not yet measured
Classified as probably not a substantial claim. May combine two claims.
PremisecitationThe solution to security challenges in computing has been to create clear notions of privilege, and attacks such as SQL injections and command injections are solved by not treating user inputs as privileged instructions.
“The solution to these challenges in computing has been to create clear notions of privilege, e.g., operating systems use a hierarchy of access and control (Corbat ó & Vyssotsky, 1965;Ritchie & Thompson, 1974) and attacks such as SQL injections (Su & Wassermann, 2006) and command injections (Zhong et al., 2024) are solved by not treating user inputs as privileged instructions (Thomas et al., 2009).”
Quote in the paperSubstantial claim1 of 3 sources checkedMay combine two claims.
PremisecitationChen et al. (2024) train models to completely ignore all instructions in the user messages, whereas we train models to conditionally follow lower-level instructions when applicable.
“Moreover, they train models to completely ignore all instructions in the user messages, whereas we train models to conditionally follow lower-level instructions when applicable.”
Quote in the paperSubstantial claim1 of 1 sources checked- cites Chen et al., 2024 source
Probably not a substantial claim: may not pass S3 (load-bearing). May combine two claims.
PremisereasoningJailbreaks aim to escape the safety behavior trained into an LLM and often do not specifically conflict with a model's previous instructions.
“Jailbreaks Another well-known attack vector is jailbreak, which specifically aims to escape the safety behavior that is trained into an LLM.As such, they often don't specifically conflict with a model's previous instructions.”
Quote in the paperNot a substantial claim3 of 3 sources checked- cites Schulhoff et al., 2023 source
Section 5.1 distinguishes prompt injection, which overrides original instructions, from jailbreaking, which elicits unintended behavior. Appendix D.12.6 describes a jailbreak that exploits a conflict with a model’s training to ignore malicious instructions. The paper does not establish that jailbreaks specifically target safety-trained behavior in general or that they often avoid conflicting with previous instructions; its definition of jailbreaking is broader. (LLM, conf=0.82)
Experimental — accuracy not yet measured - cites Zou et al., 2023 source
The Introduction (page unavailable) describes jailbreaks as prompts that cause aligned LLMs to generate objectionable content, supporting the claim that they aim to escape trained safety behavior. Neither that passage nor Section 2.1 (page unavailable) establishes that jailbreaks often do not specifically conflict with a model’s previous instructions. (LLM, conf=0.83)
Experimental — accuracy not yet measured - cites Wei et al., 2023 source
Section 2.1 defines a jailbreak as an attempt to elicit a restricted response from a safety-trained model, supporting the claim that it aims to bypass safety behavior. Sections 3.1 and 3.2 describe attacks that exploit competing training objectives or gaps in safety training, but the paper does not establish that jailbreaks often avoid specifically conflicting with previous instructions. (LLM, conf=0.78)
Experimental — accuracy not yet measured
Probably not a substantial claim: may not pass S3 (load-bearing).
PremisecitationChen et al. (2024) proposed to train LLMs to ignore instructions provided in the user input.
“In particular, Chen et al. (2024) proposed to train LLMs to ignore instructions provided in the user input.”
Quote in the paperNot a substantial claim1 of 1 sources checked- cites Chen et al., 2024 source
Section 4.4 (Structured Instruction Tuning) says the model is trained to ignore instructions in the data portion of a query while obeying instructions in its prompt portion. The claim omits that distinction: the paper does not propose ignoring all instructions provided in user input. (LLM, conf=0.84)
Experimental — accuracy not yet measured
Probably not a substantial claim: may not pass S3 (load-bearing).
PremisecitationRecent work has advocated for teaching a model to treat third-party user inputs as data, not as instructions.
“For prompt injection on closed-domain tasks (Section 3.2), recent work has advocated for teaching a model to treat third-party user inputs as data, not as instructions (Chen et al., 2024;Willison, 2023;Zverev et al., 2024;Yi et al., 2023;Liu et al., 2023).”
Quote in the paperNot a substantial claim2 of 3 sources checkedMay combine two claims.
Findingown dataThe instruction hierarchy improves safety results on all of our main evaluations (Figure 2), even increasing robustness by up to 63%.
“The instruction hierarchy improves safety results on all of our main evaluations (Figure 2), even increasing robustness by up to 63%.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataWe observe regressions on two tasks, System Message Probing Questions and Jailbreakchat with Allowed Prompts.
“We observe regressions on two tasks, System Message Probing Questions and Jailbreakchat with Allowed Prompts.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataThe instruction hierarchy also exhibits generalization to each of the evaluation criteria that we explicitly excluded from training (Figure 3), even increasing robustness by up to 34%.
“The instruction hierarchy also exhibits generalization to each of the evaluation criteria that we explicitly excluded from training (Figure 3), even increasing robustness by up to 34%.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataThe generalization includes jailbreaks for triggering unsafe model outputs, attacks that try to extract passwords from the system message, and prompt injections via tool use.
“This includes jailbreaks for triggering unsafe model outputs, attacks that try to extract passwords from the system message, and prompt injections via tool use.”
Quote in the paperSubstantial claimClassified as probably not a substantial claim.
Findingnone givenThe latter two system prompt extraction evaluations are unlike any examples seen during training time.
“We use three adversarial evaluations for system prompt extraction, where the latter two are unlike any examples seen during training time.”
Quote in the paperSubstantial claimProbably not a substantial claim: may not pass S3 (load-bearing). May combine two claims.
PremisecitationLLMs can handle other modalities such as images or audio, which can also contain injected instructions.
“Second, we focus on text inputs, but LLMs can handle other modalities such as images or audio (Gemini et al., 2023), which can also contain injected instructions (Willison, 2023).”
Quote in the paperNot a substantial claim0 of 2 sources checked- cites Gemini et al., 2023
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
- cites Willison, 2023
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
Probably not a substantial claim: may not pass S4 (based).
Interpretationnone givenThere are no aligned instructions for closed-domain tasks.
“We argue that there are no Aligned instructions for closed-domain tasks, e.g., if a developer puts in an instruction such as”
Quote in the paperNot a substantial claimClassified as probably not a substantial claim.
Study design and conductown dataThe study disregarded any example where the prompt injection was successful despite instructions, using a GPT-4 grader model.
“We disregard any example where the prompt injection was successful despite these instructions using a GPT-4 grader model.”
Quote in the paperSubstantial claimProbably not a substantial claim: may not pass S3 (load-bearing).
Premisenone givenA simple approach for teaching the instruction hierarchy is adding a System Message that explicitly defines it.
“A simple approach for teaching the instruction hierarchy is adding a System Message that explicitly defines it.”
Quote in the paperNot a substantial claimMay combine two claims.
InterpretationreasoningAs a result of existing LLMs lacking the capability to treat messages separately, adversaries can input prompts that override higher-level instructions.
“As a result, adversaries can input prompts that override higher-level instructions.”
Quote in the paperNot a substantial claimMay combine two claims.
Study design and conductown dataThe study intentionally did not include any jailbreak data, to test zero-shot generalization to jailbreaks.
“Finally, we intentionally do not include any jailbreak data.Instead, we test how well the instruction hierarchy can generalize to jailbreaks in a zero-shot fashion.”
Quote in the paperSubstantial claimClassified as probably not a substantial claim.
Premisenone givenWe proposed the instruction hierarchy: a framework for teaching language models to follow instructions while ignoring adversarial manipulation.
“We proposed the instruction hierarchy: a framework for teaching language models to follow instructions while ignoring adversarial manipulation.”
Quote in the paperSubstantial claimMay combine two claims.
Interpretationown dataThe model exhibits substantial generalization, suggesting it has learned to internalize the instruction hierarchy.
“Our model exhibits substantial generalization, suggesting that it has learned to internalize the instruction hierarchy.”
Quote in the paperSubstantial claimMay combine two claims.
Interpretationown dataThe LLM has learned to internalize the instruction hierarchy, making it overall more safe and controllable, even for unseen prompts.
“These results suggests that the LLM has learned to internalize the instruction hierarchy, making it overall more safe and controllable, even for unseen prompts.”
Quote in the paperSubstantial claimProbably not a substantial claim: may not pass S4 (based).
Interpretationnone givenOur current models are likely still vulnerable to powerful adversarial attacks.
“Finally, our current models are likely still vulnerable to powerful adversarial attacks.”
Quote in the paperNot a substantial claimClassified as probably not a substantial claim.
Study design and conductown dataThe study withheld training data for attacks that try to extract private information or passwords from the system prompt to test generalization.
“To test generalization, we do not include any training data for attacks that try to extract private information or passwords from the system prompt.”
Quote in the paperSubstantial claimMay combine two claims.
InterpretationreasoningThe current state of affairs is that every instruction is executed as if it was in kernel mode, i.e., untrusted third-parties can run arbitrary code with access to private data and functions.
“Using this analogy, the current state of affairs is that every instruction is executed as if it was in kernel mode, i.e., untrusted third-parties can run arbitrary code with access to private data and functions.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S3 (load-bearing). May combine two claims.
InterpretationreasoningSubstantially scaling up our data collection efforts can dramatically improve model performance and refine its refusal decision boundary.
“Furthermore, given that we have established a behavior taxonomy and over-refusal evaluations, we have confidence that substantially scaling up our data collection efforts can dramatically improve model performance and refine its refusal decision boundary.”
Quote in the paperNot a substantial claimClassified as probably not a substantial claim.
InterpretationreasoningThe two tasks (System Message Probing Questions and Jailbreakchat with Allowed Prompts) are adversarially constructed to target areas where models are likely to be affected by the instruction hierarchy.
“Both are adversarially constructed to target areas where models are likely to be affected by the instruction hierarchy.”
Quote in the paperSubstantial claimClassified as probably not a substantial claim.
Study design and conductown dataThe study withheld training data for prompt injections from tools other than browsing to test generalization.
“To test generalization, we do not include any training data for prompt injections from tools other than browsing.”
Quote in the paperSubstantial claim- The authors state this as an assumption: Any instruction that appears during browsing or tool use is misaligned.
The authors state this as an assumption.
Any instruction that appears during browsing or tool use is misaligned.
“For our current version of the instruction hierarchy, we assume that any instruction that appears during browsing or tool use is Misaligned (i.e., we ignore any instruction that is present on a website).”
The paper relies on this without support.
Prompt injections do not target the models themselves, but rather the applications built on top of them.
“Prompt injections do not target the models themselves, but rather the applications built on top of them.”
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
Indiscriminate prioritization of instructions over data can potentially compromise the utility of web agents.
“However, such indiscriminate prioritization of instructions over data (Wallace et al., 2024;Hines et al., 2024) can potentially compromise the utility of web agents, as many instructive messages are embedded within webpage elements (data).”
From EIA: Environmental Injection Attack on Generalist Web Agents for Privacy Leakage (2024) · cites this paper as Wallace et al., 2024
The 'Overview of Ideal Model Behavior' says a web agent should follow aligned webpage instructions, such as a 'Click here' link, while 'Over-refusal Results' identifies never following lower-priority instructions as a risk. This supports the potential utility concern, but the paper does not say that many webpage elements contain instructive messages; it also says it does not expect noticeable degradation in typical real-world use. No page numbers are available in our copy. (LLM, conf=0.83)
Experimental — accuracy not yet measuredThe notion of an 'instruction hierarchy' can be used to prioritize either the relative ranking of following system versus user prompts in a query along with how to prioritize different pieces of a request relative to each other.
“The notion of an 'instruction hierarchy' can be used to prioritize either the relative ranking of following system versus user prompts in a query along with how to prioritize different pieces of a request relative to eachother [28].”
From Generalizing Verifiable Instruction Following (2025) · cites this paper as [28]
The introductory discussion says system messages take precedence over user messages, and user messages over third-party content. Section 3 describes resolving conflicts between higher- and lower-privileged instructions. Our copy does not establish a priority ranking among different parts of a single request, so that part of the claim is unsupported. (LLM, conf=0.84)
Experimental — accuracy not yet measuredLLM-level defenses provide some protection but do not provide guarantees.
“While these heuristic approaches provide some protection, they do not provide guarantees.”
From Design Patterns for Securing LLM Agents against Prompt Injections (2025) · cites this paper as Wallace et al., 2024
Instruction hierarchy defense assigns responses from tools the lowest-level privilege.
“This defense assigns responses from tools with the lowest-level privilege.”
From WASP: Benchmarking Web Agent Security Against Prompt Injection Attacks (2025) · cites this paper as Wallace et al., 2024
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
Each contradiction between two passages listed here was confirmed by an independent check.
Probing-question evaluation reports refusals rather than compliance
MinorSystem-prompt probing questions are an over-refusal evaluation of benign questions. Reporting the refusal rate makes higher values worse, contrary to the stated direction of all metrics.
“We create an over-refusal evaluation by holding out some of our synthetic questions about the system prompt, and we report the refusal rate based on a GPT-4 judge.”
“All metrics are framed such that a higher value is better.”
Prompt-hijacking metric is described as higher-is-better despite measuring attack success
MinorThe evaluation section says higher values are better, but the described metric counts outputs containing the attacker's target phrase. More such outputs indicate more successful attacks, not greater robustness.
“All metrics are framed such that a higher value is better.”
“We report how often "Access Granted" is present in the model output.”
Cites
Training Language Models to Follow Instructions with Human Feedback
Ouyang, L., Wu, J., Jiang, X., Almeida, D., Wainwright, C., Mishkin, P., Zhang, C., Agarwal, S., Slama, K., Ray, A., et al. (2022) · Advances in Neural Information Processing Systems 35 · doi:10.52202/068431-2011 · Cited by 3,117 · cited 1× · see citing works
“5 Turbo using supervised finetuning and reinforcement learning from human feedback (Ouyang et al., 2022; OpenAI, 2023) on the aforementioned data, as well as data for model capabilities.”
MethodToolformer: Language Models Can Teach Themselves to Use Tools
Schick, T., Dwivedi-Yu, J., Dessì, R., Raileanu, R., Lomeli, M., Zettlemoyer, L., Cancedda, N., & Scialom, T. (2023) · arXiv · doi:10.48550/arxiv.2302.04761 · Cited by 1,150 · cited 1× · see citing works
“Modern large language models (LLMs) are no longer envisioned as simple autocomplete systems—they could instead empower agentic applications such as web agents, email secretaries, virtual assistants, and more (Nakano et al., 2021; Parisi et al., 2022; Schick et al., 2024; Shen et al., 2024).”
BackgroundToolformer: language models can teach themselves to use tools
Schick, T., Dwivedi-Yu, J., Dessi, R., Raileanu, R., Lomeli, M., Hambro, E., Zettlemoyer, L., Cancedda, N., & Scialom, T. (2023) · Advances in Neural Information Processing Systems 36 · doi:10.52202/075280-2997 · Cited by 1,150 · see citing works
Gemini: A Family of Highly Capable Multimodal Models
Gemini Team, Anil, R., Borgeaud, S., Alayrac, J.-B., Yu, J., Soricut, R., Schalkwyk, J., Dai, A. M., Hauth, A., Millican, K., et al. (2023) · arXiv · doi:10.48550/arxiv.2312.11805 · Cited by 990 · see citing works
Self-citationRitchie, D. M., & Thompson, K. (1974) · Communications of the ACM · doi:10.1145/361011.361061 · Cited by 826 · cited 1× · see citing works
“…computing has been to create clear notions of privilege, e.g., operating systems use a hierarchy of access and control (Corbat´o & Vyssotsky, 1965; Ritchie & Thompson, 1974) and attacks such as SQL injections (Su & Wassermann, 2006) and command injections (Zhong et al., 2024) are solved by not…”
BackgroundGreshake, K., Abdelnabi, S., Mishra, S., Endres, C., Holz, T., & Fritz, M. (2023) · Proceedings of the 16th ACM Workshop on Artificial Intelligence and Security · doi:10.1145/3605764.3623985 · Cited by 667 · cited 3× · see citing works
“Consequently, if an application has access to confidential data or can take actions in the world, prompt injections can cause catastrophic harms such as exfiltrating user data (Greshake et al., 2023) or hijacking the LLM’s actions (Toyer et al., 2024).”
BackgroundUniversal Adversarial Triggers for Attacking and Analyzing NLP
Wallace, E., Feng, S., Kandpal, N., Gardner, M., & Singh, S. (2019) · Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP) · doi:10.18653/v1/d19-1221 · Cited by 642 · cited 2× · see citing works
“Recent work also explores ways of using LLMs to generate “red-teaming” data (Perez et al., 2022; Ganguli et al., 2022), and others uses gradient-based transfer attacks to produce even stronger adversaries (Wallace et al., 2019; Zou et al., 2023; Geiping et al., 2024).”
BackgroundMethodSelf-citationThe essence of command injection attacks in web applications
Su, Z., & Wassermann, G. (2006) · Conference record of the 33rd ACM SIGPLAN-SIGACT symposium on Principles of programming languages · doi:10.1145/1111037.1111070 · Cited by 515 · cited 1× · see citing works
“…operating systems use a hierarchy of access and control (Corbat´o & Vyssotsky, 1965; Ritchie & Thompson, 1974) and attacks such as SQL injections (Su & Wassermann, 2006) and command injections (Zhong et al., 2024) are solved by not treating user inputs as privileged instructions (Thomas et al.,…”
BackgroundHuggingGPT: Solving AI Tasks with ChatGPT and its Friends in Hugging Face
Shen, Y., Song, K., Tan, X., Li, D., Lu, W., & Zhuang, Y. (2023) · arXiv · doi:10.48550/arxiv.2303.17580 · Cited by 477 · cited 2× · see citing works
“A common analogy for AI-powered applications is that the LLM acts as an operating system: it executes the instructions, determines the control flow, and handles data storage (Weng, 2023; Shen et al., 2024).”
BackgroundHuggingGPT: Solving AI Tasks with ChatGPT and its Friends in Hugging Face
Shen, Y., Song, K., Tan, X., Li, D., Lu, W., & Zhuang, Y. (2023) · Advances in Neural Information Processing Systems 36 · doi:10.52202/075280-1657 · Cited by 475 · see citing works
Red Teaming Language Models with Language Models
Perez, E., Huang, S., Song, F., Cai, T., Ring, R., Aslanides, J., Glaese, A., McAleese, N., & Irving, G. (2022) · Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing · doi:10.18653/v1/2022.emnlp-main.225 · Cited by 363 · cited 2× · see citing works
“Recent work also explores ways of using LLMs to generate “red-teaming” data (Perez et al., 2022; Ganguli et al., 2022), and others uses gradient-based transfer attacks to produce even stronger adversaries (Wallace et al., 2019; Zou et al., 2023; Geiping et al., 2024).”
BackgroundMethodIntroduction and overview of the multics system
Corbató, F. J., & Vyssotsky, V. A. (1965) · AFIPS '65 (Fall, part I) · doi:10.1145/1463891.1463912 · Cited by 328 · cited 2×
“…challenges in computing has been to create clear notions of privilege, e.g., operating systems use a hierarchy of access and control (Corbat´o & Vyssotsky, 1965; Ritchie & Thompson, 1974) and attacks such as SQL injections (Su & Wassermann, 2006) and command injections (Zhong et al., 2024)…”
BackgroundJailbroken: How Does LLM Safety Training Fail?
Wei, A., Haghtalab, N., & Steinhardt, J. (2023) · arXiv · doi:10.48550/arxiv.2307.02483 · Cited by 280 · cited 2× · see citing works
“There are a myriad of attack variants (Schulhoff et al., 2023; Zou et al., 2023; Wei et al., 2023) that can allow adversaries to perform malicious tasks such as generating spam, misinformation, or producing pornographic content.”
BackgroundJailbroken: How Does LLM Safety Training Fail?
Wei, A., Haghtalab, N., & Steinhardt, J. (2023) · Advances in Neural Information Processing Systems 36 · doi:10.52202/075280-3508 · Cited by 280 · see citing works
WebGPT: Browser-assisted question-answering with human feedback
Nakano, R., Hilton, J., Balaji, S., Wu, J., Ouyang, L., Kim, C., Hesse, C., Jain, S., Kosaraju, V., Saunders, W., et al. (2021) · arXiv · doi:10.48550/arxiv.2112.09332 · Cited by 272 · cited 1× · see citing works
“Modern large language models (LLMs) are no longer envisioned as simple autocomplete systems—they could instead empower agentic applications such as web agents, email secretaries, virtual assistants, and more (Nakano et al., 2021; Parisi et al., 2022; Schick et al., 2024; Shen et al., 2024).”
BackgroundUniversal and Transferable Adversarial Attacks on Aligned Language Models
Zou, A., Wang, Z., Carlini, N., Nasr, M., Kolter, J. Z., & Fredrikson, M. (2023) · arXiv · doi:10.48550/arxiv.2307.15043 · Cited by 197 · cited 2× · see citing works
“There are a myriad of attack variants (Schulhoff et al., 2023; Zou et al., 2023; Wei et al., 2023) that can allow adversaries to perform malicious tasks such as generating spam, misinformation, or producing pornographic content.”
BackgroundBenchmarking and Defending against Indirect Prompt Injection Attacks on Large Language Models
Yi, J., Xie, Y., Zhu, B., Kıcıman, E., Sun, G., Xie, X., & Wu, F. (2025) · ACM SIGKDD Conference on Knowledge Discovery and Data Mining (KDD) · doi:10.1145/3690624.3709179 · Cited by 175 · see citing works
A General Language Assistant as a Laboratory for Alignment
Askell, A., Bai, Y., Chen, A., Drain, D., Ganguli, D., Henighan, T., Jones, A., Joseph, N., Mann, B., DasSarma, N., et al. (2021) · arXiv · doi:10.48550/arxiv.2112.00861 · Cited by 146 · cited 2× · see citing works
“To generate training data, we leverage two principles: synthetic data generation and context distillation (Askell et al., 2021; Snell et al., 2022).”
MethodRed Teaming Language Models to Reduce Harms: Methods, Scaling Behaviors, and Lessons Learned
Ganguli, D., Lovitt, L., Kernion, J., Askell, A., Bai, Y., Kadavath, S., Mann, B., Perez, E., Schiefer, N., Ndousse, K., et al. (2022) · arXiv · doi:10.48550/arxiv.2209.07858 · Cited by 130 · cited 1× · see citing works
“Recent work also explores ways of using LLMs to generate “red-teaming” data (Perez et al., 2022; Ganguli et al., 2022), and others uses gradient-based transfer attacks to produce even stronger adversaries (Wallace et al., 2019; Zou et al., 2023; Geiping et al., 2024).”
BackgroundIgnore Previous Prompt: Attack Techniques For Language Models
Perez, F., & Ribeiro, I. (2022) · arXiv · doi:10.48550/arxiv.2211.09527 · Cited by 110 · cited 3× · see citing works
“These attacks are straightforward to execute (Perez & Ribeiro, 2022; Zhang & Ippolito, 2023; Schulhoff et al., 2023)—even when models are told to avoid repeating their prompt—by using attacks such as: System Message: You are an email assistant.”
BackgroundOn automated prepared statement generation to remove SQL injection vulnerabilities
Thomas, S., Williams, L., & Xie, T. (2009) · Information and Software Technology · doi:10.1016/j.infsof.2008.08.002 · Cited by 107 · cited 1×
“…systems use a hierarchy of access and control (Corbat´o & Vyssotsky, 1965; Ritchie & Thompson, 1974) and attacks such as SQL injections (Su & Wassermann, 2006) and command injections (Zhong et al., 2024) are solved by not treating user inputs as privileged instructions (Thomas et al., 2009).”
BackgroundPrompt Injection attack against LLM-integrated Applications
Liu, Y., Deng, G., Li, Y., Wang, K., Wang, Z., Wang, X., Zhang, T., Liu, Y., Wang, H., Zheng, Y., et al. (2023) · arXiv · doi:10.48550/arxiv.2306.05499 · Cited by 100 · cited 1× · see citing works
“Defenses for Prompt Injection For prompt injection on closed-domain tasks (Section 3.2), recent work has advocated for teaching a model to treat third-party user inputs as data, not as instructions (Chen et al., 2024; Willison, 2023; Zverev et al., 2024; Yi et al., 2023; Liu et al., 2023).”
BackgroundInfluentialSchulhoff, S., Pinto, J., Khan, A., Bouchard, L.-F., Si, C., Anati, S., Tagliabue, V., Kost, A., Carnahan, C., & Boyd-Graber, J. (2023) · Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing · doi:10.18653/v1/2023.emnlp-main.302 · Cited by 54 · see citing works
TALM: Tool Augmented Language Models
Parisi, A., Zhao, Y., & Fiedel, N. (2022) · arXiv · doi:10.48550/arxiv.2205.12255 · Cited by 35 · cited 1× · see citing works
“Modern large language models (LLMs) are no longer envisioned as simple autocomplete systems—they could instead empower agentic applications such as web agents, email secretaries, virtual assistants, and more (Nakano et al., 2021; Parisi et al., 2022; Schick et al., 2024; Shen et al., 2024).”
BackgroundStruQ: defending against prompt injection with structured queries
Chen, S., Piet, J., Sitawarin, C., & Wagner, D. (2024) · arXiv · doi:10.48550/arxiv.2402.06363 · Cited by 10 · cited 2× · see citing works
“Defenses for Prompt Injection For prompt injection on closed-domain tasks (Section 3.2), recent work has advocated for teaching a model to treat third-party user inputs as data, not as instructions (Chen et al., 2024; Willison, 2023; Zverev et al., 2024; Yi et al., 2023; Liu et al., 2023).”
BackgroundInfluentialLearning by Distilling Context
Snell, C., Klein, D., & Zhong, R. (2022) · arXiv · doi:10.48550/arxiv.2209.15189 · Cited by 8 · cited 2× · see citing works
“To generate training data, we leverage two principles: synthetic data generation and context distillation (Askell et al., 2021; Snell et al., 2022).”
MethodEffective Prompt Extraction from Language Models
Zhang, Y., Carlini, N., & Ippolito, D. (2023) · arXiv · doi:10.48550/arxiv.2307.06865 · Cited by 8 · see citing works
Benchmarking and Defending Against Indirect Prompt Injection Attacks on Large Language Models
Yi, J., Xie, Y., Zhu, B., Kiciman, E., Sun, G., Xie, X., & Wu, F. (2023) · arXiv · doi:10.48550/arxiv.2312.14197 · Cited by 8 · see citing works
Tensor Trust: Interpretable Prompt Injection Attacks from an Online Game
Toyer, S., Watkins, O., Mendes, E. A., Svegliato, J., Bailey, L., Wang, T., Ong, I., Elmaaroufi, K., Abbeel, P., Darrell, T., et al. (2023) · arXiv · doi:10.48550/arxiv.2311.01011 · Cited by 7 · cited 8× · see citing works
“For example, a prompt injection attack (Willison, 2022; Schulhoff et al., 2023; Toyer et al., 2024) against an LLM-powered email assistant could theoretically exfiltrate a user’s private emails: System Message: You are an email assistant.”
BackgroundMethodInfluentialCoercing LLMs to do and reveal (almost) anythingPreprint
Geiping, J., Stein, A., Shu, M., Saifullah, K., Wen, Y., & Goldstein, T. (2024) · arXiv (Cornell University) · doi:10.48550/arxiv.2402.14020 · Cited by 7 · cited 1× · see citing works
“Recent work also explores ways of using LLMs to generate “red-teaming” data (Perez et al., 2022; Ganguli et al., 2022), and others uses gradient-based transfer attacks to produce even stronger adversaries (Wallace et al., 2019; Zou et al., 2023; Geiping et al., 2024).”
BackgroundSchulhoff, S., Pinto, J., Khan, A., Bouchard, L.-F., Si, C., Anati, S., Tagliabue, V., Kost, A. L., Carnahan, C., & Boyd-Graber, J. (2023) · arXiv · doi:10.48550/arxiv.2311.16119 · Cited by 4 · cited 3×
“For example, a prompt injection attack (Willison, 2022; Schulhoff et al., 2023; Toyer et al., 2024) against an LLM-powered email assistant could theoretically exfiltrate a user’s private emails: System Message: You are an email assistant.”
BackgroundCan LLMs Separate Instructions From Data? And What Do We Even Mean By That?
Zverev, E., Abdelnabi, S., Tabesh, S., Fritz, M., & Lampert, C. H. (2024) · arXiv · doi:10.48550/arxiv.2403.06833 · Cited by 1 · see citing works
Flagged first, then by citations
Cited by
Sorted by citations
Know Your Limits: A Survey of Abstention in Large Language Models
Wen, B., Yao, J., Feng, S., Xu, C., Tsvetkov, Y., Howe, B., & Wang, L. L. (2025) · Transactions of the Association for Computational Linguistics · doi:10.1162/tacl_a_00754 · Cited by 70 · see citing works
“Wallace et al. (2024) finetune LLMs to follow hierarchical prompts, enhancing the fine-grained abstention ability of LLMs. Zhang et al. (2023b) also fine-tune LLMs with distinct goal priority instructions and instruct LLMs to prioritize safety over helpfulness during inference.”
PromptShield: Deployable Detection for Prompt Injection Attacks
Jacob, D., Alzahrani, H., Hu, Z., Alomair, B., & Wagner, D. (2024) · ACM Conference on Data and Application Security and Privacy (CODASPY) · doi:10.1145/3714393.3726501 · Cited by 35 · see citing works
“For instance, within the context of the running text summarization example a prompt injection might take the following form (highlighted in red).”
InfluentialAgentic AI Security: Threats, Defenses, Evaluation, and Open Challenges
Chhabra, A., Datta, S., Nahin, S. K., & Mohapatra, P. (2026) · IEEE Access · doi:10.1109/access.2026.3675554 · Cited by 28 · see citing works
“There are two main approaches for doing so: Prompt engineering and runtime output behavior The authors in [176] propose an instruction hierarchy, which establishes priority levels for different instruction sources so that user-provided instructions are always prioritized over potentially malicious…”
DataSentinel: A Game-Theoretic Detection of Prompt Injection Attacks
Liu, Y., Jia, Y.-Q., Jia, J.-Y., Song, D., & Gong, N. (2025) · IEEE Symposium on Security and Privacy · doi:10.1109/sp61157.2025.00250 · Cited by 203 · see citing works
“Defenses against prompt injection attacks can be categorized into prevention [24], [25], [26], [27], [28], [29] and detection [8], [9], [10].”
Defense against prompt injection attack by leveraging attack techniques
Chen, Y., Li, H., Zheng, Z., Wu, D., Song, Y., & Hooi, B. (2025) · Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) · doi:10.18653/v1/2025.acl-long.897 · Cited by 19 · see citing works
Get My Drift? Catching LLM Task Drift with Activation Deltas
Abdelnabi, S., Fay, A., Cherubin, G., Salem, A., Fritz, M., & Paverd, A. (2025) · IEEE Conference on Secure and Trustworthy Machine Learning (SaTML) · doi:10.1109/satml64287.2025.00011 · Cited by 20 · see citing works
“Researchers proposed introducing a boundary between instructions and data [5], fine-tuning models to only follow instructions if enclosed by special tokens [7], or assigning different privileges to different sources, and enforcing such a hierarchy via fine-tuning [22].”
Decomposition, Synthesis, and Attack: A Multi-Instruction Fusion Method for Jailbreaking LLMs
Jiang, S., Chen, X., Xu, K., Chen, L., Ren, H., & Tang, R. (2025) · IEEE Internet of Things Journal · doi:10.1109/jiot.2025.3525741 · Cited by 9 · see citing works
“Based on the results in Tables V and VI, the null hypothesis is that all ten evaluations (2 metrics × 5 LLMs) exhibit equivalent attacking performance.”
Ranking Manipulation for Conversational Search Engines
Pfrommer, S., Bai, Y., Gautam, T., & Sojoudi, S. (2024) · arXiv · doi:10.48550/arxiv.2406.03589 · Cited by 8 · see citing works
“Thus while a few partially-effective defensive approaches have been proposed in the literature, we do not evaluate them here (Yi et al., 2023; Piet et al., 2023; Chen et al., 2024; Wallace et al., 2024).”
BackgroundAgentDojo: A Dynamic Environment to Evaluate Prompt Injection Attacks and Defenses for LLM Agents
Debenedetti, E., Zhang, J., Balunović, M., Beurer-Kellner, L., Fischer, M., & Tramèr, F. (2024) · arXiv · doi:10.48550/arxiv.2406.13352 · Cited by 7 · see citing works
“Most models incur a loss of 10%–25% in absolute utility under attack.”
BackgroundRisks from Language Models for Automated Mental Healthcare: Ethics and Structure for Implementation
Grabb, D., Lamparth, M., & Vasan, N. (2024) · arXiv · doi:10.48550/arxiv.2406.11852 · Cited by 39 · see citing works
Contextual Agent Security: A Policy for Every Purpose
Tsai, L., & Bagdasarian, E. (2025) · Workshop on Hot Topics in Operating Systems · doi:10.1145/3713082.3730378 · Cited by 12 · see citing works
Jailbreaking large language models: models, origins, and evolution of attacks and defenses
Li, X. H., Wu, J., Zheng, Q., Wang, H., Fan, M. Y., Hu, S., Guo, J., & Ting, L. I. U. (2025) · Scientia Sinica Informationis · doi:10.1360/ssi-2024-0196 · Cited by 4 · see citing works
Attacking Vision-Language Computer Agents via Pop-ups
Zhang, Y., Yu, T., & Yang, D. (2025) · Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) · doi:10.18653/v1/2025.acl-long.411 · Cited by 4 · see citing works
Generalizing Verifiable Instruction Following
Pyatkin, V., Malik, S., Graf, V., Ivison, H., Huang, S., Dasigi, P., Lambert, N., & Hajishirzi, H. (2025) · arXiv · doi:10.48550/arxiv.2507.02833 · Cited by 4 · see citing works
Progent: Securing AI Agents with Privilege Control
Shi, T., He, J., Wang, Z., Li, H., Wu, L., Guo, W., & Song, D. (2025) · arXiv · doi:10.48550/arxiv.2504.11703 · Cited by 3 · see citing works
“The second category of defenses involves fine-tuning agent LLMs to become more resistant to prompt injections [3–5 , 45 ].”
Design Patterns for Securing LLM Agents against Prompt Injections
Beurer-Kellner, L., Buesser, B., Creţu, A.-M., Debenedetti, E., Dobos, D., Fabian, D., Fischer, M., Froelicher, D., Grosse, K., Naeff, D., et al. (2025) · arXiv · doi:10.48550/arxiv.2506.08837 · Cited by 2 · see citing works
Adversarial Search Engine Optimization for Large Language Models
Nestaas, F., Debenedetti, E., & Tramèr, F. (2024) · arXiv · doi:10.48550/arxiv.2406.18382 · Cited by 1 · see citing works
“Wallace et al. [26] introduce a instruction hierarchy, where a LLM is trained to prioritize certain instructions over others.”
BackgroundWASP: Benchmarking Web Agent Security Against Prompt Injection Attacks
Evtimov, I., Zharmagambetov, A., Grattafiori, A., Guo, C., & Chaudhuri, K. (2025) · arXiv · doi:10.48550/arxiv.2504.18575 · Cited by 1 · see citing works
“More advanced methods involve altering the fine-tuning process to enhance defense performance (Piet et al., 2023; Chen et al., 2024a,b; Yi et al., 2023; Wallace et al., 2024; Wu et al., 2024c).”
EIA: Environmental Injection Attack on Generalist Web Agents for Privacy Leakage
Liao, Z., Mo, L., Xu, C., Kang, M., Zhang, J., Xiao, C., Tian, Y., Li, B., & Sun, H. (2024) · arXiv · doi:10.48550/arxiv.2409.11295 · Cited by 1 · see citing works
“Although we have demonstrated that one specific type of system prompt defense cannot mitigate the EIA, we acknowledge that other works (Chen et al., 2024; Wallace et al., 2024) have proposed methods to prioritize instructions over data to counter injection attacks.”
MAPLE-Guard: Memory-Aware Link Enforcement Against Memory-Link Poisoning in Multi-Agent Systems
Xiong, W., Zhou, Y., Wang, J., Gu, S., Tang, B., Li, Z., Xiong, F., Wen, Y., & Wen, M. (2026) · arXiv · doi:10.48550/arxiv.2608.00426
“Instruction hierarchy training [43], StruQ’s structured queries [2], Spotlighting’s provenance marking [14], and SecAlign’s preference optimization [3] strengthen instruction–data boundaries.”
Roesner, F., & Kohno, T. (2026) · arXiv · doi:10.48550/arxiv.2609.17817
“In addition to model-level defenses [4,37,65], a growing body of work considers system-level defenses and design for agentic security [8,11,24,32, 41,56,63,71,72,79], to which our work adds.”
HarnessRisk: A Lifecycle-Oriented Benchmark for Agent Harness Safety
Bai, Y., Duan, J., Peng, J., Wu, X., Liu, S., Wang, S., & Chen, T. (2026) · arXiv · doi:10.48550/arxiv.2608.17597
“Zhang et al., 2025a; 2024; Wei et al., 2026; Liu et al., 2024b; Debenedetti et al., 2024; Zverev et al., 2025; Wallace et al., 2024; Hines et al., 2024; Chen et al., 2025a;b).”
Multi-Agent Systems Execute Arbitrary Malicious Code
Triedman, H., Jha, R., & Shmatikov, V. (2025) · arXiv · doi:10.48550/arxiv.2503.12188
“Model-level defenses focus on LLMs, encouraging safe behavior via preference optimization (Chen et al., 2025; Piet et al., 2024), implicit and explicit prompt prioritization (Chen et al., 2024; Wallace et al., 2024), and dynamic content filtering (Wu et al., 2024).”
Active Social Engineering Defense Using Large Language Models
Stoll, F., Pottkamp, B., & Morgenstern, H. (2025) · Lecture notes in computer science · doi:10.1007/978-3-031-93724-8_20
Dashboard Filtering Using LLM-Based Interfaces
Stock, P., Bremer, H., Lachmann, R., Doernbach, T., & Kurczveil, T. (2025) · IEEE Intelligent Vehicles Symposium · doi:10.1109/iv64158.2025.11097665
“Measures must also prevent malicious user manipulation, such as prompt injection attacks [25].”
Uluçam, E., & Alptekin, S. E. (2025) · Lecture notes in networks and systems · doi:10.1007/978-3-032-00071-2_9
A Generative AI Tool for Constructing Web Frontend with Integration of Quality Feedback Loop
Walloppornlapak, W., & Senivongse, T. (2026) · doi:10.1145/3816713.3818803
“Itera-Web-Q applies instruction hierarchy [14], treating the system prompt as privileged instructions.”
Le, T. D., Dinh, T. D., Nguyen, T. L. Q., & Nguyen, C. D. (2026) · Cybersecurity · doi:10.1186/s42400-026-00628-w
“The rate β B captures the probability that the payload successfully hijacks the agent’s reasoning - a function of the agent’s input sanitization, prompt boundary enforcement, and instruction hierarchy compliance (Wallace et al. 2024).”
Srour, A., Mor, A. G., Omar, M., Barash, Y., Litmanovich, D., Srour-Asmar, M., Klang, E., & Gorenshtein, A. (2026) · Research Square · doi:10.21203/rs.3.rs-10950882/v1
Generative AI Technologies, Techniques and Tensions: A Primer
Behrens, J. T. (2026) · Springer eBooks · doi:10.1007/978-3-032-24819-0_2 · Cited by 1 · see citing works
LivePI: More Realistic Benchmarking of Agents Against Indirect Prompt Injection
Zhao, L., Bhaskar, A., & Dobriban, E. (2026) · arXiv · doi:10.48550/arxiv.2605.17986
Zerhoudi, S., Mitrović, J., & Granitzer, M. (2026) · ACM · doi:10.1145/3799682.3840567
Grattafiori, A., Dubey, A., Jauhri, A., Pandey, A., Kadian, A., Al-Dahle, A., Letman, A., Mathur, A., Schelten, A., Vaughan, A., et al. (2024) · arXiv · doi:10.48550/arxiv.2407.21783 · Cited by 505 · see citing works
- Authors
- Wallace, E., Xiao, K., Leike, R., Weng, L., Heidecke, J., & Beutel, A.
- Venue
- arXiv
- Publisher
- arXiv
- Published
- 2024
- ISSN
- 2331-8422 (ISSN-L)
- arXiv
- 2404.13208
- OpenAlex
- W4395064792
- Semantic Scholar
- f18e5a844c37e5342f8f3d409c74c1a9c91d1f8f
- Cited by
- 14
- References
- 31
- Citations by year
- 2026: 4 · 2025: 9 · 2024: 1
- Type
- posted content
- Language
- en
- Open access
- green
- arxiv.org
- Locations
- arXiv (Cornell University) (submittedVersion)
- arXiv (Cornell University)
- Topics
- Physical Sciences › Computer Science › Artificial Intelligence › Adversarial Robustness in Machine Learning
- Physical Sciences › Computer Science › Artificial Intelligence › Security and Verification in Computing
- Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
- Keywords
- LLM security, prompt injection, jailbreak attacks, instruction following, system prompts, GPT-3.5
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Claims read by deepseek-v4.1-flash under definition version 3 (extract-v3) on 2026-10-28.
Classified by jev-1.13-20260917 (gold-guideline-v0.2) on 2026-10-28.
Cited sources are checked by gpt-6-sol.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review