flow-next-opencode-work
Warn
Audited by Gen Agent Trust Hub on Nov 12, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill is designed to execute a bundled binary named
flowctllocated within the project's.opencode/bin/directory. This binary is central to the task tracking and workflow execution. - [DYNAMIC_EXECUTION]: The skill constructs and executes shell commands by directly interpolating user-provided arguments, such as 'idea text' and file paths, into command strings (e.g.,
$FLOWCTL epic create --title "<idea>"). This pattern lacks explicit sanitization, posing a risk of command injection if the input includes shell-sensitive characters like backticks or dollar signs. - [INDIRECT_PROMPT_INJECTION]: The skill possesses a vulnerability surface where it ingests untrusted data from markdown spec files and user ideas to drive the task creation process. It also utilizes subagents (
memory-scoutandquality-auditor) that process project context, which could potentially contain malicious instructions embedded in the code or documentation. - [INDIRECT_PROMPT_INJECTION]: Evidence Chain: 1. Ingestion points: User arguments ($ARGUMENTS) and markdown spec files in Phase 1. 2. Boundary markers: Absent. 3. Capability inventory: Execution of
flowctlbinary,gitcommands, and subagent invocations across all phases. 4. Sanitization: Absent; inputs are directly interpolated into shell templates without escaping.
Audit Metadata