Red-team a generative-AI application
8 steps · about 2 h 28 min · Intermediate
- Place red-teaming inside risk management (article, Microsoft Learn, 18 min)
Connect adversarial testing to concrete harms, accountability and continuing risk management.
- Define the system and testing context (article, UK Government, 20 min)
Identify risk thresholds, actors, intended use and evidence before choosing attacks.
- Map common LLM application risks (article, OWASP Foundation, 18 min)
Turn a recognised risk taxonomy into a coverage checklist for the exercise.
- 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.
- Build adversary-informed scenarios (article, MITRE ATLAS, 20 min)
Use documented tactics and techniques to make abuse cases concrete and repeatable.
- Structure prompts, targets and scoring (article, Microsoft Learn, 18 min)
See one practical workflow for generating attacks and evaluating responses at scale.
- Include content and misuse safety tests (article, Anthropic, 18 min)
Broaden the test set beyond security exploits to harmful outputs and adaptive misuse pathways.
- 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.