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 in SKILL.md.
  • Boundary markers: The skill recommends using a heredoc (cat <<'EOF') for the --body flag, which is a good security practice to prevent command substitution in the description. However, no boundary markers or sanitization steps are provided for the --title argument.
  • Capability inventory: The skill uses gh pr create and gh 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 generated gh command.
  • [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
Risk Level
SAFE
Analyzed
Nov 2, 2026, 08:15 AM