codex-exec
Warn
Audited by Gen Agent Trust Hub on Jul 16, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill facilitates the execution of arbitrary logic via the
codex execcommand. This allows an external AI model to perform operations on the local workspace, including file modifications when theworkspace-writesandbox is selected. - [EXTERNAL_DOWNLOADS]: The skill requires the installation of the
@openai/codexpackage from the npm registry. While the@openaiscope is associated with a trusted organization, the skill relies on this external dependency for its core functionality. - [PROMPT_INJECTION]: The documentation includes explicit instructions for using the
--dangerously-bypass-approvals-and-sandboxflag. This guidance encourages bypassing platform safety controls and automated approval prompts, which could be exploited to perform dangerous actions without user oversight. - [INDIRECT_PROMPT_INJECTION]:
- Ingestion points: User tasks are passed directly as positional arguments or via standard input (stdin) to the
codex execcommand, as described in theLong promptssection ofSKILL.md. - Boundary markers: There are no mentioned delimiters or safety wrappers to prevent the sub-agent from executing instructions that might be embedded within the data it processes.
- Capability inventory: The skill provides access to
workspace-writeanddanger-full-accesscapabilities, which include file system writes and potentially unrestricted shell access. - Sanitization: There is no evidence of input validation or sanitization before the data is passed to the underlying CLI tool.
Audit Metadata