opencode
Pass
Audited by Gen Agent Trust Hub on Oct 23, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill facilitates the installation of the
opencode-aipackage from the NPM registry and theopencodetool via a Homebrew tap (anomalyco/tap/opencode). These are standard package management operations required for the tool's functionality. - [COMMAND_EXECUTION]: The skill uses the
terminalandprocesstools to execute theopencodeCLI. This tool is capable of modifying files, running tests, and managing git operations as part of its autonomous coding functionality. - [INDIRECT_PROMPT_INJECTION]: The skill provides an interface to an external agent that processes project data (files attached via the
-fflag or the contents of the working directory). This represents an attack surface where instructions embedded in those files could attempt to influence the external agent. - Ingestion points: Local files explicitly attached with the
--fileflag or read by theopencodeagent within the specifiedworkdir. - Boundary markers: No explicit boundary markers or delimiters for untrusted file content are specified in the command examples.
- Capability inventory: The skill has the capability to write files, run arbitrary commands (via
opencode run), and manage git repositories. - Sanitization: The skill does not mention specific sanitization or validation of the content within the files it processes.
Audit Metadata