local-review-codex
Pass
Audited by Gen Agent Trust Hub on Oct 8, 2026
Risk Level: SAFECOMMAND_EXECUTIONPRIVILEGE_ESCALATIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The
run.shscript performs several command-line operations usinggit(such asrev-parse,merge-base,ls-files,diff, andlog) to gather repository state and invokes thecodexCLI tool to perform the code review. - [PRIVILEGE_ESCALATION]: The
SKILL.mdfile advises users to usesudowhen installing the@openai/codexpackage globally, which involves granting the installation process administrative system permissions. - [EXTERNAL_DOWNLOADS]: The skill requires the user to install the
@openai/codexpackage from the official npm registry, which is a well-known service provided by a trusted organization. - [INDIRECT_PROMPT_INJECTION]: The skill has an indirect prompt injection surface because it reads arbitrary file content and diffs from the local repository and includes them in a prompt for an external LLM.
- Ingestion points: The
run.shscript reads the contents ofREVIEW.md, the output ofgit diff, and the full contents of all untracked files identified bygit ls-files. - Boundary markers: There are no explicit delimiters or specific instructions in the constructed prompt to isolate the code being reviewed and prevent the LLM from following instructions embedded within that code.
- Capability inventory: The script executes the
codexCLI tool, which communicates with an external LLM service to process the review prompt. - Sanitization: The skill does not perform any sanitization or validation of the file contents or git diff data before appending it to the prompt.
Audit Metadata