flow-next-opencode-plan-review

Warn

Audited by Gen Agent Trust Hub on Nov 12, 2026

Risk Level: MEDIUMDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
  • [DYNAMIC_EXECUTION]: The skill uses eval to execute the output of the $FLOWCTL rp setup-review command. This pattern allows the tool to dynamically inject shell variables (e.g., $W and $T) into the agent's execution environment.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes local project data, including epic and task specifications, which are then interpolated into prompts for external LLM backends.
  • Ingestion points: Reads content from files in .flow/specs/, .flow/tasks/, and local documentation (e.g., docs/prd.md).
  • Boundary markers: Uses Markdown headers (e.g., ## Plan Under Review, ## IMPORTANT: File Contents) and XML-like tags to delimit untrusted content.
  • Capability inventory: Performs extensive filesystem operations (reading/writing specs), executes a bundled flowctl binary, and uses eval for environment setup.
  • Sanitization: Relies on structural delimiters rather than explicit sanitization or escaping of the ingested file contents.
  • [COMMAND_EXECUTION]: The skill relies heavily on executing shell commands and a bundled binary (.opencode/bin/flowctl) to interact with the repository, git state, and external CLI tools like rp-cli and jq.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Nov 12, 2026, 11:41 PM