gh-pr-codex-review-loop
Pass
Audited by Gen Agent Trust Hub on Sep 30, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data from GitHub pull request comments and review feedback, which are provided by external contributors.
- Ingestion points: The
scripts/pr-review-loop.mjsscript retrievescomments,reviews, andreviewThreadscontent via the GitHub GraphQL API. - Boundary markers: The skill instructions do not specify any boundary markers or delimiters to isolate the ingested data from the agent's instructions, which may lead the agent to follow instructions embedded in comments.
- Capability inventory: The skill has significant write capabilities, including the ability to push commits to the repository, resolve review threads, and perform squash merges on pull requests.
- Sanitization: No sanitization or filtering is applied to the ingested text before it is presented to the agent for classification and action.
- [COMMAND_EXECUTION]: The skill performs repository operations using the GitHub CLI (
gh) and Git, authenticated with a provided token. - The bundled script
pr-review-loop.mjsusesexecFileSyncto rungh pr viewandgh api graphql. - The
SKILL.mdinstructions direct the agent to executegit pushandgh pr mergecommands. - All operations use the
GITHUB_BOT_TOKENenvironment variable for authorization. - The skill specifies a fixed path in the installation directory for its bundled script (
$HOME/.agents/skills/...) to mitigate the risk of script shadowing attacks from the repository root.
Audit Metadata