mcp-tool-validator
Warn
Audited by Gen Agent Trust Hub on Aug 6, 2026
Risk Level: MEDIUMPROMPT_INJECTIONCOMMAND_EXECUTIONCREDENTIALS_UNSAFE
Full Analysis
- [PROMPT_INJECTION]: The file
references/feedback_loop.mdcontains strong imperative language designed to override agent behavior, including sections labeled 'Hard rules (violating these is a critical failure)' and instructions marked as 'MANDATORY'. These patterns are intended to bypass standard agent constraints in favor of the skill's specific workflow. - [COMMAND_EXECUTION]: The skill describes a
stdio://transport mechanism inreferences/client_skeleton.mdandreferences/docker_orchestration.mdthat parses and executes shell commands from a URL-formatted string. This presents a command injection risk if the source of theSERVER_URLconfiguration is influenced by untrusted input. - [COMMAND_EXECUTION]: The skill requires the agent to execute a local shell script (
tests/run_validation.sh) which manages Docker containers and service orchestration, granting the agent significant control over the local execution environment. - [CREDENTIALS_UNSAFE]: The documentation in
references/client_skeleton.mdexplicitly references accessing sensitive authentication tokens viaos.environ['MCP_TOKEN']. While not a hardcoded secret, the automated loop involves the agent handling these credentials during transport configuration. - [INDIRECT_PROMPT_INJECTION]: The skill establishes an autonomous feedback loop where the agent is instructed to modify the project's source code based on tool execution results and scenario definitions. This creates an attack surface where malicious or unexpected tool output could influence the agent to introduce bugs or vulnerabilities into the codebase.
- Ingestion points: Tool outputs during
tools/callvalidation and definitions withinscenarios.yamlentering the agent's context. - Boundary markers: None explicitly defined in the provided instruction blocks to separate untrusted tool output from instructions.
- Capability inventory: File system write access (source code fixes), command execution (
run_validation.sh), and network operations via MCP transport. - Sanitization: No explicit sanitization or validation of tool output is mentioned before the agent uses it to diagnose and 'fix' code failures.
Audit Metadata