AI Sec
Free interactive tool · static

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.

variant of chains into defended by attack family / technique defense
  • Prompt Injection

    family

    Attacker-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
  • Direct Prompt Injection

    technique

    The 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

    technique

    The 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
  • RAG Knowledge-Base Poisoning

    technique

    Adversarial 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

    technique

    Coaxing 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
  • Jailbreak

    family

    Eliciting 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

    technique

    The 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)

    technique

    A 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

    technique

    Dozens 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
  • Encoding / Obfuscation Bypass

    technique

    The 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

    technique

    Greedy 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

    technique

    An 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

    family

    Inputs 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

    technique

    Test-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

    technique

    Adversarial 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

    technique

    A 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

    family

    Reconstructing 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

    technique

    Using 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

    technique

    Recovering 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

    technique

    Determining 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

    technique

    Prompting 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

    technique

    Reconstructing 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
  • Data Poisoning

    family

    Corrupting 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

    technique

    A 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

    technique

    Injecting 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

    family

    Compromising 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

    technique

    Arbitrary-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

    technique

    Exploiting 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
  • Model/Package Typosquatting

    technique

    Publishing 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

    family

    Turning 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
  • Tool-Call Injection

    technique

    Injected 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

    technique

    The 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
  • Agent Memory Poisoning

    technique

    Planting 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
  • Confused-Deputy Privilege Abuse

    technique

    An 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
  • Multimodal Injection

    family

    Carrying 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

    technique

    Instructions 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
  • Adversarial-Image Jailbreak

    technique

    An 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

    technique

    Forcing 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)

    technique

    Treating 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
  • Input Sanitization & Filtering

    defense

    Detecting 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

    defense

    A 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

    defense

    Delimiting, 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

    defense

    Constraining 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

    defense

    Scanning 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

    defense

    Training 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

    defense

    Provenance, signing, safe serialization formats (safetensors), and scanning of models/datasets/packages before they enter the pipeline.

    Target type
    Model API / endpoint, Tool-using agent

How to read this

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.