skills/dzianisv/skills/opencode-api/Gen Agent Trust Hub

opencode-api

Pass

Audited by Gen Agent Trust Hub on Oct 17, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The 'Email-Driven Follow-Up Pattern' section describes a workflow where the agent ingests data from external sources to perform tasks via the API.
  • Ingestion points: Untrusted data is ingested from Gmail triage emails as described in the automation pattern section of SKILL.md.
  • Boundary markers: The instructions do not specify the use of delimiters or 'ignore' markers to isolate the untrusted email content from the agent's core instructions.
  • Capability inventory: The skill uses curl to interact with POST /session/{id}/message and POST /session/{id}/prompt_async endpoints, which enable searching files, reading content, and applying code changes through the OpenCode server.
  • Sanitization: No sanitization, escaping, or validation of the email content is documented before it is interpolated into API requests.
  • [COMMAND_EXECUTION]: The skill documentation includes shell commands for local server management and API interaction.
  • The opencode serve command is used to initialize and configure the local REST API server.
  • A shell function named api() is defined to execute curl commands for authenticated communication with the server at 127.0.0.1:4096.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 17, 2026, 10:11 PM