remote-cluster-agent
Warn
Audited by Gen Agent Trust Hub on May 19, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill provides the
remote_bashtool, which allows the agent to execute arbitrary shell commands on remote cluster nodes. This is implemented inmcp-server/mcp_remote_server.pyandcluster-agent/agent.pyusing Python'ssubprocessmodule to interface with SSH and bash. - [REMOTE_CODE_EXECUTION]: The skill automates the deployment and execution of code on remote systems:
- In
SKILL.md(Step F), the agent is instructed to deploy theagent.pyscript to a remote cluster by writing its contents through a shell heredoc. - The
mutagen-setup.shscript extracts the Mutagen agent binary from the local environment and uploads it to the remote cluster for execution over SSH. - [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection (Category 8) as it processes data from external systems.
- Ingestion points: Data enters the agent's context through the stdout and stderr output captured by the
remote_bashtool inmcp-server/mcp_remote_server.py. - Boundary markers: The skill does not implement delimiters or specific instructions to the agent to disregard potential commands embedded within the remote output.
- Capability inventory: The agent possesses extensive capabilities, including remote filesystem access, remote execution via
remote_bash, and local MCP server registration viasetup.sh. - Sanitization: While outputs are decoded with character replacement for errors, there is no semantic sanitization or filtering of the content returned from the remote cluster.
- [COMMAND_EXECUTION]: The
mcp-server/setup.shscript performs local system modifications by executingclaude mcp addorcodex mcp addto register the MCP server, injecting JSON-encoded environment variables into the agent's configuration.
Audit Metadata