SkillHack

How to become an AI Red Team Specialist

Step by step and free: 12 phases, 85 topics and 270 graded practice questions.

Practise this roadmap free

What is an AI Red Team Specialist?

An AI red team specialist attacks AI models and applications, with written permission, to find how they can be made to cause harm before real adversaries do. They scope engagements, write test plans, craft jailbreaks and prompt injections, exploit agents and their tools, and probe models for leaked training data. They measure attack success honestly, rate severity and write findings that engineers can fix and executives can act on.

Who this roadmap is for

Penetration testers, application security engineers, trust and safety analysts and ML engineers who want to break AI systems systematically. You should understand basic web security and how a chat model is called through an API. It is not for anyone planning to test systems without authorisation, or who would rather build defences than find gaps.

What you will be able to do

You will be able to scope and authorise an engagement, threat-model an AI system, run jailbreak, prompt injection and agent exploitation tests, attack models and training data, build automated attack harnesses with scorers, report attack success rates honestly, write and rate findings, handle coordinated disclosure and stay within the legal limits of testing.

The AI Red Team Specialist roadmap

AI Red Team Specialist

  1. Phase 1 Foundations of AI red teaming

  2. Phase 2 How models and guardrails work, for attackers

  3. Phase 3 Planning an engagement

  4. Phase 4 Jailbreaks and harmful-content testing

  5. Phase 5 Prompt injection

  6. Phase 6 Agent and tool exploitation

  7. Phase 7 Model and data attacks

  8. Phase 8 Automation and tooling

  9. Phase 9 Measuring attack success

  10. Phase 10 Methodology, reporting and disclosure

  11. Phase 11 Frontier and high-stakes red teaming

  12. Phase 12 Law, ethics and the profession

All topics, in order

