shipping production AI · since 2026 NAICS 541330 / 541511 / 541512 / 541519  ·  CMMC-aware
Refinery Report / AI red team / post · ntrols
AI red teamblue team controlsLLM securityMCP security

How AI Red-Team Findings Become Blue-Team Controls

A practical, evidence-led way to turn an authorized AI red-team finding into a customer-owned control decision, implementation work, and scoped re-test.

D
By the DSE practice team
Operator-led practice · how we research & review
August 29, 2026
11 min · 2,321 words

By the DSE practice team · published August 29, 2026 · reviewed August 29, 2026

AI red-team findings become blue-team controls when a team treats each finding as a testable risk decision, not as a report to file away. The useful loop is simple: record the observed scenario, decide what must change, implement a bounded control, and re-test the changed surface. That produces evidence about the specific issue in scope. It does not prove that the full AI system is safe.

For regulated enterprises, this distinction matters. A red-team exercise can demonstrate that an agreed scenario worked under agreed conditions. A blue-team control can reduce or contain that scenario. Neither statement becomes a certification, a compliance conclusion, or a promise that no other path exists. The value is a clearer decision trail from technical observation to accountable action.

At DSE, this is the connective tissue in Adversarial AI Assurance: authorized assessment, customer-led hardening, and an agreed re-test. It is point-in-time work under a written statement of work, not a compliance audit and not continuous monitoring.

Why a finding is not yet a control

An AI security finding usually starts as an observation: a prompt caused an agent to reveal an unintended retrieval result, an action tool accepted a request outside the expected business rule, or a server definition changed after the team had reviewed it. The observation is important, but it does not tell the team what to change or who should accept the remaining risk.

That gap is where security programs often lose momentum. A report may label a scenario High, but the engineering team still has to answer practical questions:

The customer retains responsibility for those decisions. A security assessor can make the technical conditions visible and help explain options. It should not silently become the party that authorizes an AI tool, accepts business risk, or declares a system compliant.

This is also why a good assessment is not just a checklist. Checklists are valuable for repeatability, but an AI application can combine inputs, retrieval, tools, identities, and approvals in ways a generic questionnaire cannot observe. An LLM security testing engagement gives the team an opportunity to test the interfaces and scenarios it actually operates. The next job is to make the result durable.

A five-step path from finding to control

The following five steps work across prompt injection, retrieval isolation, tool abuse, and AI configuration drift. They are deliberately smaller than a full security-program transformation. The point is to make each accepted finding traceable from evidence to action.

1. Preserve the tested condition

Start by capturing enough context to reproduce the observation without storing more sensitive material than necessary. A useful finding record identifies the system boundary, the interface or integration involved, the test preconditions, the observed result, and the date or version tested. If a prompt, tool output, or retrieval result contains sensitive information, retain a minimized or redacted reference rather than copying it into every work tracker.

This step is easy to underestimate. Without a defined precondition, the team may try to re-test a later build and conclude that the finding disappeared merely because the system state is different. Without an asset or owner, a valid finding can become someone else’s backlog problem.

The record should be specific enough to support a decision, not so broad that it claims a conclusion about every prompt, every model, or every user. A point in time is part of the evidence, not a weakness to conceal.

2. Choose the control objective before the implementation

The same observed behavior can call for different control objectives. A retrieval-isolation issue might require tenant scoping, a document permission check, a safer index design, or a decision to remove a category of data from the application. A tool-abuse scenario might need reduced tool permission, a human approval step, an allowlist, a transaction limit, or a different workflow.

Write the intended effect in ordinary language before choosing a product or pattern. For example: “A user from one business unit cannot receive a retrieval result from another unit’s document set.” Or: “The agent cannot submit a payment change without the existing human approval policy.” The objective gives security, engineering, and risk teams a common statement they can test later.

Frameworks can help structure the conversation. AI security assessments can be informed by OWASP LLM Top 10 and MITRE ATLAS concepts, but no single engagement covers every category in either framework. The statement of work defines the surfaces and scenarios that are actually assessed.

3. Implement a control at the affected layer

AI systems are stacks, so fixes need to land at the layer where they have a reliable effect. The table below is a practical starting point, not a substitute for an architecture review.

Observed condition Likely control layer Example control objective Evidence to retain
Untrusted instructions alter an answer Input and orchestration Separate untrusted content from executable instructions and constrain available actions Scenario definition, configuration change, re-test result
Retrieval crosses a data boundary Identity and retrieval Apply entitlement checks and scope searches to the requesting principal Access-rule reference, query test, re-test result
An agent can take an overly broad action Tool and workflow Reduce permissions, add a policy check, or require human approval Tool contract, approval rule, scenario result
A reviewed MCP definition changes Definition integrity and CI Pin the declared surface and require review when it drifts Lockfile, change review, CI result
A tool returns suspicious content at call time Runtime integration Inspect or mediate the defined result path with an appropriate runtime control Integration configuration, test trace, observed verdict

The important word is appropriate. A static check is not a runtime gateway. A runtime gateway is not a vendor assessment. An application authorization rule is not an AI model evaluation. Layer confusion is one of the fastest ways to create a control that looks good in a diagram but misses the real path.

4. Make the change reviewable

Control language becomes credible when another person can tell what changed and why. For software changes, that often means a pull request, a configuration diff, a test fixture, and a named decision owner. For a process change, it can mean an approval workflow, a revised runbook, and a documented exception path.

This is where blue-team work earns its name. The work is not only blocking an attack. It is making a defensive choice visible to the people who need to operate, review, and revise it later. A control that cannot be explained will be hard to maintain after the original project team moves on.

