codex-pr
Pass
Audited by Gen Agent Trust Hub on Oct 11, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDYNAMIC_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill ingests data from sources such as git commit messages, repository diffs, and pull request templates, which could be influenced by external contributors.
- Ingestion points: The
scripts/preflight.shscript reads git history and diffs, whilescripts/validate-description.shparses thePR_AGENTDESC.mdfile and.github/pull_request_template.md. - Boundary markers: Metadata is encapsulated in YAML frontmatter using
---delimiters, and the script logic separates the title from the body to maintain structure. - Capability inventory: The skill utilizes
git pushto update remote branches andgh pr create/editto publish changes to GitHub. - Sanitization:
scripts/validate-description.shenforces rules to detect unclosed code fences, survivors of instructional comments, and unresolved placeholder markers like TODO or FIXME. - [COMMAND_EXECUTION]: The skill executes multiple local shell scripts to automate repository operations and GitHub CLI interactions.
scripts/create-pr.shperforms branch pushing and interacts with the GitHub API to create or update pull requests.scripts/preflight.shgathers repository metadata usinggitandghtools to prepare the agent's context.- The skill relies on
miseto run alint-pr-descriptiontask, which is a project-specific development dependency. - [EXTERNAL_DOWNLOADS]: The skill interacts with GitHub's infrastructure to fetch and synchronize repository data.
scripts/preflight.shperforms agit fetchoperation from the origin repository.scripts/create-pr.shusesghto resolve labels, milestones, and issue references against the GitHub API.- [DYNAMIC_EXECUTION]: The scripts use dynamic command invocation for automation and timeout handling.
scripts/preflight.shutilizesperlto executegit fetchwith an alarm-based timeout mechanism.scripts/create-pr.shdynamically builds argument lists forgh pr createbased on the parsed contents of the pull request draft.
Audit Metadata