ECS MCP: validate troubleshooting output
Tool acceptance should demonstrate which information the tool delivers to the agent. We propose scenarios with synthetic data, field-level criteria and records that support a review of the decision.
Czytaj po portugalskuIn this article
By Pentesty
Identify the component and official guidance
The AWS bulletin of November 24, 2026 covers CVE-2026-135614 in awslabs.ecs-mcp-server releases older than 0.1.36. Its diagnostic tool, under the default sensitive-data setting, could expose values assigned to environment entries in ECS task definitions, plus references identifying secrets. Someone manipulating agent input, including through prompt injection, might retrieve that output. AWS recommends 0.1.36 or newer, equivalent fixes for forks and derivatives, and rotating plaintext credentials configured in task environment entries.
Define the information needed for one operation
Start with an operational question that the team is authorized to ask. In one record, document the environment, the person requesting the assessment and the integration owner. Describe the outcome needed to complete that task. Our proposal turns that need into a list of allowed fields, with a reason for including each one.
Agree on how to handle additional fields, incomplete responses and errors. The process owner should be able to distinguish a useful response from one containing information beyond the agreement. Define the criteria before execution, including who may accept an exception and what evidence must accompany that decision. Keep those decisions with the scenario record.
Prepare synthetic data and expected outcomes
Use an authorized test installation and fictional records containing unique markers that can be recognized in the response. Separate what the scenario allows the tool to return from what must remain outside its output. Identify the account used, approved privileges and the person who can authorize changes in that environment. Preserve the configuration alongside the procedure.
Write examples of routine requests and variations asking for details beyond the agreed need. For each example, specify the expected response and the intended handling of a refusal. Run only authorized scenarios. Real customer data and credentials in use should remain outside this material; markers should be fictional and their presence should be verifiable.
Observe the tool response before the agent conclusion
Our proposal records the response returned by the tool separately from the conclusion presented by the agent. Compare the observed fields with the approved list. Look for the synthetic markers at each stage and document where they appear. A review covering both outputs can support a conclusion about the path that was actually assessed.
Place names, references and values in separate categories in the report. Describe only what was observed in each category, without inferring queries that the scenario did not perform. Our analysis of file boundaries in MCP tools complements this attention to test scope. Connect the request, sanitized response and acceptance decision.
Connect the handover to owners and the next test
In the handover, identify the version actually loaded, the package or artifact origin, its configuration and the person maintaining that installation. List custom copies and environments requiring separate assessment, with an owner for each outstanding item. Preserve execution references, timestamps and expected and observed outcomes. Restrict access to the evidence under the procedure approved by the organization.
Ask operations and security to review the same sample before accepting the outcome. Our discussion of sessions and project reach helps frame questions about the authority granted to an integration. Record the boundaries of the assessment and repeat the scenarios when code, configuration, permissions or response format changes. Keep the current acceptance decision attached to that evidence.
Frequently asked questions
What evidence should support acceptance?
A record connecting the approved scenario, expected outcome and observations from the tool and the agent. Identify the environment, reviewers and questions that remain open before accepting that sample.
Can an assessment avoid using real secrets?
Our proposal uses fictional, unique markers in an authorized environment. Agree in advance which fields may appear in the output and preserve the configuration needed to repeat the scenario.
Does the report need to reproduce the entire response?
Retain enough material to review the conclusion, with controlled access and agreed sanitization. Execution references and a view of the fields assessed can accompany protected evidence under the organization’s policy.
When should the scenarios be repeated?
Repeat the assessment after changes affecting the path examined, including code, configuration, permissions and expected output. Assign an owner to review the sample and make the acceptance decision.
Sources and references
Original Pentesty analysis, published November 24, 2026. The proposed scenarios are editorial guidance, with scope and validation to be defined for each environment.