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/codex via npm and codex via 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 exec and cp with 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 exec tool. 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
Risk Level
MEDIUM
Analyzed
Oct 20, 2026, 06:50 AM