codex-subagent
Pass
Audited by Gen Agent Trust Hub on Oct 13, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill instructs the agent to execute
codex execto perform autonomous coding tasks. It also utilizesgitfor worktree management andmktempto handle temporary output files. - [EXTERNAL_DOWNLOADS]: Fetches the
@openai/codexCLI package from OpenAI's official registry usingnpmorbrewfor installation. - [INDIRECT_PROMPT_INJECTION]:
- Ingestion points: The
codex execcommand inSKILL.mdaccepts a free-form string as a task prompt which may contain untrusted data if the parent agent is delegating content from external sources (e.g., PR comments, issue descriptions). - Boundary markers: The instructions do not specify the use of delimiters or 'ignore' instructions to encapsulate the subagent's task prompt.
- Capability inventory: The skill explicitly configures the
workspace-writesandbox and permits optionalnetwork_access, granting the subagent the ability to modify the local filesystem and make network calls. - Sanitization: There are no instructions for sanitizing or escaping the content before it is interpolated into the subagent's execution command.
Audit Metadata