A red-team exercise produces useful evidence only when its threat model and scoring criteria can be repeated. A list of clever prompts is an input to that process, not its output.
The hardest failures often cross trust boundaries. A retrieved document can contain an instruction. An agent can promote a tool response into authority. A model may obey a hostile instruction that looks like normal task context.
Name the trust boundaries
Map each entry point: user input, retrieval, browsing, tool output, memory and agent-to-agent messages. Mark which sources are untrusted. Record the tools and data each step is allowed to access.
Test indirect prompt injection separately from direct user attempts. Evaluate what the system did, not whether the model sounded cautious. A refusal is not a safe outcome if an earlier tool call already disclosed a secret.
Build a reproducible harness
Version the adversarial cases, model configuration, system instructions, tool permissions and scoring rules. Every case needs an expected result and an account of its impact if the boundary fails.
Run variants enough times to estimate uncertainty. Report confidence intervals with an appropriate statistical method and the actual sample size. Do not claim fine-grained failure probabilities from a handful of stochastic executions.
Score observable behavior
Capture attempted and completed tool calls, boundary violations, sensitive-data exposure and instruction hierarchy failures. Capture false positives as well: a guardrail that blocks safe customer work has an operational cost.
Input screening, constrained tool access, output validation and human approval are complementary controls. No classifier alone can make an agent safe.
Close the loop
Turn confirmed findings into regression cases. Compare each change to a versioned baseline, and investigate changes in the failure distribution. A gate should explain how to reproduce its failure and point to the responsible boundary.
This note specifies a testing method. It does not assert that a particular model or deployment has passed that test.