CMUX
Pass
Audited by Gen Agent Trust Hub on Aug 2, 2026
Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The
Tools/cmux.tsscript utilizesBun.spawnto execute shell commands, including thecmuxCLI andssh. These operations are fundamental to the skill's purpose of terminal management. - Evidence: Subprocess calls are present in functions like
runProcess,cmuxExec, andcommandMiniFleet. - Mitigations: The script implements
validateSshTargetwhich uses a whitelist regex (/^[A-Za-z0-9._@:%+/\-]+$/) to prevent command injection in SSH host strings. - [PROMPT_INJECTION]: The skill provides a surface for indirect prompt injection by reading output from terminal screens and returning it to the agent context.
- Ingestion points: Screen content captured via the
read-screencommand inTools/cmux.ts(used by thereadandmonitorsubcommands). - Boundary markers: No explicit delimiters or instructions are used to wrap the screen output when it is ingested by the agent.
- Capability inventory: The skill can execute local commands through
cmuxandssh, and send notifications to a local API (localhost:31337). - Sanitization: No sanitization is performed on the screen content before it is processed by the agent.
Audit Metadata