Security & Adversarial Prompting
Attacks that subvert a model's instructions and the defenses designed to resist them.
- Constitutional AIPTL-0095
- Deliberative AlignmentPTL-0167
- Dual LLM PatternPTL-0161
- Excessive AgencyPTL-0166
- GuardrailsPTL-0160
- Constitutional ClassifiersPTL-0168
- Instruction HierarchyPTL-0093
- JailbreakPTL-0090
- Adversarial SuffixPTL-0091
- Crescendo AttackPTL-0164
- Many-shot JailbreakingPTL-0092
- PAIRPTL-0165
- Lethal TrifectaPTL-0163
- Prompt InjectionPTL-0087
- Indirect Prompt InjectionPTL-0088
- Tool PoisoningPTL-0162
- Prompt LeakingPTL-0089
- Indirect Prompt InjectionPTL-0088
- Red TeamingPTL-0159
- SpotlightingPTL-0094
Definitions
- Adversarial Suffix
- An adversarial suffix is an automatically optimized string of tokens that, when appended to a request, causes an aligned model to comply with requests it would normally refuse.
- Constitutional AI
- Constitutional AI is a training method in which a model critiques and revises its own outputs according to a written set of principles, and AI-generated preference judgments replace most human labels for harmlessness.
- Constitutional Classifiers
- Constitutional classifiers are input and output safeguard classifiers trained on synthetic data generated from a written constitution that defines permitted and restricted content, designed to block universal jailbreaks.
- Crescendo Attack
- The Crescendo attack is a multi-turn jailbreak that starts with harmless questions on a topic and gradually escalates over several turns, building on the model's own earlier answers until it produces content it would refuse if asked directly.
- Deliberative Alignment
- Deliberative alignment is a safety-training method in which a reasoning model is taught the text of a safety specification and trained to recall and reason about the relevant policies in its chain of thought before answering.
- Dual LLM Pattern
- The dual LLM pattern defends against prompt injection by splitting work between a privileged model, which sees only trusted input and can use tools, and a quarantined model, which processes untrusted content but has no tool access, with ordinary code passing references between them.
- Excessive Agency
- Excessive agency is the vulnerability of giving an LLM-based system more functionality, permissions, or autonomy than its task requires, so that a manipulated or mistaken model can take damaging actions.
- Guardrails
- Guardrails are checks placed around a model call that screen inputs and outputs, using classifiers, rules, or a second model, to block, redact, or redirect content that violates a policy before it reaches the model or the user.
- Indirect Prompt Injection
- Indirect prompt injection places malicious instructions inside content a model will later retrieve or process, such as a web page, email, or document, so the attack is triggered without the attacker interacting with the model directly.
- Instruction Hierarchy
- The instruction hierarchy is a training approach that teaches a model to prioritize instructions by source, typically system over user over tool output, and to ignore lower-priority instructions that conflict with higher-priority ones.
- Jailbreak
- A jailbreak is a prompt crafted to make a model produce outputs its safety training is meant to prevent, often through role-play, hypothetical framing, obfuscation, or other adversarial techniques.
- Lethal Trifecta
- The lethal trifecta is the combination of three capabilities that makes an AI agent vulnerable to data theft through prompt injection, namely access to private data, exposure to untrusted content, and the ability to communicate externally.
- Many-shot Jailbreaking
- Many-shot jailbreaking fills a long context window with many fabricated dialogue examples in which an assistant complies with harmful requests, exploiting in-context learning to override the model's safety training.
- PAIR
- PAIR (Prompt Automatic Iterative Refinement) is an automated jailbreak method in which an attacker language model repeatedly proposes jailbreak prompts against a target model and refines them based on the target's responses, needing only black-box access.
- Prompt Injection
- Prompt injection is an attack in which text supplied to a language model, by a user or through data the model processes, contains instructions that override or subvert the instructions of the application's developer.
- Prompt Leaking
- Prompt leaking is an attack that tricks a model into revealing its hidden system prompt or other confidential instructions.
- Red Teaming
- Red teaming is adversarial testing of an AI model or system, by people or by other models, to find inputs that make it produce harmful, insecure, or otherwise unwanted behavior before attackers or users do.
- Spotlighting
- Spotlighting is a family of prompt-level defenses against indirect prompt injection that transform untrusted input, by delimiting, marking every word, or encoding it, so the model can distinguish it from trusted instructions.
- Tool Poisoning
- Tool poisoning is an attack in which malicious instructions are hidden in a tool's description or metadata, such as an MCP server's tool definitions, so that the agent reading the description is steered into harmful actions that the user does not see.