Attack Technique Atlas
A taxonomy and dependency graph of 46 offensive-AI attack families and techniques, with
73 relationships (variant of, chains into, defended by). Click any node
for its definition, prerequisites, real-world incidents, and the defenses that blunt it. Every view is
deep-linkable — share ?node=indirect-prompt-injection.
Curated from primary sources (arXiv, vendor advisories, incident reports). Runs entirely in your browser — no tracking, no backend.
-
Prompt Injection
familyAttacker-controlled text is interpreted by the LLM as instructions, overriding or hijacking the legitimate system prompt or user intent. The root family for most LLM application attacks.
- Attacker capability
- Black-box (query only)
- Target type
- Chatbot / assistant, RAG pipeline, Tool-using agent
Prerequisites
- Any path for attacker text to reach the model context
Real incidents & sources
-
Direct Prompt Injection
techniqueThe malicious instruction arrives in the user's own turn — the attacker is the user, talking directly to the model to override its system prompt.
- Attacker capability
- Black-box (query only)
- Target type
- Chatbot / assistant, Tool-using agent
Prerequisites
- Direct conversational access to the target model
-
Indirect Prompt Injection
techniqueThe payload is embedded in third-party content the model retrieves or ingests (web pages, documents, emails, tool output). Because the model treats retrieved content as trusted context, attacker instructions execute without direct interaction.
- Attacker capability
- Black-box (query only), Training/RAG data access
- Target type
- RAG pipeline, Tool-using agent, Chatbot / assistant
Prerequisites
- Model ingests external content
- Attacker can plant content in a source the model reads
Real incidents & sources
-
RAG Knowledge-Base Poisoning
techniqueAdversarial documents are inserted into the retrieval corpus so that, when retrieved as context, they steer answers or carry an indirect-injection payload.
- Attacker capability
- Training/RAG data access
- Target type
- RAG pipeline
Prerequisites
- Write or contribution access to an indexed source
- Retrieval ranks the poisoned doc for target queries
Real incidents & sources
-
System Prompt Extraction
techniqueCoaxing the model to reveal its hidden system prompt, developer instructions, or tool definitions — exposing business logic, guardrail wording, and downstream attack surface.
- Attacker capability
- Black-box (query only)
- Target type
- Chatbot / assistant, RAG pipeline
Prerequisites
- Conversational access
- System prompt present in context
Real incidents & sources
-
Jailbreak
familyEliciting content or behavior the model's safety training was meant to refuse, by manipulating framing, persona, or context rather than (necessarily) overriding a system prompt.
- Attacker capability
- Black-box (query only)
- Target type
- Chatbot / assistant, Vision / multimodal
Prerequisites
- Conversational access to a safety-tuned model
-
Roleplay / Persona Jailbreak
techniqueThe model is asked to adopt a persona or fictional frame ('DAN', 'evil twin', a movie character) for which refusal behavior is weaker, then steered to the disallowed content in-character.
- Attacker capability
- Black-box (query only)
- Target type
- Chatbot / assistant
Prerequisites
- Conversational access
-
Crescendo (Multi-Turn Escalation)
techniqueA gradual multi-turn attack: benign questions establish context and incrementally steer the model toward disallowed output, exploiting the model's tendency to stay consistent with its own prior turns.
- Attacker capability
- Black-box (query only)
- Target type
- Chatbot / assistant
Prerequisites
- Multi-turn conversational access
Real incidents & sources
-
Many-Shot Jailbreak
techniqueDozens to hundreds of faux dialogue turns showing the assistant complying with harmful requests are stuffed into a long context window, biasing the model to continue the pattern.
- Attacker capability
- Black-box (query only)
- Target type
- Chatbot / assistant
Prerequisites
- Large context window
- Conversational access
Real incidents & sources
-
Encoding / Obfuscation Bypass
techniqueThe harmful request is hidden from input-side filters and from the model's refusal heuristics using base64, leetspeak, ciphers, low-resource languages, or token-splitting, then decoded by the model itself.
- Attacker capability
- Black-box (query only)
- Target type
- Chatbot / assistant
Prerequisites
- Conversational access
- Model competent at the encoding used
Real incidents & sources
-
GCG Adversarial Suffix
techniqueGreedy Coordinate Gradient optimizes a nonsensical token suffix that, appended to a harmful request, maximizes the probability of an affirmative response. Suffixes transfer across models.
- Attacker capability
- White-box (weights/logits)
- Target type
- Chatbot / assistant, Model API / endpoint
Prerequisites
- White-box gradient access to a surrogate model
- Transferability to the target
Real incidents & sources
-
Automated Red-Team Search
techniqueAn attacker LLM iteratively rewrites prompts against a target, scoring responses to converge on a working jailbreak (PAIR, TAP, AutoDAN-Turbo, GPTFuzz). Scales discovery without human authors.
- Attacker capability
- Black-box (query only)
- Target type
- Chatbot / assistant, Model API / endpoint
Prerequisites
- API query budget against the target
- A judge/scorer model
Real incidents & sources
-
Adversarial Examples
familyInputs perturbed by a small, often human-imperceptible amount that cause a model to misclassify or misbehave with high confidence.
- Attacker capability
- White-box (weights/logits), Black-box (query only)
- Target type
- Vision / multimodal, Model API / endpoint
Prerequisites
- Ability to submit crafted inputs
- Gradient access (white-box) or a query budget (black-box)
Real incidents & sources
-
Evasion Attack
techniqueTest-time perturbation crafted to flip a classifier's decision — e.g., evade a malware, spam, or content-moderation model — while preserving the input's real semantics.
- Attacker capability
- White-box (weights/logits), Black-box (query only)
- Target type
- Vision / multimodal, Model API / endpoint
Prerequisites
- Query or gradient access to the classifier
Real incidents & sources
-
Transfer Attack
techniqueAdversarial inputs crafted on a local surrogate model transfer to an unseen target, enabling black-box attacks without querying the victim heavily.
- Attacker capability
- Black-box (query only)
- Target type
- Model API / endpoint, Vision / multimodal
Prerequisites
- A surrogate model approximating the target
- Shared task / data distribution
Real incidents & sources
-
Adversarial Patch / Physical
techniqueA localized, robust pattern (sticker, printout, eyewear) that forces a target class regardless of the rest of the scene, working under real-world capture conditions.
- Attacker capability
- White-box (weights/logits), Black-box (query only)
- Target type
- Vision / multimodal
Prerequisites
- Physical placement in the camera's view
- Robustness to scale/lighting
Real incidents & sources
-
Model Extraction / Stealing
familyReconstructing a functional copy, or specific parameters, of a victim model by systematically querying it and training on the input/output pairs.
- Attacker capability
- Black-box (query only)
- Target type
- Model API / endpoint
Prerequisites
- Query access to the model API
- Sufficient query budget
Real incidents & sources
-
Distillation-Based Theft
techniqueUsing a frontier model's outputs as soft labels to train a much cheaper student that approximates its behavior, circumventing licensing and capability investment.
- Attacker capability
- Black-box (query only)
- Target type
- Model API / endpoint
Prerequisites
- Bulk API output access
- Compute to train the student
Real incidents & sources
-
API Parameter Extraction
techniqueRecovering precise model artifacts — e.g., the embedding-projection layer or hidden dimension — from logit/logprob responses of a production API.
- Attacker capability
- Black-box (query only)
- Target type
- Model API / endpoint
Prerequisites
- Logit-bias or logprob access
- Many targeted queries
Real incidents & sources
-
Membership Inference
techniqueDetermining whether a specific record was in the model's training set, by exploiting the model's higher confidence on members. A privacy and compliance risk.
- Attacker capability
- Black-box (query only)
- Target type
- Model API / endpoint
Prerequisites
- Query access
- Candidate records to test
Real incidents & sources
-
Training-Data Extraction
techniquePrompting a model to regurgitate verbatim memorized training data — PII, secrets, copyrighted text — sometimes via divergence or repetition attacks.
- Attacker capability
- Black-box (query only)
- Target type
- Chatbot / assistant, Model API / endpoint
Prerequisites
- Query access
- Target data was memorized during training
Real incidents & sources
-
Model Inversion
techniqueReconstructing representative or sensitive features of training inputs (e.g., a recognizable face for a class label) from model outputs or gradients.
- Attacker capability
- Black-box (query only), White-box (weights/logits)
- Target type
- Model API / endpoint
Prerequisites
- Output confidence or gradient access
- Knowledge of the label space
Real incidents & sources
-
Data Poisoning
familyCorrupting training or fine-tuning data so the resulting model has degraded accuracy or attacker-chosen behavior.
- Attacker capability
- Training/RAG data access
- Target type
- Model API / endpoint, RAG pipeline
Prerequisites
- Influence over a training data source
- Poisoned samples survive curation
Real incidents & sources
-
Backdoor / Trojan
techniqueA hidden trigger is implanted during training so the model behaves normally until a specific trigger pattern appears, then produces the attacker's target output.
- Attacker capability
- Training/RAG data access, Supply-chain position
- Target type
- Model API / endpoint, Vision / multimodal
Prerequisites
- Control of some training data or the training process
- Ability to present the trigger at inference
Real incidents & sources
-
Preference / RLHF Poisoning
techniqueInjecting malicious preference pairs or annotations into RLHF/DPO data so the reward model — and the aligned policy — learns an attacker-chosen bias or backdoor.
- Attacker capability
- Training/RAG data access
- Target type
- Model API / endpoint
Prerequisites
- Access to the human-feedback / preference pipeline
Real incidents & sources
-
ML Supply-Chain Attack
familyCompromising a model, dataset, package, or artifact before it reaches the victim's pipeline — abusing implicit trust in hubs, registries, and serialization formats.
- Attacker capability
- Supply-chain position
- Target type
- Model API / endpoint, Tool-using agent
Prerequisites
- A position upstream of the victim's build/deploy
- Victim loads untrusted artifacts
-
Unsafe Model Deserialization
techniqueArbitrary-code serialization formats in model checkpoints (.bin, .ckpt) execute attacker code on load. Loading an untrusted checkpoint with an unsafe loader is remote code execution.
- Attacker capability
- Supply-chain position
- Target type
- Model API / endpoint
Prerequisites
- Victim loads an attacker-supplied checkpoint
- Unsafe loader instead of a safe-tensors format
-
ML Framework CVE Exploitation
techniqueExploiting a known vulnerability in an ML serving or pipeline component (model server, notebook, orchestration framework) to gain code execution or data access.
- Attacker capability
- Supply-chain position
- Target type
- Model API / endpoint
Prerequisites
- Reachable vulnerable component
- Unpatched version
Real incidents & sources
-
Model/Package Typosquatting
techniquePublishing a malicious model or package under a name confusingly similar to a popular one so developers install the attacker's artifact by mistake.
- Attacker capability
- Supply-chain position
- Target type
- Model API / endpoint, Tool-using agent
Prerequisites
- Public registry / hub
- Plausible name collision
Real incidents & sources
-
Agentic / Tool Abuse
familyTurning an LLM agent's own tools, memory, and autonomy against the user or system — typically bootstrapped by an injection that reaches the agent's planning loop.
- Attacker capability
- Black-box (query only)
- Target type
- Tool-using agent
Prerequisites
- Agent with tools/actions
- A path to inject instructions into the agent context
Real incidents & sources
-
Tool-Call Injection
techniqueInjected text instructs the agent to invoke a tool with attacker-chosen arguments (send email, run code, call an API), abusing the agent's action authority.
- Attacker capability
- Black-box (query only)
- Target type
- Tool-using agent
Prerequisites
- Agent can call state-changing tools
- Injection reaches the planning prompt
Real incidents & sources
-
Exfiltration via Rendered Content
techniqueThe model is induced to embed secrets in a rendered Markdown image/link URL or auto-fetched resource, leaking data to an attacker server with zero user clicks.
- Attacker capability
- Black-box (query only)
- Target type
- Tool-using agent, Chatbot / assistant
Prerequisites
- Client renders model-controlled images/links
- Sensitive data in context
Real incidents & sources
-
Agent Memory Poisoning
techniquePlanting persistent instructions in an agent's long-term memory or stored notes so the payload re-triggers on future, unrelated sessions.
- Attacker capability
- Black-box (query only)
- Target type
- Tool-using agent
Prerequisites
- Agent persists memory across sessions
- Attacker content written to that memory
Real incidents & sources
-
Confused-Deputy Privilege Abuse
techniqueAn injected instruction makes the agent use its own elevated credentials/connectors on the attacker's behalf, reaching data or actions the attacker could not access directly.
- Attacker capability
- Black-box (query only)
- Target type
- Tool-using agent
Prerequisites
- Agent holds broader privileges than the attacker
- Injection path into the agent
Real incidents & sources
-
Multimodal Injection
familyCarrying an injection or jailbreak payload through a non-text modality (image, audio, document layout) that the model interprets as instructions.
- Attacker capability
- Black-box (query only)
- Target type
- Vision / multimodal
Prerequisites
- Model accepts the modality as input
- Payload survives preprocessing
Real incidents & sources
-
Text-in-Image Injection
techniqueInstructions rendered as text inside an image (sometimes faint or off-color) are read by the vision-language model and followed as if user input.
- Attacker capability
- Black-box (query only)
- Target type
- Vision / multimodal
Prerequisites
- Vision-capable model performs OCR/scene reading
- Attacker supplies the image
Real incidents & sources
-
Adversarial-Image Jailbreak
techniqueAn optimized, near-imperceptible perturbation on an input image steers a vision-language model into producing disallowed text — adversarial examples meet jailbreaks.
- Attacker capability
- White-box (weights/logits)
- Target type
- Vision / multimodal
Prerequisites
- White-box or transferable access to the vision encoder
- Image input channel
Real incidents & sources
-
Denial of Wallet / Service
techniqueForcing maximally expensive generations or runaway agent loops to exhaust the victim's token budget, rate limits, or downstream costs.
- Attacker capability
- Black-box (query only)
- Target type
- Model API / endpoint, Tool-using agent
Prerequisites
- Access to a metered generation endpoint or agent
- Weak quotas / loop guards
Real incidents & sources
-
Insecure Output Handling (XSS/SQLi)
techniqueTreating LLM output as trusted and rendering/executing it leads to classic injection (stored XSS, SQLi, SSRF) when an attacker can shape that output via prompt injection.
- Attacker capability
- Black-box (query only)
- Target type
- Chatbot / assistant, Tool-using agent
Prerequisites
- App renders or executes model output without sanitization
- Attacker influence over the output
Real incidents & sources
-
Input Sanitization & Filtering
defenseDetecting and stripping injection markers, role tokens, and obfuscation in untrusted input before it reaches the model. A first-pass signal, not a complete control.
- Target type
- Chatbot / assistant, RAG pipeline, Tool-using agent
-
Prompt-Injection Classifier
defenseA dedicated model (e.g., a fine-tuned classifier or LLM judge) that scores inputs/retrieved content for injection intent and blocks or quarantines them.
- Target type
- Chatbot / assistant, RAG pipeline, Tool-using agent
-
Spotlighting / Data Marking
defenseDelimiting, encoding, or datamarking untrusted content so the model can distinguish trusted instructions from retrieved data, reducing indirect-injection success.
- Target type
- RAG pipeline, Tool-using agent
Real incidents & sources
-
Tool Allowlist & HITL
defenseConstraining which tools an agent may call, with argument schemas and human-in-the-loop confirmation for state-changing or sensitive actions.
- Target type
- Tool-using agent
-
Output PII/Secret Scrubbing
defenseScanning model output for secrets, PII, and disallowed content — and neutralizing exfiltration vectors like auto-rendered image/link URLs — before it reaches the user or a sink.
- Target type
- Chatbot / assistant, RAG pipeline, Tool-using agent
-
Adversarial Training / Robust Tuning
defenseTraining on adversarial and red-team examples to harden the model against evasion and jailbreaks. Raises the cost of attacks but is not a guarantee.
- Target type
- Vision / multimodal, Model API / endpoint, Chatbot / assistant
Real incidents & sources
-
Model Artifact Signing & Scanning
defenseProvenance, signing, safe serialization formats (safetensors), and scanning of models/datasets/packages before they enter the pipeline.
- Target type
- Model API / endpoint, Tool-using agent
No techniques match these filters.
How to read this
- Families (larger nodes) are root attack classes; techniques are concrete methods within them.
- chains into edges show how one technique typically enables another in a real kill chain — e.g. indirect prompt injection → tool-call injection → exfiltration via rendered content.
- defended by edges point to the control that most directly reduces a technique. Defenses are layered, not absolute.
- Filter by the capability an attacker needs (black-box query access vs. white-box gradients vs. a supply-chain position) or by what they are attacking (chatbot, RAG, agent, vision, raw API).
Building the defensive side? See the Guardrail Stack Builder on GuardML, and our Red Team Gym to practice these techniques hands-on.
Related tools in this network
Other interactive tools across the network that pair well with this one.