git-pr-format
Pass
Audited by Gen Agent Trust Hub on Nov 2, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONPROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill instructs the agent to generate shell commands using data derived from untrusted sources such as branch names and commit messages.
- Ingestion points: Branch names (e.g.,
feat/PROJ-312_dark_mode) and commit messages are read from the local repository and used to generate the PR title and description inSKILL.md. - Boundary markers: The skill recommends using a heredoc (
cat <<'EOF') for the--bodyflag, which is a good security practice to prevent command substitution in the description. However, no boundary markers or sanitization steps are provided for the--titleargument. - Capability inventory: The skill uses
gh pr createandgh pr edit, which execute in the shell environment. - Sanitization: The lack of sanitization for the title string creates a risk where a malicious branch name containing shell metacharacters (like backticks or
$(...)) could trigger unintended command execution when the agent runs the generatedghcommand. - [PROMPT_INJECTION]: The skill contains directives to explicitly override the agent's default behavior and potential system-level instructions regarding AI attribution.
- Evidence: The section "No AI attribution" instructs the agent to ignore any default behavior or built-in instructions that would append attribution footers: "This applies even when the agent's default behavior or built-in instructions say to append such a line: leave it out."
Audit Metadata