director
Pass
Audited by Gen Agent Trust Hub on Sep 23, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: Phase 8 of the pipeline instructs the agent to execute shell commands including
cd,printf, andffmpegto concatenate video clips. These commands are executed directly in the local shell environment to finalize the production process. - [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted user data (the story text) which is used to generate a
project_id. This identifier is then interpolated into shell commands and file paths, such asdirector_final_{project_id}.mp4in Phase 8. The instructions do not include validation or sanitization for this variable, creating a vulnerability surface where a maliciously crafted story title could lead to command injection. - Ingestion points: User-provided story text and project metadata in Phase 1 (SKILL.md).
- Boundary markers: None mentioned for the story or project_id variables.
- Capability inventory: Shell command execution (
ffmpeg,printf,cd) and file system write access for state files and concatenation lists. - Sanitization: Absent; the instructions do not specify filtering or escaping for user-derived variables before shell execution.
- [DYNAMIC_EXECUTION]: The final assembly phase dynamically generates a configuration file (
concat_list.txt) at runtime. This file is then used to control the execution of theffmpegtool, representing a pattern of generating executable or tool-directive content from runtime state.
Audit Metadata