Skip to content
Back to blog

MCP Redaction Bypasses: Build Regression Tests From This Week's Failures

4 min read
MCP Redaction Bypasses: Build Regression Tests From This Week's Failures

Sources checked: . FailSafe Research.

Three published MCP and agent-harness failures share one lesson: a configuration label is not a control test. AWS disclosed that the ECS MCP Server's troubleshooting tool returned container environment values and secret references despite default redaction settings, in a case influenced by prompt injection. A newly assigned critical CVE for ruflo documented default Docker deployments exposing an unauthenticated MCP bridge capable of command execution, credential theft and persistent poisoning of the agent's learning store. Pydantic also fixed several browser-harness egress gaps involving WebRTC, WebTransport, WebSocketStream, NAT64 and URL parsing.

None of these required a novel technique. Each defeated an assumption that a setting, a private address rule or a non-public endpoint had closed the boundary.

The three failure patterns

  • Redaction that returns a reference: the secret value was masked, but the tool still returned enough of the environment to locate or use it.
  • An alternate route with no authentication: the documented deployment was protected while a default bridge exposed the same capability without a caller check.
  • Egress over a protocol the policy did not model: the harness restricted HTTP hosts but allowed WebRTC, WebTransport or an address family the parser resolved differently.

Regression scenarios to keep

Permanent cases for an MCP or agent-harness test set
CaseWhat it checksEvidence to keep
Secret redaction under indirect injectionWhether retrieved content can drive a tool to return environment values, secret references or diagnostic detail.Injected source, tool call, returned content and the redaction decision.
Unauthenticated or alternate MCP routeWhether a second listener, default bridge or debug endpoint bypasses the authenticated path.Route, listener configuration, caller identity and the server decision.
Tool-gate bypass outside the main loopWhether a tool can be invoked by a background job, hook or direct call that skips the agent's approval gate.Invocation source, policy check, executed action and responsible component.
Persistent memory or learning-store poisoningWhether untrusted content becomes durable agent state that affects later sessions.Source content, stored record, later retrieval and the affected action.
Browser egress over non-HTTP protocolsWhether WebRTC, WebTransport or WebSocketStream can reach a destination the HTTP policy blocks.Protocol, destination, resolver result and the connection outcome.
NAT64, IPv6 and parser differentialsWhether an address passes policy in one representation and resolves to a blocked target in another.Input form, normalized address, resolver answer and the control decision.
Credential rotation after compromiseWhether credentials used by the agent infrastructure can be rotated without leaving a working copy.Credential inventory, rotation time, retest result and any surviving session.

Why a versioned corpus helps

A regression case is only useful if it survives a patch. Store the case with the deployment shape, the expected decision and the evidence location. Re-run it when the server, harness or policy changes. If the case cannot run because the environment changed, record that as an untested exception rather than a pass.

Keep a separate result for a blocked attempt, a permitted attempt that produced no impact and an inconclusive attempt caused by missing telemetry. Combining them into "secure" hides the difference between a control that worked and a test that could not observe the outcome.

What the reports do not establish

Some CVEs were newly assigned this week to previously reported design issues. The publication date is not the age of the defect. The bulletins also do not show that every deployment of the affected software is exploitable, and the Pydantic fixes do not establish that other browser or runtime combinations are free of similar gaps.

Where FailSafe fits

FailSafe tests authorized MCP servers, agent runtimes and the infrastructure around them. The MCP security page lists the regression cases and the evidence each should produce. A scoped assessment can run these cases against your deployment, then retest after a patch. The MCP assessment test plan describes the sequence.

Source status

This analysis follows the AWS bulletin, the ruflo advisory and the Pydantic AI release notes as summarized in FailSafe's 30 November 2026 research review. Confirm affected versions, fixed releases and current CVE records with the maintainers before acting.

Questions & answers

Questions about this topic

Direct answers to common questions about this page.

No. The ECS MCP Server case returned environment values and secret references despite default redaction. A setting describes intent; only a test with an injected input and an observed response shows what the tool returns.

A critical CVE described default Docker deployments that exposed an unauthenticated MCP bridge capable of command execution, credential theft and persistent poisoning of the agent's learning store. Confirm affected versions and fixes with the maintainers.

Because an HTTP host allowlist may not cover other protocols or address representations. A destination can pass one check and resolve to a blocked target in another form, so the test must record the protocol, resolver answer and control decision.

The case input, deployment shape, expected decision, observed result, evidence location and the date. Keep blocked, permitted and inconclusive outcomes separate, and re-run the cases when the server, harness or policy changes.

Put this guidance to work

Use the listed cases as a starting test plan for your own MCP server, harness and network policy, with synthetic data and agreed stop rules.

Startup offer: $999 USD for 250 credits and one authorized black-box run. Sign in to SWARM before Stripe checkout. Custom scope and sovereign deployments are separate.

Review MCP regression coverage