cmd-codex-review-plan
Pass
Audited by Gen Agent Trust Hub on Apr 29, 2026
Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill instructs the agent to execute a series of bash commands, including
mktempfor temporary file creation,catfor file writing, andrmfor cleanup. It also invokes thecodex execbinary, which is a vendor-provided CLI tool used to perform the plan review. - [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection because it processes implementation plans that may contain untrusted or externally-influenced data.
- Ingestion points: Implementation plans are retrieved from the conversation history or previous agent outputs.
- Boundary markers: The plan data is passed to the external
codextool via standard input (stdin), providing a clear separation between the tool's instructions and the data being processed. - Capability inventory: The skill utilizes file system access (writing and deleting temporary files) and the execution of the
codexCLI tool. - Sanitization: The skill employs a quoted heredoc (
'PROMPT') for the Codex review instructions to prevent shell variable expansion and uses stdin for the plan content to mitigate command injection risks.
Audit Metadata