peer-sessions
Pass
Audited by Gen Agent Trust Hub on Sep 8, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The
scripts/cmux_fleet.pyscript manages peer terminal sessions by executingcmuxcommands and peer-specific instructions. - Evidence: The script uses
subprocess.runto interact with the localcmuxbinary for surface management and task execution. - Evidence: The
launch_commandfunction utilizesshlex.quoteandshlex.jointo safely construct shell commands for the peer sessions, mitigating command injection risks. - [INDIRECT_PROMPT_INJECTION]: The coordination of multiple autonomous agents sharing data through a mailbox system creates a potential attack surface for indirect prompt injection.
- Ingestion points: The coordinator agent processes structured JSON files containing peer results from the
.ai-workflow/peer-sessions/<run-id>/replies/directory. - Boundary markers:
SKILL.mdprovides explicit templates for briefing peers that include safety instructions and scope constraints to prevent unauthorized behavior. - Capability inventory: The skill possesses the capability to launch interactive terminals, execute shell commands via
cmux, and perform local file system operations. - Sanitization: Data exchange is restricted to a structured schema, and the coordinator uses
shlexfor command-line escaping to prevent malicious interpolation of peer data into system commands.
Audit Metadata