Mark each topic Learning, Done or Skip, and sign in to save your place to your account. Done is your own word, not passing: a topic is passed when you score 50 or more on its questions. This order is the study plan.

  1. Phase 1 · Foundations of AI red teaming

    1. What an AI red team specialist does

      An AI red team specialist attacks models and AI products they are authorised to test, so the owners see how the system fails before a real adversary or an unlucky user does. The output is evidence: reproducible findings rated by impact, with enough detail to fix them. You sit between security testing and safety evaluation, and you are judged on findings that change a decision, not on how many clever prompts you tried.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    2. Red teaming, penetration tests and evals

      A penetration test checks a defined system against known vulnerability classes; an eval measures one behaviour the same way every time; a red team searches open-endedly for ways a motivated adversary could make the system fail. AI red teaming borrows from all three, because model failures are probabilistic and new failure classes keep appearing. Rule of thumb: red team to discover, then turn each discovery into an eval so it stays measured.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    3. The adversarial mindset

      The adversarial mindset changes the question from does it work to how could someone make it fail. Start from an attacker's goal (steal data, trigger an action, get harmful output, deny service) and work backwards to the inputs and permissions that could reach it, including the ones the designers think of as trusted. Write the result as abuse cases beside the use cases, because a goal written down gets tested and a vague worry does not.

      Reading

      Test yourself on this topic

      4 graded questions · scored out of 100 with feedback · free

      Start the 4 questions
    4. Security findings and safety findings

      Red team findings come in two families. Security findings break a guarantee of the system: another user's data leaks, an outsider triggers a tool, a secret is exposed. Safety findings make the model produce content or behaviour the provider's policy forbids, often inside the attacker's own session. They are judged against different oracles (an access rule versus a content policy), owned by different teams and rated on different scales, so label the family before you rate the severity.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    5. Mapping the AI attack surface

      The attack surface of an AI system is every place attacker-influenced data can enter or leave: the user turn, retrieved documents, web pages, email, tool results, memory and uploads, and on the way out the renderer, links and any tool that acts. Retrieval and tools are the big additions over a plain chatbot, because they let text written by an outsider reach the model's context. Map who can write to each channel, then what the model can do after reading it.

      Test yourself on this topic

      4 graded questions · scored out of 100 with feedback · free

      Start the 4 questions
    6. Threat modelling an AI system

      Threat modelling decides where an engagement spends its time. Name the assets (user data, credentials, actions with side effects, the model itself, the provider's reputation), the trust boundaries an attacker must cross and the attackers who would bother. Rank the scenarios by impact and plausibility and test the top of the list first; a threat model written after testing only explains what you happened to find.

      Test yourself on this topic

      4 graded questions · scored out of 100 with feedback · free

      Start the 4 questions
    7. Adversaries, from curious users to skilled attackers

      Write down who you are pretending to be. A curious user poking at limits, a motivated abuser with time but no special skill, a skilled attacker who chains bugs, an insider with legitimate access and a well-resourced group each try different things. Microsoft's lessons from over 100 products stress that real attackers rarely compute gradients, because simple tricks usually work, so cover the low-skill personas thoroughly before spending a week on attacks only a lab would run.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions

    Chapter 1 lab

    Write the instruction for an assistant that reviews a test plan before testing starts

    A prompt lab that closes the chapter: you write the instruction, and it is graded on a rubric.

    Start the lab
  2. Phase 2 · How models and guardrails work, for attackers

    1. Anatomy of an LLM application

      Before attacking, sketch the pipeline: developer instructions, a chat template that turns messages into tokens, context assembly that adds retrieved text, memory and tool results, sampling settings, the tools the model may call, and filters before and after the model. Each stage fails in its own way: untrusted text placed above the user turn, a tool result read as an instruction, a filter that only sees the first message. Find the seams, then test them one at a time.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    2. Tokens, encodings and filter gaps

      Models read tokens, not characters, and the filter in front of them often reads something else again. Unusual spellings, lookalike Unicode, invisible characters, spacing and encodings can change how text splits into tokens, so a keyword filter or classifier misses what the model still understands. When a filter and a model disagree about what an input says, that gap is the finding; show it with the target's own tokenizer so the owner can see why it worked.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    3. Chat templates, roles and the instruction hierarchy

      A chat template wraps each message in role markers so the model can tell system, user, assistant and tool text apart. Those markers are a habit the model learned, not an access control: text that imitates a role boundary, or tool output that reads like a system message, may be given more authority than it deserves. Instruction hierarchy training makes models prefer privileged instructions, and later research finds the preference is unreliable, so test it rather than assume it.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    4. How safety training works and where it generalises poorly

      Safety training (supervised refusals, preference tuning such as RLHF, and rule-guided methods such as Constitutional AI) teaches a model to decline harmful requests, but mostly near the examples it saw. Wei and colleagues trace most jailbreaks to two roots: competing objectives, where helpfulness or instruction following outweighs refusal, and mismatched generalisation, where capability reaches inputs such as other languages or encodings that safety data never covered. Aim tests at each root.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    5. The defence stack you are testing

      A production system rarely relies on the model alone. Expect input classifiers for injection and jailbreaks, the system prompt, the model's own refusals, output classifiers and moderation, rate limits and offline abuse monitoring. Test each layer directly where you can, then the whole stack end to end: a bypass of one layer is a weaker finding than a bypass of all of them, and layers often fail together on the same unusual input.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    6. Black-box, grey-box and white-box access

      Your access shapes the attacks you can run. Black-box access (send text, read text) supports most product testing. Grey-box access adds log probabilities, the system prompt or architecture details, which make search attacks far cheaper. White-box access to weights allows gradient attacks and inspecting internals. Record the access level in every finding; a white-box result matters most when it transfers to the black-box product a real attacker sees.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
  3. Phase 3 · Planning an engagement

    1. Kinds of engagement

      Engagements come in a few shapes. Pre-release model testing probes a new model before launch, often with outside domain experts. Product red teaming attacks one application with its own prompts, tools and data. Continuous programmes rerun attack suites on every change. Bug bounties invite outsiders under published rules. Pick the shape from the decision the owner faces: a launch call needs breadth fast, a mature product needs depth on its riskiest feature.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    2. Scoping an engagement

      Scope turns an open-ended hunt into work that can finish. Write down the exact target (model version, app build, endpoints), the harms and surfaces in scope, what is out (third-party services, real user data, other tenants), the access you will have and the question the owner needs answered, such as can an outsider make the agent send email. If you hit something outside scope, report it, but stop and ask before testing further.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    3. Rules of engagement and written authorisation

      Rules of engagement are the written permission and limits for a test: who authorised it, which accounts and environments you may use, request rates and hours, actions you must never take (real payments, mail to real people, touching other users' data), how sensitive output is stored, and when to stop and escalate, for example on finding a live data leak. Get them signed before the first prompt; they protect you, the owner and the users.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    4. The test plan: harms, techniques and surfaces

      A test plan crosses three lists: the harms or security outcomes in scope, the attack techniques you will try and the surfaces each can reach. Every cell that makes sense becomes a test case with a priority taken from the threat model and a named owner. The matrix shows coverage at a glance, stops the whole team trying the same favourite jailbreak, and gives the report an honest line on what was not tested.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    5. Who is on the red team

      Who tests decides what gets found. Security testers find injection chains and data leaks; domain experts such as a clinician, a chemist or a lawyer judge whether an output is genuinely dangerous or wrong; testers from other cultures and languages find failures a monolingual team misses. Labs bring outside experts into pre-release testing for exactly this reason. Pair each expert with an experienced red teamer so their judgement is captured as reproducible findings.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    6. Test environments, accounts and data

      Test against a build that matches production: the same model version, system prompt, tools, filters and limits. Otherwise your bypass may not exist in the real product, and the real one may have bypasses yours lacks. Use dedicated test accounts and synthetic data, plant canary secrets and records so any leak is unmistakable and harmless, and point tools with side effects at sinks you control. Record the configuration with every result.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    7. Harmful content, tester wellbeing and hard lines

      Harmful-content testing means reading disturbing material for hours. Set exposure limits, rotate topics, make stepping away easy and offer real support. Keep harmful outputs only where the engagement needs them, under restricted access. Some lines are never crossed: nobody tries to generate child sexual abuse material, and if a model produces anything like it you stop and follow your organisation's legal reporting procedure.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
  4. Phase 4 · Jailbreaks and harmful-content testing

    1. Jailbreaks: what they are and why they work

      A jailbreak gets a model to produce output its safety training should refuse, usually by changing the framing rather than the request: a story, a persona, an encoding, a long build-up. Jailbreaks work because refusal is learned behaviour that generalises unevenly. A finding worth reporting names the policy category, shows the output is genuinely harmful rather than merely not refused, reproduces at a stated rate and records the exact model version and settings.

      Test yourself on this topic

      4 graded questions · scored out of 100 with feedback · free

      Start the 4 questions
    2. Testing against a content policy

      Harmful-content testing is only as good as its oracle, which is the provider's written content policy or model specification. Map each harm category (violence, self-harm, hate, sexual content, weapons, privacy, misinformation) to concrete examples of allowed, borderline and forbidden output, agreed with the policy owner before testing starts. Without that, two testers rate the same response differently and the report becomes an argument about taste.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    3. Role-play, personas and fictional framing

      Role-play attacks wrap a forbidden request in fiction, a character without rules, a hypothetical or a claimed professional need, betting that the model weighs the frame above the content. They are the commonest jailbreaks in the wild and the first family to test. The finding is not that the model played along but that the output holds genuinely harmful, usable content; a villain's speech that stays vague is usually not a violation.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    4. Encodings, ciphers and low-resource languages

      Safety training is concentrated in common languages and plain text, while capability reaches further. Requests translated into low-resource languages, written in a cipher or encoding, or drawn as text art can slip past refusals and filters that only read the surface. Test the languages your users actually speak and the formats your product accepts, and report the gap per language or encoding, since the fix is usually more safety data there rather than a blocklist.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    5. Multi-turn escalation

      Multi-turn attacks never ask for the harmful thing outright. They open with benign questions, build context and point back to the model's own earlier answers until the final request looks like a small next step. Models and filters that judge one message at a time miss this. Test conversations, not single prompts, keep the full transcript, and note the turn where a defence should have stepped in, because that is where the fix belongs.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    6. Many-shot and long-context attacks

      Many-shot jailbreaking fills a long context with faked dialogue in which an assistant complies with harmful requests, then asks the real question. Anthropic found the effect grows with the number of examples, so longer context windows widened the attack surface. The lesson generalises: any long, attacker-controlled context, such as a pasted document, a chat history or retrieved pages, can shift behaviour. Test at the context lengths the product allows, not only short prompts.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    7. Decomposition: splitting a harmful task

      Decomposition splits a task the model would refuse into sub-questions that each look harmless, then assembles the answers outside the model. The pieces can be spread across turns, sessions, accounts or even different models, so a defence that reads one message never sees the whole. Research shows that combining individually safe models can enable misuse neither allows alone. Test whether monitoring looks across a session or account, and rate the assembled result, not each piece.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    8. Optimisation attacks: adversarial suffixes and transfer

      Optimisation attacks search automatically for an input that makes a model comply, for example a token string appended to a request, found with gradients on an open model (the GCG method) or with query feedback on a closed one. The strings often look like noise and can transfer to other models. In a report, give the method, the search budget, the success rate and whether it transferred, and expect perplexity or classifier filters to be part of the fix.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    9. Probing for bias and representational harm

      Bias testing looks for stereotyping, demeaning content, erasure and unequal quality of service across groups. The core technique is the counterfactual pair: the same request with one attribute changed (a name, a pronoun, a dialect), sampled many times, comparing the outputs. Use realistic tasks from the product, such as screening a CV or summarising a complaint, because harm in a deployed feature matters more than a model's answer to a quiz.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
  5. Phase 5 · Prompt injection

    1. Direct prompt injection

      Direct prompt injection is the user typing instructions that override the developer's, such as telling the model to drop its rules or act as another system. It works because the model receives instructions and data in one stream with no hard boundary between them. Rate it by what the override reaches: changing a chatbot's tone is a deviation, while making it call a tool, reveal another user's data or skip an approval is a finding.

      Test yourself on this topic

      4 graded questions · scored out of 100 with feedback · free

      Start the 4 questions
    2. System prompt extraction and what a leak is worth

      System prompt extraction gets a model to repeat its hidden instructions, by asking outright, asking for a translation or summary, or getting it to continue the text. Assume any system prompt can leak, so the leak alone is usually low severity. What raises it is the content: credentials, internal URLs, another customer's data, or business rules that tell an attacker how to get past the next check. Report the contents that matter, not the trick.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    3. Indirect prompt injection

      Indirect prompt injection plants instructions in content the system reads later: a web page, an email, a shared document, a ticket, a code comment, a product review. The attacker never talks to the model; the victim's own request pulls the text into context. It is the defining attack on retrieval and agents, and its severity follows what the model can do after reading, so trace every path from attacker-writable content to a tool with side effects.

      Test yourself on this topic

      4 graded questions · scored out of 100 with feedback · free

      Start the 4 questions
    4. Proving injection safely with canary payloads

      Prove injection without causing harm by making the payload's effect benign and unmistakable: the model prints a unique codeword, calls a harmless tool you control, or requests a URL on a server you own that logs the hit. A canary shows the attacker controlled the model as clearly as a damaging action would, and it is safe to leave in a test corpus. Never plant a payload that would do real damage if a real user triggered it.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    5. Getting attacker content into retrieval

      An indirect injection only matters if it reaches the context, so test that step on its own: which sources an outsider can write to (public pages, shared folders, inbound email, reviews), whether planted text gets indexed, and whether it ranks in the top results for the queries real users ask. PoisonedRAG showed a handful of crafted passages can dominate retrieval for a target question, so measure rank, not just presence in the index.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    6. Injection through images, audio and documents

      Multimodal models take instructions from any channel they understand: text inside an image, faint or tiny text a person would miss, document metadata, speaker notes, alt text and speech in audio. Some attacks perturb pixels or sound directly. Test every input type the product accepts, including files converted to text before the model sees them, because the converter can surface text no human reviewer ever saw.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    7. From model output to classic exploits

      When model output flows into a browser, a database, a shell or another service, the model becomes a way to deliver classic attacks one step removed. Get the model to emit script into a page, a query fragment, a command or a crafted link, then check whether the downstream code escapes it. Rate these like the classic bug they enable, such as cross-site scripting or command injection, which often makes them the most severe findings in a report.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    8. Adaptive attacks against injection defences

      A defence tested only against a fixed list of known attacks has not really been tested. Assume the attacker knows the defence and tunes against it with search, gradients or human creativity. In a 2025 study, researchers from several labs bypassed 12 recent jailbreak and injection defences, most at over 90 percent success, though most had reported near zero. When you assess a classifier, delimiter scheme or hierarchy training, report results for attacks built to beat that defence.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions

    Chapter 5 lab

    Write the instruction for a knowledge-base injection-exposure audit

    A prompt lab that closes the chapter: you write the instruction, and it is graded on a rubric.

    Start the lab
  6. Phase 6 · Agent and tool exploitation

    1. Reconnaissance on an agent

      Start an agent engagement by learning what it can do. Ask it, read its documentation and tool schemas, watch which tools it calls on ordinary tasks, and note what each tool can read and change, which credentials it runs with, what it remembers and which outside content it ingests. The result is a capability map: the actions an attacker would want and the inputs that might reach them, which tells you where injection is worth trying.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    2. Excessive agency and confused deputies

      Excessive agency is an agent holding more authority than its task needs: tools it never uses, write access where read would do, a credential that covers every customer. Add injection and it becomes a confused deputy, the agent spending its own privileges for an attacker who has none. Ask what the most damaging action available is and whether any untrusted input can steer the agent to it, then rate the finding by that action, not by the trick.

      Test yourself on this topic

      4 graded questions · scored out of 100 with feedback · free

      Start the 4 questions
    3. Attacking tool and MCP metadata

      Agents read tool names, descriptions and schemas as instructions, so whoever writes that metadata can steer them. Test whether a malicious MCP server or plugin can hide instructions in a tool description, change a definition after the user approved it, shadow a trusted tool with a lookalike, or return results that redirect the agent. The finding is usually a gap in the client: what it shows the user, what it pins and what it checks again.

      Reading

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    4. Attack chains: from one planted sentence to impact

      Severe agent findings are chains: attacker-written content is read, the model follows it, a tool with real power acts, and data or an action crosses the trust boundary. Each link alone may look minor. Build and report the chain end to end, with the entry point, evidence for each step and the final impact, and name the single control that would break it. The lethal trifecta (private data, untrusted content, a way out) is the pattern to hunt for.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    5. Data exfiltration channels

      Exfiltration is how a successful injection becomes a data breach. A channel is any way output can reach an attacker: a markdown image or link whose URL carries data and is fetched automatically, a tool that sends mail or posts to the web, a file shared publicly, even a DNS lookup from a sandbox. Test each channel with canary data, note which need a click and which are zero-click, and report the cheapest one left open.

      Test yourself on this topic

      4 graded questions · scored out of 100 with feedback · free

      Start the 4 questions
    6. Testing sandbox escape

      When an agent runs code, the sandbox is the boundary that matters, so test it like any container. Can generated code read environment variables, mounted secrets or a cloud metadata endpoint, reach the network or internal services, write outside its workspace, persist between sessions or see another user's files? A real escape is high severity. Behaviour the sandbox contained, such as a blocked network call, is evidence the boundary held and belongs in the report too.

      Test yourself on this topic

      4 graded questions · scored out of 100 with feedback · free

      Start the 4 questions
    7. Poisoning agent memory

      Long-term memory turns one injection into a lasting one. If an attacker can get an agent to store a false fact or a standing instruction, through a chat, a document it reads or a shared memory store, every later session inherits it, possibly for other users. Test whether untrusted content can write to memory, whether stored entries are visible and editable by the user, and whether the poisoned entry survives into a fresh conversation.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    8. Attacks across multi-agent systems

      In a multi-agent system one agent's output is another's input, so an injection in the first can travel through handoffs, and research shows it can spread from agent to agent like an infection. Agents often trust peers more than users. Test whether an attacker-facing agent can instruct a more privileged one, whether handoff messages carry their provenance, and whether one poisoned result lands in shared state that every agent reads.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    9. Attacking browser and computer-use agents

      Browser and computer-use agents read the screen, so any page, pop-up, notification or document on it can carry instructions. Attacks include hidden text on a site, fake dialogs asking the agent to click, and forms that harvest what the agent types. Test on pages you control, with a test profile holding canary credentials, and check whether the agent stops for confirmation before sensitive steps such as purchases, sign-ins or sending data.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions

    Chapter 6 lab

    Write the instruction for a least-privilege review of an agent

    A prompt lab that closes the chapter: you write the instruction, and it is graded on a rubric.

    Start the lab
  7. Phase 7 · Model and data attacks

    1. Evasion attacks on classifiers and filters

      Evasion attacks change an input slightly so a model misclassifies it while a person sees no difference: the adversarial examples studied by Goodfellow and by Madry. They matter wherever a classifier makes a security decision, from malware and fraud detection to content moderation and the injection and jailbreak classifiers guarding an LLM. Test those guards directly with perturbed and obfuscated inputs, and report the bypass rate with the perturbation budget used.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    2. Training data extraction and membership inference

      Models memorise some of their training data. Extraction prompts a model to reproduce records verbatim, for example by supplying a known prefix or pushing it off its usual distribution; researchers recovered large amounts of training data from production chat models this way. Membership inference decides whether a given record was in the training set. Both are privacy findings when the data was sensitive, and extracted text must be matched to a source before you call it memorised.

      Test yourself on this topic

      4 graded questions · scored out of 100 with feedback · free

      Start the 4 questions
    3. Model inversion

      Model inversion reconstructs representative inputs from a model's outputs, for example an average face for a name from a face recogniser's confidence scores. The richer the output (full probability vectors, embeddings, detailed scores), the more an attacker learns per query. A reconstruction shows what a class looks like to the model, not necessarily a real person's record, so state precisely what was recovered and point to coarser outputs as the fix.

      Test yourself on this topic

      4 graded questions · scored out of 100 with feedback · free

      Start the 4 questions
    4. Model extraction and stealing

      Model extraction copies a model through its API, either by training a cheaper model on its outputs (distillation) or by recovering real parameters, as one study did for the final layer of production language models using exposed log probabilities. The asset is the provider's investment, plus safety work a copy would not carry. A finding states the query count and cost, the fidelity reached and which API features, such as logprobs or logit bias, made it cheaper.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    5. Data poisoning and backdoors

      Data poisoning tampers with what a model learns from: pretraining scrapes, fine-tuning sets, human feedback or a retrieval corpus. A backdoor is poisoning that stays quiet until a trigger appears. Work by Anthropic and the UK AI Security Institute found a near-constant number of poisoned documents could plant a backdoor whatever the model's size, and buying expired domains was shown to poison web-scale datasets. Test the pipeline's write points and whether triggered behaviour can be detected.

      Test yourself on this topic

      4 graded questions · scored out of 100 with feedback · free

      Start the 4 questions
    6. Fine-tuning attacks on safety

      Where a provider lets customers fine-tune a model, the fine-tuning API is an attack surface. Research showed that a small set of harmful examples, or even benign data, can erode safety training, and that refusal can be removed with small weight changes. Test whether the provider screens training data, whether the tuned model is re-evaluated before it serves traffic, and how far refusal rates fall on a held-out harm set after a small, cheap tune.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    7. Red teaming open-weight models

      Once weights are public, an attacker can do anything a researcher can: run gradient attacks, fine-tune refusals away, or remove the single direction in activation space that mediates refusal. Red teaming an open-weight release therefore asks how much effort stripping the safeguards takes and what capability the stripped model then offers, not whether one prompt jailbreaks it. Tamper-resistance methods exist, but test them against determined fine-tuning.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    8. Denial of service and cost attacks

      Some attacks target availability and cost rather than content. Inputs that maximise output length, trigger long reasoning, loop an agent through tool calls or force expensive retrieval can slow a service or run up a bill, sometimes for other tenants too. Test the limits on tokens, steps, recursion and spend per request and per account, and report the cost one attacker can impose per unit of their own effort.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions

    Chapter 7 lab

    Write the instruction for designing a safe backdoor test

    A prompt lab that closes the chapter: you write the instruction, and it is graded on a rubric.

    Start the lab
  8. Phase 8 · Automation and tooling

    1. Automated red teaming: what scale buys

      Automated red teaming generates and mutates attacks at a volume no human team can match, scores every response and feeds failures back into new attempts. It finds regressions and long-tail variants cheaply, but only as well as its success detector: a scorer that flags benign answers buries the real hits, and one that misses subtle harm reports a clean bill. Use automation for breadth and regression; keep people for new attack ideas and judgement.

      Test yourself on this topic

      4 graded questions · scored out of 100 with feedback · free

      Start the 4 questions
    2. Anatomy of an attack harness

      An attack harness has parts worth keeping separate: targets (the endpoint or app with its settings), seed datasets of objectives, converters that transform prompts (translation, encoding, paraphrase), attack strategies that run single or multi-turn sequences, scorers that judge replies, and a store that logs every attempt. PyRIT is built this way. Keeping the parts apart lets you swap one target or scorer and rerun the same campaign unchanged.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    3. Open-source red team tools

      A few open-source tools cover most automated work. PyRIT, from Microsoft, is a framework for scripting multi-turn campaigns. garak, from NVIDIA, scans a model with families of probes and reports which detectors fired. promptfoo generates application-specific attacks from plugins and strategies and runs in CI. Inspect, from the UK AI Security Institute, is an evaluation framework used for agentic and dangerous-capability tasks. Choose by target and workflow.

      Reading

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    4. Scorers and success detectors

      A scorer decides whether each attempt succeeded, and every number you report rests on it. Rule scorers (a canary string appeared, a tool was called) are exact where they apply. Classifier and judge-model scorers handle harmful content but err in both directions. Before trusting one, label a sample of its decisions by hand and measure precision and recall on your target; StrongREJECT showed naive scorers overcount jailbreaks whose output is useless.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    5. Diversity and coverage of generated attacks

      Generated attacks collapse easily: a generator finds one trick and makes a thousand near-copies, so the success count looks large while coverage stays tiny. Track diversity explicitly, by harm category, technique and style, and deduplicate before counting. Quality-diversity methods such as Rainbow Teaming search for attacks that are both effective and different from each other across a grid of features, which also makes the uncovered cells visible.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    6. Agent attack test beds

      Agents are tested in environments with real tools, data and tasks, where attacks are planted in content the agent will read. A good test bed scores two things together: did the injected goal happen, and did the user's real task still succeed, because a defence that breaks the task is not a fix. AgentDojo, InjecAgent and WASP are public examples; build your own on the same pattern with the product's tools and canary data.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    7. Continuous red teaming and regression suites

      A finding fixed once can come back with the next model, prompt or tool change. Turn every confirmed finding and its variants into an automated test, run the suite on every release candidate and track the success rate over time. Rotate in new attacks from fresh engagements and published research, retire tests that no longer tell you anything, and alert on a rise in success rate rather than on a single failure.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
  9. Phase 9 · Measuring attack success

    1. What counts as a successful attack

      Decide in writing, per objective and before testing, what counts as success. For safety findings, success means the output would actually breach the policy and help someone do harm, not merely that the model did not refuse. For security findings it means the unauthorised effect happened, shown by a canary, a log line or a changed record. Vague criteria inflate results, because partial, wrong or harmless answers get counted as wins.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    2. Attack success rate, reported honestly

      Attack success rate is successes over attempts, and everything depends on what those are. The per-attempt rate and the per-objective rate (did any attempt succeed for this goal) can differ tenfold. State the denominator, the objective set, the scorer and its measured error, attempts per objective, and the model version and settings. Give a confidence interval too: twelve successes in forty attempts is not a precise 30 percent.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    3. Nondeterminism and repeated trials

      The same prompt can succeed on one run and fail on the next, because sampling is random and serving details change. One success is an anecdote, and one failure proves nothing about safety either. Run each test case several times at the product's real settings, report the observed rate, and keep full transcripts so a reader can see exactly what happened. A rare but repeatable success still counts when an attacker can simply retry.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    4. The attacker's budget and best-of-N

      Given enough tries, almost any defence leaks a little. Best-of-N jailbreaking resampled simple random variations of a request, such as shuffled letters or odd capitals, and success climbed steadily with the number of attempts, following a power law. So a success rate means nothing without the budget behind it. Compare defences at equal attacker effort, report success against attempts, and count rate limits and account bans as part of the defence.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    5. Public jailbreak benchmarks and their limits

      Public benchmarks such as HarmBench and JailbreakBench give a shared set of harmful behaviours and a standard scorer, so results compare across models and papers. They are a floor, not a verdict: fixed sets go stale as models are trained against them, can leak into training data, and say nothing about your product's own tools, data and users. Run them for comparability, then spend most of the effort on attacks specific to the target.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    6. Retesting a fix without breaking benign use

      Retest a fix with variants, not the original string: paraphrases, other languages, other turns and the attack families the fix was meant to cover, because patches often block only the exact wording reported. Then check the other side. A guardrail that now refuses benign requests on the same topic has traded one failure for another, so rerun an over-refusal set such as XSTest or OR-Bench alongside the attack suite.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
  10. Phase 10 · Methodology, reporting and disclosure

    1. Running the engagement: logs and evidence

      Run the engagement as evidence collection. Work from the test plan, stay inside scope, and log every attempt: time, tester, target build, settings, the full input and output, the scorer's verdict and your own. Record failures as carefully as successes, since they show what held. Good logs make a finding reproducible, let a teammate pick up your thread, and show the testing was authorised and careful if anyone asks later.

      Test yourself on this topic

      4 graded questions · scored out of 100 with feedback · free

      Start the 4 questions
    2. Anatomy of a finding

      A finding that gets fixed has a set shape: a title saying what an attacker can do, the impact and who is affected, preconditions (access, settings, user action), minimal reproduction steps, evidence such as transcripts and logs, the success rate over trials, affected versions, a mapping to a shared framework such as OWASP or MITRE ATLAS, and a recommended fix. If an engineer cannot reproduce it from the write-up alone, it is not finished.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    3. Rating severity

      Severity combines impact (what an attacker gains, whose data, which actions), reach (one session or every user), the interaction needed (zero-click, or a victim who must do something) and reliability. CVSS gives a familiar vocabulary for security findings; AI-specific scales such as Microsoft's AI bug bar and OWASP's AIVSS add factors like autonomy. Content-only findings are usually rated against the provider's harm policy instead, so name the scale you used.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    4. Recommending fixes that hold

      Recommend fixes at the level where the weakness lives. A blocklist for the exact string you used is a patch, not a fix; scoping a tool's credential, closing an exfiltration channel, rendering output safely or requiring approval for a risky action closes a whole class of attacks. Rank recommendations by the risk they remove for their cost, and say plainly what each will not stop, so nobody mistakes a mitigation for a guarantee.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    5. Writing for executives and engineers

      A red team report has two readers. Executives need a page: what was tested, the few findings that matter, the business risk in plain words and the decisions required, such as delay the launch or accept a named risk. Engineers need the appendix: every finding with reproduction steps, evidence and fixes. Lead with outcomes rather than technique, rate consistently, and list what was out of scope so nobody reads silence as safety.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    6. Handling dangerous artefacts in reports

      Reports often hold working attack material: a jailbreak that still works, harmful outputs, exfiltration steps. Keep it in a restricted appendix or evidence store with named readers, and give the wider report redacted examples that show the class of attack without being reusable. Never paste live attacks into tickets, chat channels or widely shared documents, and set a retention date, because a leaked red team report is a ready-made attack kit.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    7. Coordinated disclosure

      When you find a serious flaw in a system you do not own, report it privately through the owner's disclosure channel, with enough detail to reproduce, and agree a window to fix it before any public discussion. Do not use the flaw to reach other people's data, and stop testing once you have proved it. Publish only after a fix or the agreed deadline, and leave out working details that would help copycats.

      Test yourself on this topic

      4 graded questions · scored out of 100 with feedback · free

      Start the 4 questions
    8. AI bug bounties and disclosure programmes

      AI vendors run bounty and disclosure programmes whose scope differs from classic bug bounties. Many reward security impact (data crossing between users, unauthorised actions, model theft) and send content issues such as a single jailbreak to in-product feedback instead, while some labs run separate bounties for universal jailbreaks of specific safeguards. Read the scope before testing, because out-of-scope work may fall outside the programme's safe harbour.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions

    Chapter 10 lab

    Write the instruction for drafting a private disclosure report

    A prompt lab that closes the chapter: you write the instruction, and it is graded on a rubric.

    Start the lab
  11. Phase 11 · Frontier and high-stakes red teaming

    1. Dangerous capability testing

      Frontier labs test new models for capabilities that could enable serious harm, commonly biological and chemical weapons, offensive cyber operations and autonomous behaviour. It is expert work: domain specialists probe whether the model supplies the hard, rate-limiting steps rather than facts already in textbooks. Test sets and transcripts are hazardous in themselves, so they stay controlled, and results go to the people making release decisions rather than into public detail.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    2. Uplift studies

      An uplift study measures how much a model helps compared with what a person could already do. Participants with and without model access attempt the same realistic task, usually with internet access as the baseline, and experts grade how far each got. The difference, not the model's raw knowledge, is the risk signal. Design decides whether the result means anything: participant skill, task realism and grading blind to which group did the work.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    3. Testing offensive cyber capability

      Cyber capability is tested with tasks whose success is unambiguous: capture-the-flag challenges, vulnerable ranges and realistic exploitation exercises, attempted by an agent with tools inside an isolated environment. Benchmarks such as Cybench and NYU CTF Bench give graded tasks of known difficulty. Report the scaffold and tools used, since a better harness can raise success sharply, and keep the environment cut off from any real network.

      Reading

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    4. Stress-testing safeguards for universal jailbreaks

      When a lab deploys classifiers or monitors to block a whole harm area, the red team's target is a universal jailbreak: one approach that gets detailed harmful answers across many questions in that area, not one lucky reply. Anthropic tested its Constitutional Classifiers with thousands of hours of bounty red teaming against exactly that goal. Report the effort a universal bypass took, and the false refusals the safeguard costs legitimate users.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    5. Findings and release decisions

      Frontier safety frameworks, such as Anthropic's Responsible Scaling Policy, OpenAI's Preparedness Framework and Google DeepMind's Frontier Safety Framework, tie release decisions to capability thresholds and required safeguards. Red team evidence feeds both questions: does the model cross a threshold, and do the safeguards hold against a capable attacker. Write findings so a decision maker can see which threshold or safeguard each one bears on and how strong the evidence is.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
  12. Phase 12 · Law, ethics and the profession

    1. Testing models you do not own

      Independent researchers testing a model they do not own are bound by its terms of service, which often forbid jailbreaking or automated probing, and risk losing their account or facing legal threats. Some providers offer research access programmes or safe harbour for good-faith testing, and researchers have called for broader commitments. Before testing, read the provider's policy, use any research channel it offers, and keep evidence that you acted in good faith.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    2. Where regulation asks for adversarial testing

      Regulators increasingly expect adversarial testing. Under the EU AI Act, providers of general-purpose models with systemic risk must conduct and document adversarial testing (Article 55), a duty that has applied since 2 August 2025, and the Commission's Code of Practice describes how to meet it. NIST's Generative AI Profile lists red teaming among its suggested actions. For a red team, this means results must be documented well enough to stand as evidence to an auditor.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    3. Publishing research without arming attackers

      Red team research is dual use: a paper that teaches defenders about an attack class teaches attackers too. Describe the class, the conditions and the evidence, and withhold the reusable parts (exact working strings, optimised suffixes, step-by-step harmful output) while no defence exists. Give affected vendors time to fix before publishing, as the many-shot jailbreaking authors did with other labs, and ask whether the defensive value outweighs the help to attackers.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions

Practise the AI Red Team Specialist roadmap

270 questions, each graded on the server out of 100. Free · no card.

All career paths