create-pr
Pass
Audited by Gen Agent Trust Hub on Nov 17, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill performs git operations and GitHub CLI actions to manage branches, push changes, and create or update pull requests. These commands (e.g.,
git merge,git push,gh pr create) are necessary for the skill's stated purpose of pull request management. - [INDIRECT_PROMPT_INJECTION]: The skill processes potentially untrusted data from the local repository and GitHub, including git diffs and pull request metadata, creating an attack surface for indirect prompt injection.
- Ingestion points: Untrusted content is ingested via
git diff,git status, andgh pr viewcommands. - Boundary markers: The skill instructs the agent to read back the published title and body with
gh pr viewto verify the final output. - Capability inventory: The agent has the ability to execute git commands and modify pull request content via the
ghCLI. - Sanitization: The skill contains a strong security instruction to 'Never interpolate text into a shell command' and specifically mandates writing the PR body to a temporary file and using the
--body-fileflag with theghcommand, effectively mitigating the risk of command injection from external repository content.
Audit Metadata