codex-imagegen-taste
Pass
Audited by Gen Agent Trust Hub on Jul 8, 2026
Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill's primary script,
scripts/taste-image.ps1, executes a local PowerShell helper (codex-image.ps1) belonging to a peer skill (codex-imagegen). The script dynamically resolves the path to this dependency using standard environment variables such asCLAUDE_CONFIG_DIRor the user profile path. - [PROMPT_INJECTION]: The skill presents an 'Indirect Prompt Injection' surface by processing user-provided input and interpolating it into instructions for the AI.
- Ingestion points: External data enters the prompt context via the
-SectionPromptand-StyleSpecparameters inscripts/taste-image.ps1. - Boundary markers: The skill uses structural headers like
ROLE:,MEDIUM LOCK:, andLOCKED STYLE SPEC:to provide context and separate instruction blocks from user-supplied data. - Capability inventory: The skill is restricted to calling local PowerShell scripts and reading/writing files within its own or specified output directories.
- Sanitization: A dedicated routine in
scripts/taste-image.ps1replaces double-quotes and various Unicode 'smart quotes' (e.g., U+201C, U+201D) with single-quotes. It also flattens whitespace characters. This logic is explicitly documented as a security measure to prevent user input from escaping the prompt string and causing unintended behavior in downstream command-line shims.
Audit Metadata