cmux-diagnostics
Pass
Audited by Gen Agent Trust Hub on Oct 23, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The diagnostic script dynamically locates and executes a helper script (
cmux-settings) by resolving paths relative to its own location (e.g.,../cmux-settings/scripts/cmux-settings) or checking standard installation directories. Executing code from computed paths introduces a dependency on the integrity of the surrounding file system and sibling components. - [COMMAND_EXECUTION]: The skill performs extensive shell command execution to retrieve diagnostic information, including calls to
cmux ping,cmux capabilities, and various agent binaries. This behavior is necessary for the skill's purpose but expands the agent's interaction surface with the host system. - [INDIRECT_PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection as it ingests and processes output from external CLI tools and scripts without sanitization.
- Ingestion points: Output from
cmux capabilities,cmux identify, and thecmux-settingsscript. - Boundary markers: The instructions do not define clear delimiters or warnings to the agent for distinguishing between diagnostic data and potential instructions embedded in tool output.
- Capability inventory: The skill has the ability to execute shell commands and launch subprocesses.
- Sanitization: There is no evidence of filtering or validation of the ingested tool output before it is provided to the agent.
Audit Metadata