opencode
Pass
Audited by Gen Agent Trust Hub on Oct 24, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill provides functions such as
opencode::runandopencode::startthat are explicitly designed to execute shell commands and file system operations on the host machine using the OpenCode CLI. - [DYNAMIC_EXECUTION]: The skill facilitates the runtime generation and execution of code and system commands by an LLM-driven agent (OpenCode) based on dynamic user input provided in the prompt.
- [INDIRECT_PROMPT_INJECTION]: The skill processes natural language prompts and translates them into high-privilege actions, creating an attack surface for potential command injection or unauthorized access.
- Ingestion points: Untrusted data enters the agent context through the
promptparameter andmessagesarray in theopencode::runandopencode::startfunctions. - Boundary markers: There are no explicit boundary markers or instructions defined in the skill to isolate or delimit user-provided prompt content.
- Capability inventory: The skill has extensive capabilities, including host shell access, file system editing, directory searching, and the ability to call any registered function on the
iiibus via theiiiCLI. - Sanitization: The documentation does not specify any sanitization, escaping, or validation of the input prompts before they are passed to the underlying OpenCode agent.
Audit Metadata