codex-orchestration
Pass
Audited by Gen Agent Trust Hub on Sep 28, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTIONPERSISTENCE
Full Analysis
- [COMMAND_EXECUTION]: The skill provides numerous patterns for executing shell commands using the
codexandagybinaries. Includes logic for background execution, timeout management, and output redirection to temporary files. It mandates closing stdin (< /dev/null) on all headless calls to prevent infinite hangs in background shells. - [INDIRECT_PROMPT_INJECTION]: The skill establishes an attack surface for indirect prompt injection as it is designed to process external project data through secondary LLM agents.
- Ingestion points: External data is ingested via
codex execfile arguments andagystdin/directory flags. - Boundary markers: The skill provides task-specific prompt templates but does not implement strict boundary delimiters for untrusted content.
- Capability inventory: The delegate CLIs have capabilities for file system modification and network communication.
- Sanitization: Mitigation is provided through instructions to use mandatory sandboxing flags (
--sandbox,-s read-only) and ephemeral sessions. - [DYNAMIC_EXECUTION]: The
verify-codex-install.shscript utilizes dynamic execution for environment verification. It usespython3 -cto extract version information from local JSON state files and executes CLI binaries with help flags to map available commands. - [PERSISTENCE]: The skill provides instructions for persistent integration by adding Codex as an MCP server in the agent's configuration settings, ensuring the capability remains available across sessions.
Audit Metadata