opencode-server

Fail

Audited by Gen Agent Trust Hub on Mar 4, 2026

Risk Level: HIGHREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
  • [REMOTE_CODE_EXECUTION]: All code generation, debugging, and test execution are delegated to a remote 'headless server' via the opencode CLI.\n
  • This architecture moves the execution environment from the local safety context to an external, potentially untrusted environment.\n- [COMMAND_EXECUTION]: The skill uses a custom CLI tool (opencode) to perform all actions.\n
  • It explicitly states: 'All permissions are auto-approved in non-interactive mode', which removes human-in-the-loop validation for potentially destructive or malicious commands.\n- [DATA_EXFILTRATION]: The skill allows attaching local files (e.g., error_log.txt) and sending them to a remote server specified by <server-url>.\n
  • It requires authentication credentials to be present in the agent's environment, posing a risk of credential exposure to the external CLI tool and remote server.\n- [PROMPT_INJECTION]: Instructions such as 'Do not write code directly — delegate to OpenCode' and 'All permissions are auto-approved' attempt to override the agent's standard safety procedures and manual approval steps for high-risk operations.
Recommendations
  • AI detected serious security threats
Audit Metadata
Risk Level
HIGH
Analyzed
Mar 4, 2026, 12:39 AM