Red-team a generative-AI application

8 steps · about 2 h 28 min · Intermediate

  1. Place red-teaming inside risk management (article, Microsoft Learn, 18 min)

    Connect adversarial testing to concrete harms, accountability and continuing risk management.

  2. Define the system and testing context (article, UK Government, 20 min)

    Identify risk thresholds, actors, intended use and evidence before choosing attacks.

  3. Map common LLM application risks (article, OWASP Foundation, 18 min)

    Turn a recognised risk taxonomy into a coverage checklist for the exercise.

  4. Probe direct and indirect prompt injection (article, OWASP GenAI Security Project, 18 min)

    Test whether untrusted instructions can override system goals or cross trust boundaries.

  5. Build adversary-informed scenarios (article, MITRE ATLAS, 20 min)

    Use documented tactics and techniques to make abuse cases concrete and repeatable.

  6. Structure prompts, targets and scoring (article, Microsoft Learn, 18 min)

    See one practical workflow for generating attacks and evaluating responses at scale.

  7. Include content and misuse safety tests (article, Anthropic, 18 min)

    Broaden the test set beyond security exploits to harmful outputs and adaptive misuse pathways.

  8. Turn findings into durable controls (article, UK National Cyber Security Centre, 18 min)

    Prioritise fixes, retain evidence and add regression tests across the secure-development life cycle.