MITRE ATLAS 2026.10 · AML.T0065 · Elevated severity
LLM Prompt Crafting
Adversaries iteratively refine, fuzz, or optimize prompt structures prior to or during deployment against target LLMs to discover reliable jailbreaks, system-prompt leaks, or policy-evasion framings while preserving target task utility.
Technique dossier overview
- Category
- Prompt and context integrity
- Severity
- Elevated
- Attack surface
- LLM / Prompt Layer · Inference API & Hosting
- Framework maturity
- Realized
- Platforms
- Generative AI, Agentic AI
- Tactics
- AI Attack Adaptation
- Catalog entry modified
How the mechanism works
- Actors test candidate prompt templates against local open-weight surrogates, automated fuzzing harnesses, or multi-account API probing.
- Prompts are mutated based on refusal phrasing, partial leakage, or downstream classifier verdicts until reliable bypasses emerge.
- Refined prompt families are packaged for reuse across direct injection, automated distillation, or downstream malicious campaigns.
Detection & telemetry signals
- High-velocity sequences of semantically similar prompts differing primarily in wrapper framing, prefixes, or encoding patterns.
- Automated red-team or fuzzer fingerprints (repetitive refusal-probing loops across multiple API keys).
- Sudden clusters of benign-looking prompts preceding targeted policy-bypass completions.
Architectural defensive countermeasures
- Enforce per-user and cross-account rate limiting on repeated refusal-triggering queries, applying progressive backoff or temporary blocks.
- Train and deploy input/output classifiers against adaptive multi-turn and automated fuzzer prompt families.
- Conduct authorized internal AI red-teaming continuously and integrate newly discovered bypass families into CI guardrail regression suites.
- Avoid echoing detailed guardrail rule diagnostics in rejection responses that help attackers iteratively tune prompt mutations.
Framework crosswalk (OWASP LLM Top 10 & NIST AI RMF)
- OWASP LLM Top 10 (2025)
- OWASP rationale
- Prompt crafting is the adversarial adaptation loop behind prompt injection and jailbreaks (LLM01) and generates repetitive probing traffic against inference APIs (LLM10).
- NIST AI RMF functions
- NIST AI RMF guidance
- MEASURE classifier and model resilience against automated prompt-fuzzing benchmarks, and MANAGE iterative probing via opaque refusal errors and cross-session throttling.
Mapped defensive controls
- Limit AI Service Query Volume and Rate AML.M0004
Enforce per-tenant RPM/TPM quotas, concurrency caps, and behavioral burst throttling to blunt automated extraction, probing, and denial-of-wallet amplification.
- Generative AI Guardrails AML.M0020
Deploy layered input and output classifiers, constitutional/topic rails, and structural validators with measured benign over-refusal rates—never relying on classifiers as the sole authorization boundary.
- AI Telemetry Logging and Monitoring AML.M0024
Emit structured, PII-redacted OpenTelemetry GenAI security traces covering auth, guardrail verdicts, token bursts, and agent tool calls without creating a toxic raw-prompt honeypot.
- AI Red Team AML.M0035
Conduct authorized, isolated manual and automated adversarial testing across models, RAG pipelines, and agents—tracking reproducible breach rates, Wilson confidence intervals, and patch verification.
Published empirical measurements (4)
- Attack success rate · 15.3%
AutoPrompt gradient-guided prompt crafting. Evaluated on HarmBench Standard split (200 behaviors) with Llama-2-7B-Chat default safety prompt. Earlier catalog numerator 31/200 was reconstructed from the published rounded percentage. The displayed rate is source-reported. No count-based interval or rank is available.
- Model
- Llama-2-7B-Chat
- Evaluation
- HarmBench Standard Behaviors (200 behaviors)
- Defense
- Baseline model
- Reported
- Sample
- 200
- Source and location
- HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusal · arXiv (author preprint; peer-review status not inferred) · Main Evaluation Table (Standard Behaviors ASR %, N=200)
- Evidence provenance
- Independently replicated
- Mitigation effectiveness · 37.4%
Per-split trial denominators are not tabulated individually in Figure 2; vendor study on historical GPT-3.5-Turbo base.
- Model
- GPT-3.5-Turbo
- Evaluation
- OpenAI Instruction Hierarchy Evaluation Suite
- Defense
- Baseline model
- Reported
- Source and location
- The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructions · arXiv (author preprint; peer-review status not inferred) · Figure 2: Main Results (Attack Resistance %)
- Evidence provenance
- Primary-source checked
- Mitigation effectiveness · 71.2%
Per-split trial denominators are not tabulated individually in Figure 2; vendor study on historical GPT-3.5-Turbo base.
- Model
- GPT-3.5-Turbo
- Evaluation
- OpenAI Instruction Hierarchy Evaluation Suite
- Defense
- System-prompt hierarchy
- Reported
- Source and location
- The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructions · arXiv (author preprint; peer-review status not inferred) · Figure 2: Main Results (Attack Resistance %)
- Evidence provenance
- Primary-source checked
- Mitigation effectiveness · 84.7%
Derived resistance complement (100% - published ASR) on HarmBench Standard split (200 behaviors). Earlier catalog numerator 169/200 was reconstructed from the published rounded percentage. The displayed rate is source-reported. No count-based interval or rank is available.
- Model
- Llama-2-7B-Chat
- Evaluation
- HarmBench Standard Behaviors — Resistance Rate (200 behaviors)
- Defense
- Baseline model
- Reported
- Sample
- 200
- Source and location
- HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusal · arXiv (author preprint; peer-review status not inferred) · Main Evaluation Table (100% - Standard Behaviors ASR %, N=200)
- Evidence provenance
- Independently replicated
Documented incidents & exercises (42)
- ChatGPT Conversation Exfiltration AML.CS0021 · Exercise · May 2023 · High · LLM Chat & Plugin Ecosystems
Disclosed in May 2023 by Johann Rehberger ("ChatGPT Plugins: Data Exfiltration via Images & Cross Plugin Request Forgery"), this exercise demonstrated how an untrusted webpage fetched by a browsing plugin could hijack ChatGPT via indirect prompt injection. The injected…
- Morris II Worm: RAG-Based Attack AML.CS0024 · Exercise · Mar 5, 2024 · High
MITRE ATLAS case study demonstrating an adversarial self-replicating prompt embedded in inbound email that propagated across connected RAG assistants and exfiltrated user messages.
- Financial Transaction Hijacking with M365 Copilot as an Insider AML.CS0026 · Exercise · Aug 8, 2024 · Critical · Enterprise Productivity & Finance
Presented at Black Hat USA 2024 ("Living off Microsoft Copilot"), researchers showed how sending a crafted email containing hidden indirect prompt-injection payloads could poison Microsoft 365 Copilot's retrieval context. When an employee queried Copilot about invoices or bank…
- Google Bard Conversation Exfiltration AML.CS0029 · Exercise · Nov 23, 2023 · High · Consumer & Enterprise AI Assistants
Disclosed in November 2023 ("Hacking Google Bard: From Prompt Injection to Data Exfiltration"), researchers demonstrated an indirect prompt-injection attack embedded inside a shared Google Doc or email processed by Bard Extensions. The hidden instructions directed Bard to…
- Data Exfiltration from Slack AI via Indirect Prompt Injection AML.CS0035 · Exercise · Aug 20, 2024 · High · Enterprise Collaboration & SaaS
Disclosed by PromptArmor in August 2024 ("Data Exfiltration from Slack AI via indirect prompt injection"), this exercise showed that an attacker with access to a single public channel could plant a crafted message containing indirect prompt-injection instructions. When another…
- Data Exfiltration via Agent Tools in Copilot Studio AML.CS0037 · Exercise · June 2025 · Critical · Enterprise Low-Code Agents
Disclosed in June 2025 ("AgentFlayer: When AIjacking Leads to Full Data Exfiltration in Copilot Studio"), researchers mapped how probing agent trigger channels and sending crafted external inputs can hijack Copilot Studio agents. Once triggered, the injected prompt instructed…
- Planting Instructions for Delayed Automatic AI Agent Tool Invocation AML.CS0038 · Exercise · February 2024 · High · Personal & Enterprise AI Assistants
Disclosed by Johann Rehberger in February 2024 ("Google Gemini: Planting Instructions for Delayed Automatic Tool Invocation"), this exercise showed how indirect prompt-injection instructions embedded in an external document or email can be persisted across sessions rather than…
- Living Off AI: Prompt Injection via Jira Service Management AML.CS0039 · Exercise · Jun 19, 2025 · High · Enterprise IT Service Management & MCP Agents
Published by Cato CTRL Threat Research in June 2025 ("Living Off AI"), this proof-of-concept demonstrated an indirect prompt injection submitted by an external user inside a Jira Service Management support ticket. When an internal support engineer's MCP-connected AI agent read…
- Hacking ChatGPT's Memories with Prompt Injection AML.CS0040 · Exercise · February 2024 · High · Consumer & Enterprise Chatbots
Disclosed in February 2024 ("ChatGPT: Hacking Memories with Prompt Injection"), researchers showed how obfuscated indirect prompt injection inside a browsed webpage, uploaded file, or external text could coerce ChatGPT into invoking its persistent Memory tool. Once malicious…
- Rules File Backdoor: Supply Chain Attack on AI Coding Assistants AML.CS0041 · Exercise · Mar 18, 2025 · High
MITRE ATLAS case study analyzing invisible Unicode control characters hidden inside shared repository instruction files that silently altered generated source code to introduce backdoors.
- Malware Prototype with Embedded Prompt Injection AML.CS0043 · Incident · Jun 25, 2025 · High · Malware Analysis & Security Operations
Reported by Check Point Research in June 2025 ("New Malware Embeds Prompt Injection to Evade AI Detection"), analysts discovered a real-world malware prototype containing hardcoded natural-language prompt-injection strings inside its binary and code artifacts. When security…
- Data Exfiltration via an MCP Server used by Cursor AML.CS0045 · Exercise · Jun 24, 2025 · Critical
MITRE ATLAS exercise showing how hidden instructions embedded in an external MCP server's tool metadata can steer an agent to read private repository data and exfiltrate it through a separate trusted tool call.
- Data Destruction via Indirect Prompt Injection Targeting Claude Computer-Use AML.CS0046 · Exercise · Oct 24, 2024 · Critical · Autonomous Desktop & Computer-Use Agents
Demonstrated in October 2024 shortly after the release of Claude Computer-Use, security researchers embedded obfuscated indirect prompt-injection payloads inside an untrusted web page or document viewed on screen. Because the computer-use agent possessed direct mouse, keyboard,…
- Code to Deploy Destructive AI Agent Discovered in Amazon Q VS Code Extension AML.CS0047 · Incident · Jul 13, 2025 · Critical · Developer Tooling & Cloud IDE Extensions
In July 2025 (tracked as AIID Incident 1158 and addressed in Amazon Q Developer VS Code extension update v1.84), an attacker exploited compromised repository permissions to submit a malicious commit containing a destructive system prompt into the public Amazon Q VS Code…
- Supply Chain Compromise via Poisoned ClawdBot Skill AML.CS0049 · Exercise · Jan 26, 2026 · Moderate
ATLAS case study: a poisoned ClawdBot skill package compromised downstream agent installations via the plugin supply chain.
- OpenClaw Command & Control via Prompt Injection AML.CS0051 · Exercise · Feb 3, 2026 · Moderate
ATLAS case study: prompt injection against OpenClaw yielded command-and-control over the host via agent tool invocation.
- LLMSmith: RCE Vulnerabilities in LLM-Integrated Applications AML.CS0052 · Exercise · Feb 27, 2025 · Moderate
ATLAS case study: LLMSmith disclosed RCE vulnerabilities in LLM-integrated applications built on vulnerable frameworks.
- Data Exfiltration via Remote Poisoned MCP Tool AML.CS0054 · Exercise · Apr 1, 2025 · Moderate
ATLAS case study: a remote MCP tool returned poisoned output that redirected agent behavior to exfiltrate data.
- Model Distillation Campaigns Targeting Anthropic Claude AML.CS0056 · Incident · 2026 · High
ATLAS incident: model distillation campaigns targeted Anthropic Claude services to replicate model capability.
- EchoLeak: Zero-Click Prompt Injection Targeting M365 Copilot for Data Exfiltration AML.CS0059 · Exercise · May 2025 · Moderate
ATLAS case study: EchoLeak zero-click prompt injection exfiltrated data from M365 Copilot via trusted context.
- Cross-Site Scripting via Prompt Manipulation in Lenovo AI Chatbot AML.CS0060 · Exercise · Aug 18, 2025 · Moderate
ATLAS case study: prompt manipulation in a Lenovo AI chatbot triggered XSS via file-content reflection.
- AI in the Middle: Web-Based AI Services as C2 Relays AML.CS0061 · Exercise · Feb 17, 2026 · Moderate
ATLAS case study: web-based AI services were abused as command-and-control relays for malware traffic.
- RCE Vulnerability in Semantic Kernel Search Plugin AML.CS0062 · Exercise · May 7, 2026 · Moderate
ATLAS case study: a Semantic Kernel search plugin RCE allowed arbitrary code execution in AI applications.
- Prompt-Based Attacks Against Gemini via Calendar Invitations AML.CS0063 · Exercise · Aug 6, 2025 · Moderate
ATLAS case study: crafted calendar invitations carried prompt-based attacks against Gemini automations.
- ZombieAgent: Data Exfiltration Attack on ChatGPT AML.CS0066 · Exercise · Sep 25, 2025 · Moderate
ATLAS case study: ZombieAgent chained agent memory with web browsing to exfiltrate ChatGPT conversation data.
- Claude Code GitHub Action Secret Exposure AML.CS0067 · Exercise · Jun 5, 2026 · High
MITRE ATLAS case study documenting how untrusted external repository triggers or issue payloads in automated CI coding agent workflows could leak workflow environment secrets when overly broad credential scopes are exposed.
- Model Distillation Campaigns Targeting Google AI Services AML.CS0075 · Incident · 2025 · High
ATLAS incident: model distillation campaigns targeted Google AI services to replicate proprietary capability.
- China-Based Artificial Intelligence Companies Conducting Industrial-Scale Distillation Campaigns Against U.S. AI Companies AML.CS0076 · Incident · 2024 · Critical
ATLAS incident: China-based AI companies ran industrial-scale distillation campaigns against US AI providers.
- Chevrolet of Watsonville Dealership Chatbot Prompt-Injected Into $1 Tahoe Offer INC-AIID-0622 · Incident · Dec 17, 2023 · High · E-Commerce & Retail
On December 17, 2023, a viral prompt injection incident hit Chevrolet of Watsonville's website after a user (Chris Bakke) discovered that its ChatGPT-powered dealership chatbot operated without input-boundary isolation or topic guardrails. By instructing the assistant to agree…
- DPD Parcel Delivery Chatbot Manipulated After Update Into Swearing and Mocking Brand INC-AIID-0631 · Incident · Jan 18, 2024 · Elevated · E-Commerce & Retail
On January 18, 2024, UK parcel carrier DPD was forced to disable the AI component of its online customer service chat after a frustrated customer attempting to locate a missing parcel discovered a system update had weakened its behavioral guardrails. Using straightforward…
- Custom GPT Store Assistants Widespread System-Prompt and Knowledge-File Extraction INC-OBS-044 · Incident · Nov 16, 2023 · Elevated · Consumer AI & Local Runtimes
Within days of OpenAI launching Custom GPTs in November 2023, security researchers and builders demonstrated that the vast majority of public Custom GPTs could be trivially coerced into dumping their hidden system instructions and verbatim uploaded knowledge files. Simple…
- Many-Shot Long-Context Jailbreaking Evaluation OBS.EX0004 · Exercise · Apr 2, 2024 · Long-Context Frontier LLMs · In-Context Conditioning Scaling Study
Anthropic (2024) evaluated how expanding context windows up to hundreds of simulated dialogue demonstrations affects safety refusal stability in frontier LLMs. By filling long prompts with many synthetic question-answer turns before a final restricted query, attack compliance…
- DeepInception Nested Personification Jailbreak Study OBS.EX0009 · Exercise · Nov 6, 2023 · Open & Closed LLMs · Lightweight Authority & Nested Context Manipulation
Li et al. (2023) evaluated DeepInception, a lightweight zero-optimization probing approach inspired by Milgram authority studies that embeds restricted requests inside nested fictional character layers. Empirical evaluations on Llama-2, Llama-3, GPT-3.5, GPT-4, and GPT-4o…
- JailbreakBench Open Reproducible Robustness Leaderboard OBS.EX0013 · Exercise · Mar 28, 2024 · Open & Proprietary LLMs · 100 Standardized Policy Behaviors
Chao et al. (2024) created JailbreakBench to standardize threat models, system prompts, chat templates, and scoring functions across 100 defined harmful behaviors aligned with usage policies. By tracking reproducible attack and defense evaluations on a shared benchmark,…
- JailbreakHub In-the-Wild Jailbreak Prompt Ecosystem Study OBS.EX0017 · Exercise · Aug 7, 2023 · 6 Production & Open LLMs · 1,405 Community Prompts & 107,250 Questions
Shen et al. (2023) collected 1,405 real-world jailbreak prompts across 131 online communities over a full year and evaluated them across 13 restricted scenarios totaling 107,250 test queries on six LLMs. Five persistent community prompts achieved 0.95 attack success rates on…
- HackAPrompt 600K+ Global Prompt Hacking Competition Corpus OBS.EX0020 · Exercise · Oct 24, 2023 · 3 State-of-the-Art LLMs · 600,000+ Human Adversarial Submissions
Schulhoff et al. (2023) hosted a global free-form prompt hacking competition that collected over 600,000 adversarial user submissions across tiered defense levels against three flagship LLMs. Analysis of successful bypasses produced a structured taxonomy of prompt injection,…
- RLHF Red-Teaming Scaling Behaviors Study (38,961 Attacks) OBS.EX0022 · Exercise · Aug 23, 2022 · 2.7B, 13B & 52B LMs Across 4 Training Paradigms · Crowd Red-Team Dataset
Ganguli et al. (2022) collected 38,961 human red-team attacks across 2.7B, 13B, and 52B parameter models spanning plain, prompted, rejection-sampled, and RLHF-aligned variants. While plain and prompted models showed flat red-team resistance across parameter scales, RLHF-trained…
- Multi-Turn Human Jailbreaks (MHJ) & Unlearning Bypass Study OBS.EX0023 · Exercise · Aug 27, 2024 · HarmBench-Evaluated & Unlearned LLMs · 537 Multi-Turn Human Engagements
Li et al. (2024) compiled 2,912 prompts across 537 multi-turn human red-teaming transcripts to benchmark defenses that previously reported single-digit vulnerability under single-turn automated attacks. Multi-turn human strategies exceeded 70% attack success rate on HarmBench…
- ActorBreaker Natural Distribution Shift & Multi-Turn Safety Evaluation OBS.EX0034 · Exercise · Oct 14, 2024 · Aligned Commercial & Open LLMs · Benign-Semantic Multi-Turn Drift
Ren et al. (2024) uncovered safety vulnerabilities caused by natural distribution shifts where semantically related benign actors gradually steer multi-turn dialogues toward unsafe topics without explicit toxic phrasing. Using ActorBreaker to mine related actors from…
- Human-like Psychological Manipulation (HPM) Jailbreak Benchmark OBS.EX0036 · Exercise · Dec 20, 2025 · GPT-4o, DeepSeek-V3 & Gemini-2-Flash · Stateful Psychometric Attack Evaluation
Liu and Lin (2025) evaluated stateful psychological jailbreaks (HPM) that dynamically profile model responsiveness to anthropomorphic framing and apply multi-turn social compliance pressure across interactions. Evaluated using psychometric benchmarks and the Policy Corruption…
- Reasoning-Mode User-Intent Blindness Across Frontier LLMs OBS.EX0037 · Exercise · Dec 24, 2025 · ChatGPT, Claude, Gemini & DeepSeek · Emotional, Progressive & Academic Framing
Hussain and Salahuddin (2025) benchmarked how ChatGPT, Claude, Gemini, and DeepSeek respond to restricted requests framed via emotional appeals, progressive revelation, and academic justification. Contrary to expectations, enabling extended reasoning amplified exploitation…
- DEF CON 31 AI Village Generative Red Teaming Transparency Exercise OBS.EX0233 · Exercise · 2024 · 8 Commercial Closed-Source LLMs · Large-Scale Public Live Red-Teaming Event
Storchan, Kumar, Chowdhury, Goldfarb-Tarrant, and Cattell (2024, via Humane Intelligence, Seed AI, and AI Village) published the transparency report documenting the landmark DEF CON 31 Generative Red Team (GRT1) public exercise, in which thousands of participants probed eight…
Source citation records
- MITRE ATLAS: LLM Prompt Crafting · MITRE ·
- GTIG AI Threat Tracker: Distillation, Experimentation, and (Continued) Integration of AI for Adversarial Use · Cited by MITRE ATLAS; publisher not independently verified
- China-Based Artificial Intelligence Companies Conducting Industrial-Scale Distillation Campaigns Against U.S. AI Companies · Cited by MITRE ATLAS; publisher not independently verified
- Detecting and preventing distillation attacks \ Anthropic · Cited by MITRE ATLAS; publisher not independently verified
- LLM01:2025 Prompt Injection · OWASP GenAI Security Project ·
- HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusal · arXiv (author preprint; peer-review status not inferred) ·
- The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructions · arXiv (author preprint; peer-review status not inferred) ·
Common questions
- What is LLM Prompt Crafting (AML.T0065)?
- Adversaries iteratively refine, fuzz, or optimize prompt structures prior to or during deployment against target LLMs to discover reliable jailbreaks, system-prompt leaks, or policy-evasion framings while preserving target task utility.
- How do you mitigate LLM Prompt Crafting?
- MITRE ATLAS maps 4 mitigations to AML.T0065: Limit AI Service Query Volume and Rate, Generative AI Guardrails, AI Telemetry Logging and Monitoring, and AI Red Team. Enforce per-user and cross-account rate limiting on repeated refusal-triggering queries, applying progressive backoff or temporary blocks.