codex-images
Warn
Audited by Gen Agent Trust Hub on Oct 20, 2026
Risk Level: MEDIUMEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDATA_EXFILTRATION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill instructs the user to install
@openai/codexvia npm andcodexvia Homebrew. These are not established or standard packages from OpenAI for this purpose, which represents a supply chain risk where a malicious package could be installed on the host system. - [COMMAND_EXECUTION]: The skill constructs shell commands using
codex execandcpwith various placeholders (<out>,<n>,<name>,<IMAGE_PATH>). There is no evidence of sanitization for these variables, which could lead to command injection if the user-provided slug or name contains shell metacharacters. - [INDIRECT_PROMPT_INJECTION]: User-provided image descriptions are interpolated directly into a system-level prompt passed to the
codex exectool. The tool is granted workspace write permissions (-s workspace-write), creating a surface where a malicious prompt could attempt to manipulate files in the project despite the included negative constraints. - [DATA_EXPOSURE]: The instructions direct the agent to list and read files from the user's home directory (
~/.codex/generated_images/) to recover from tool failures. While this is for functional purposes, it establishes a pattern of accessing sensitive directory paths outside the immediate project scope.
Audit Metadata