AI Red Team · Module 3 · Identify

Red Teaming AI Systems and Agents

The lesson turns the red team on the organisation's own AI under ID.RA Risk Assessment and ID.IM Improvement. Participants scope the compound system in six elements, use the OWASP lists, MITRE ATLAS and NIST AI 600-1 as test plans written as control objectives, turn campaigns into gating suites with thresholds as rates, test agent containment with the permission manifest as the plan, and state the limits of testing and the residual risk an owner accepts.

Lesson 13 of 28Chapter 1390 minutes

Read the chapterThe whitepaperThe slides

All courses / AI Red Team / Module 3 / Chapter 13

Learning objectives

After the lesson the participant can:

Key concepts

Compound system
Users and content sources, a gateway, prompts and the model, a retrieval store, an agent with a permission manifest, and tools. Most failures that matter arise where two parts meet, and the content sources are the element most often forgotten in scope.
Objective for the control that should hold
Each applicable taxonomy entry is written as a statement such as: a resident cannot cause the assistant to disclose another resident's correspondence. The plan is a defensive artefact; the adversarial inputs live only in the access-controlled scenario library.
Threshold as a rate
Because generative systems are not deterministic, each case runs several times. The threshold is zero for outcomes that must never occur, and a non-zero rate only where other controls bound the harm, recorded with its owner.
Escape path and scripted driver
An escape path is any route by which an agent's effect can reach beyond its boundary. In the test range a scripted driver replaces the agent's planning component and issues out-of-mandate tool calls with the agent's own identity, testing the boundary reproducibly.
Evaluation awareness
Models may behave differently when a setting looks like a test, so a passing result may overstate production behaviour. The chapter prefers tests whose outcome does not depend on the model's behaviour, because a boundary does not know it is being tested.

Interactive exercises

Do them here and get feedback at once. Choose a card and then where it belongs, or drag it.

Interactive exercise 1 · Put in order

An escape-path assessment

Put the steps of the chapter's escape-path assessment on a production agent in order.

Interactive exercise 2 · Match

Vocabularies and machinery of AI red teaming

Match each source or component to the purpose the chapter gives it.

Teaching plan

15 minThe teacher presents the compound system, the split between the provider's Article 55 evidence and the deployer's test, and the six scope elements.
15 minParticipants turn three taxonomy entries into control objectives for Nordvik Region's citizen-service assistant and mark one as not applicable with a reason.
15 minWalk through library, harness, threshold and gate using GATE-CSA-001, then the withdrawn-page finding and its closing control.
35 minExercise: groups write a containment test plan for a production agent, modelled on the plan for Hansa Mutual's IT-operations agent.
10 minGroups draft the residual-risk statement their system owner would sign and say what telemetry would let a responder reconstruct an out-of-mandate action.

Discussion

  1. Instructions lowered the rate of harmful actions in the cited study without eliminating it. What follows for how much weight a passing behavioural test should carry?
  2. Where in your organisation does the person who controls the content differ from the person who uses the assistant, and has that route ever been tested?
  3. A CISO override of the release gate is valid for at most 14 days at Nordvik. What should have to be true for an override to be used at all?

Written exercise

Exercise · 35 minutes

Write a containment test plan for an agent

Choose a production agent in your organisation, or Hansa Mutual's claims-triage agent, and assume testing happens only on a replica in an AI test range under approved rules of engagement. From its permission manifest derive at least five objectives as hypotheses, covering credentials, tool scope, control artefacts the agent must not write, detection of decoy use, and the stop path while a task runs, each with a time bound where one applies. Enumerate three possible escape paths from the infrastructure description. State the two rounds, scripted driver and model with manipulated input, the actions never attempted, the telemetry that proves each result, and who owns the residual risk. Do not write any test inputs.

Deliverable: A containment test plan with five or more hypotheses, three enumerated escape paths, the two rounds, never-attempted actions, telemetry per objective and the residual-risk owner.

Self-test

Choose an answer to see whether it is right, or open the answer below each question.

  1. What was the significant finding of Nordvik Region's first campaign against the citizen-service assistant?

    Show the answer

    D. A page withdrawn from the public website was still in the retrieval index and cited as current
    Under objective OBJ-03, a withdrawn page remained retrievable because withdrawal did not trigger re-indexing. The closing control made withdrawal remove the document from the index within one hour, verified by a new suite case.

  2. Why does the escape-path assessment use a scripted driver in place of the agent's planning component?

    Show the answer

    A. To test the boundary reproducibly without needing the model to misbehave
    The scripted driver issues out-of-mandate tool calls with the agent's own identity and runtime, so the boundary is tested reproducibly; a second round uses the real model with manipulated inputs to check detection and the stop path.

  3. How does the chapter treat a threshold above zero in a gating suite?

    Show the answer

    C. It is allowed only where other controls bound the harm, recorded with its owner
    Zero applies to outcomes that must never occur, such as one resident's data in another's answer. A non-zero rate is accepted only where other controls bound the harm, as with two per cent of unsupported answers that are labelled.