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-ai package from the NPM registry and the opencode tool 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 terminal and process tools to execute the opencode CLI. 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 -f flag 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 --file flag or read by the opencode agent within the specified workdir.
  • 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
Risk Level
SAFE
Analyzed
Oct 23, 2026, 06:31 PM