opencode
Pass
Audited by Gen Agent Trust Hub on Oct 17, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The documentation provides instructions for using ssh, scp, and tmux as a fallback mechanism for executing commands on a remote host when the HTTP API is unresponsive (SKILL.md). This is documented as legitimate troubleshooting guidance for maintaining task continuity when standard dispatch fails.\n- [INDIRECT_PROMPT_INJECTION]: The skill processes potentially untrusted data by reading session messages, status, and permission requests from the OpenCode server.\n
- Ingestion points: Data is ingested via the opencode-cli show, sessions, stuck, and permissions commands (SKILL.md, bin/opencode-cli).\n
- Boundary markers: No explicit boundary markers or instructions to ignore embedded commands are present in the processing logic to distinguish between system status and user-generated session content.\n
- Capability inventory: The skill can send prompts to models (send), manage server sessions (new, abort, delete), and suggests the use of ssh for remote command execution across scripts.\n
- Sanitization: No sanitization or validation of the data retrieved from the API is performed before it is presented to the agent.
Audit Metadata