opencode
Pass
Audited by Gen Agent Trust Hub on Sep 8, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process untrusted code from local directories and remote Git repositories, creating a surface for potential prompt injection via code comments or documentation.
- Ingestion points: Local files passed via the
-fflag and remote repositories cloned during the PR review workflow as described inSKILL.md. - Boundary markers: The instructions and examples in
SKILL.mddo not specify delimiters or explicit warnings for the agent to ignore instructions embedded in the code it processes. - Capability inventory: The skill leverages the
terminaltool for shell commands and theprocesstool for handling interactive TUI sessions inSKILL.md. - Sanitization: There are no explicit sanitization or validation steps mentioned within the skill for content retrieved from external sources before it is passed to the OpenCode tool.
- [EXTERNAL_DOWNLOADS]: The skill describes how to install and use the OpenCode tool from standard registries and repositories.
- Suggests installation of the
opencode-aipackage via npm and theopencodeformula via Homebrew (SKILL.md). - Provides examples of cloning repositories from GitHub for code review purposes (
SKILL.md).
Audit Metadata