generate-image

Pass

Audited by Gen Agent Trust Hub on Sep 14, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill constructs a natural language instruction for the codex exec tool by interpolating user-provided data. This creates a surface where malicious user input could potentially instruct the sub-agent to perform unauthorized actions.\n
  • Ingestion points: The prompt argument in scripts/generate-image.sh, which originates from user input processed by the agent.\n
  • Boundary markers: The $PROMPT variable is placed directly into the codex exec string without delimiters or instructions to ignore embedded commands.\n
  • Capability inventory: The codex exec tool is granted workspace-write capabilities, allowing it to modify files.\n
  • Sanitization: No sanitization or filtering is performed on the prompt content before interpolation.\n- [COMMAND_EXECUTION]: The bash script executes the codex CLI tool to perform its primary function.\n
  • Evidence: scripts/generate-image.sh calls codex login status and codex exec with specified arguments.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 14, 2026, 10:52 PM