opencode
Pass
Audited by Gen Agent Trust Hub on Sep 22, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill instructs the user to install the
opencode-aipackage via the npm registry or a Homebrew tap (anomalyco/tap/opencode), which involves downloading and executing third-party software.\n- [COMMAND_EXECUTION]: The skill makes extensive use of theterminaltool to run CLI commands, including complex shell workflows that use command substitution ($()) and directory traversal to automate coding tasks.\n- [DATA_EXFILTRATION]: The skill facilitates the transmission of local source code, environment configurations, and configuration files (e.g.,.env.example,config.yaml) to external AI model providers (such as OpenRouter or Anthropic) for analysis.\n- [INDIRECT_PROMPT_INJECTION]:\n - Ingestion points: The
PR Review Workflowdescribed inSKILL.mdingests untrusted code from external git repositories viagit cloneandgit diff.\n - Boundary markers: No delimiters or specific safety instructions are provided to the agent to distinguish between its instructions and the content of the external code being reviewed.\n
- Capability inventory: The skill uses
terminalandprocesstools, which grant the agent the ability to modify the file system and access the network based on its analysis of the ingested code.\n - Sanitization: There is no evidence of input validation or sanitization before passing external code to the coding agent.
Audit Metadata