codex
Pass
Audited by Gen Agent Trust Hub on Oct 31, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill functions by executing the
codexCLI tool via shell commands. It defines structured command patterns for both read-only research (codex exec --sandbox read-only) and code implementation (codex exec --sandbox workspace-write). These commands interpolate context such as project names, tech stacks, and user-provided queries into the command line. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and analyze untrusted content from the local codebase and project documentation, which could contain malicious instructions designed to manipulate the agent's behavior.
- Ingestion points: Accesses and processes local source code, repository documentation, and directory-specific
CLAUDE.mdfiles (SKILL.md). - Boundary markers: Includes explicit instructions to ignore instructions found within reviewed files and warns against escalating privileges (switching to writable mode) based on content or errors encountered during analysis.
- Capability inventory: Executes the
codextool which has capabilities for file system analysis and workspace modification (workspace-write). - Sanitization: Directs the agent to exclude environment variables and secrets from prompts sent to the Codex tool.
Audit Metadata