For agent systems, make the customer decision explicit. DSE can support a team in building an inventory of tool surfaces and documenting the decision context. The customer retains responsibility for approving a tool, assigning a risk owner, and deciding whether an exception is acceptable. That separation keeps a technical assessment from becoming an implied delegation of governance.

5. Re-test the agreed scenario

A re-test checks whether the defined change altered the defined condition. It is not a promise that every related attack path is closed. That limitation is useful because it keeps the evidence honest: the team can say what was checked, against which version or configuration, and what outcome was observed.

The re-test may be manual, automated, or both. A prompt-injection scenario can become a regression case. A retrieval boundary can become a repeatable authorization test. A tool-definition change can become a CI gate. The right form depends on the system, but the loop should always leave a reviewer able to connect the original finding to the changed evidence.

What is different about MCP controls

Model Context Protocol gives agents a way to discover and use external tools, resources, and prompts. That makes the declared interface itself an important security surface. A tool can be added, removed, or redefined after a team has reviewed it. Those changes may alter permissions, data access, or the context an agent receives.

mcp-warden is DSE’s open-source definition-integrity tool for this problem. Its pin and check workflows can capture and compare a server’s declared tool, resource, and prompt surface. A CI workflow can fail when the surface drifts from the approved lock. It also has other bounded modes: a static configuration posture audit, offline trace inspection, and an optional guard proxy for tool-result inspection.

Those modes should not be flattened into a claim that one tool “secures MCP.” mcp-warden can start an approved server command or connect to an explicitly provided endpoint when it captures a declared surface. Its optional guard proxy can inspect tool results at runtime. It does not replace a static tool-poisoning scanner or a full runtime gateway, and it does not decide whether a never-before-seen tool definition is benign. The capabilities and limits page sets out that boundary in more detail.

This is a useful example of how red and blue work connect. A review may identify that a team lacks a way to notice a changed tool definition. The blue-team response is not to call the definition malicious by default. It is to establish the team’s reviewed baseline, require a human decision when it changes, and keep the outcome visible in the development workflow.

Our aggregate public MCP configuration research is a related, bounded piece of evidence. It examined configurations that were already public, reported aggregate patterns, did not name repositories, and did not test credentials. Public configurations are not representative of private enterprise deployments, so the research is not an industry baseline or a substitute for assessing a customer’s own environment.

What a useful deliverable set looks like

A red-to-blue engagement does not need a giant binder to be useful. A smaller, well-linked set of artifacts often gives the team more leverage:

  1. Finding register: the observed scenario, affected boundary, severity rationale, and evidence reference.
  2. Control decision: the objective, selected layer, customer owner, and approved exception or remediation path.
  3. Implementation evidence: the change record, configuration or code reference, and operational handoff where applicable.
  4. Re-test record: the scenario re-run, date, observed result, and remaining limitation.
  5. Residual-risk statement: what the scoped evidence supports and what it does not support.

This set is useful to security teams because it supports repeatability. It is useful to engineering because it describes a concrete change rather than a vague request to “make the agent safe.” It is useful to risk and compliance leaders because it makes the decision authority and limitations visible. It is not a compliance audit, a legal opinion, or a certification package.

How to start without over-scoping the work

Start with one system and one decision that matters. That might be a customer service agent with retrieval access, an internal copilot with tool permissions, or an MCP-connected workflow that is about to move from pilot to production. Bring the architecture, known concerns, and the boundaries the organization can authorize for testing.

Then define the first assessment around the actual attack and failure surfaces:

If the system primarily needs behavior testing across RAG, copilots, or agents, start with LLM security testing. If the need is a broader fixed-scope view of the AI surface, start with the AI security assessment. If the concern is making MCP tool definitions reviewable in a development workflow, start with mcp-warden. In each case, a good first scope creates evidence for one decision rather than attempting to make a broad, unprovable promise.

FAQ

Is an AI red-team finding proof that the full system is insecure?

No. It is evidence about the scenario, version, configuration, and conditions that were assessed. A finding can be important without proving that every component or path is affected. The remediation and re-test should preserve that scope rather than inflating the conclusion.

Does a re-test guarantee that an issue is permanently fixed?

No. A re-test checks the agreed condition after the agreed change. Future code, model, configuration, identity, or tool-surface changes can create new behavior. Teams should keep the most important checks in their normal engineering and change-review process.

Is this a substitute for a compliance audit or continuous monitoring?

No. DSE’s work is a point-in-time technical assessment and advisory engagement under a written statement of work. It is not a compliance audit, not continuous monitoring, and not a certification or regulatory attestation.

Can mcp-warden decide whether we should approve a new tool?

No. It can help expose the declared surface and identify drift from a reviewed baseline. The customer retains responsibility for deciding whether a new tool, configuration, or exception is acceptable for its environment.

Where can we learn more about the delivery loop?

Visit Adversarial AI Assurance for the assessment, hardening, and re-test model, including the boundary between authorized red-team work and defensive control engineering.


When an AI system can read sensitive data or take meaningful action, scope the first technical question carefully. We can help you turn the answer into an evidence-led next step. Start an AI security conversation.

P
Founder · Principal Engineer
Data & AI engineer · 10+ yrs hands-on

Writes most of the long-form here. Lives in the codebase. Active on GitHub and LinkedIn.

§ Next step

Not sure which of these is you?

Tell us what's broken in a paragraph and a principal reads it directly, or walk the ladder from a low-commitment first engagement up to retained work.

One long-form a week. No marketing.

Subscribe to the Refinery Report. Practitioner deep-dives on AI engineering, security, and the realities of running production systems. Unsubscribe in one click.

~12 issues / quarter