tsg-flow-orchestrator
Pass
Audited by Gen Agent Trust Hub on Nov 9, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The orchestrator relies on the
scripts/tsg-delegate.shshell script to interact with the environment. This script executes theherdrCLI for agent management,jqfor JSON processing, andgitfor repository state management. These are intended behaviors for a development-focused orchestration tool. - [INDIRECT_PROMPT_INJECTION]: The skill processes external data sources including task definition files (
tasks.md) and output files from sub-agents (result.json,report.md). This creates a vulnerability surface for indirect prompt injection if those files are controlled by a malicious actor. However, the orchestrator uses structured JSON schemas and isolated execution contexts (via Herdr panes) to minimize the risk of instructions in data being executed by the orchestrator itself. - Ingestion points: Processes PRD task files and worker result logs from the
.tsg-flow/directory. - Boundary markers: Employs explicit delimiters and instruction headers in prompts sent to sub-agents.
- Capability inventory: Performs file I/O, Git operations, and subprocess execution of the
herdrandjqutilities. - Sanitization: Uses
jqto safely generate and parse JSON payloads and bash's printf%qto escape command arguments.
Audit Metadata