codex-image-generation
Pass
Audited by Gen Agent Trust Hub on Sep 1, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The skill instructs the agent to use the
codex execCLI tool to perform image generation tasks. It implements security controls by requiring the--sandbox workspace-writeparameter and explicitly forbidding the use of flags that would bypass security approvals or the sandbox environment. - [INDIRECT_PROMPT_INJECTION]: The skill processes user-provided prompts to generate assets. It mitigates injection risks by using quoted shell heredocs (
<<'CODEX_IMAGE_REQUEST') to ensure prompt content is not interpreted as shell commands by the host environment. - Ingestion points:
PromptandChangefields inSKILL.mdtemplate blocks. - Boundary markers: Quoted heredoc delimiters are used to isolate user-supplied instructions from the shell.
- Capability inventory: Uses
codex execwith a restrictedworkspace-writesandbox. - Sanitization: Instructions require resolving all paths to absolute paths before execution to prevent directory traversal or ambiguity.
- [EXTERNAL_DOWNLOADS]: The skill provides reference links to source code and implementation details hosted on the official GitHub repository of a trusted organization.
Audit Metadata