generate-pr

Pass

Audited by Gen Agent Trust Hub on Jul 24, 2026

Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill uses established command-line tools (git and gh) to interact with local and remote repositories.\n- [SAFE]: It implements a safety-first approach by instructing the agent to identify and exclude secrets, ignored files, and unrelated changes from the PR scope.\n- [SAFE]: The procedure mitigates command injection risks by writing PR descriptions to a temporary file (/tmp/pr-body.md) and using the --body-file flag with the GitHub CLI, which prevents shell-escaping issues associated with arbitrary markdown content.\n- [SAFE]: The agent is required to seek explicit user confirmation for destructive or sensitive operations, such as resolving merge conflicts, changing base branches, or altering repository history.\n- [PROMPT_INJECTION]: The skill processes external data, creating an indirect prompt injection surface.\n
  • Ingestion points: Commit messages, branch names, and repository-provided PR templates (SKILL.md).\n
  • Boundary markers: None explicitly specified to separate untrusted commit/template data from agent instructions.\n
  • Capability inventory: Execution of shell commands via git and gh CLI (SKILL.md).\n
  • Sanitization: Uses --body-file to handle external content safely during PR creation, which prevents the content from being interpreted as shell arguments (SKILL.md).
Audit Metadata
Risk Level
SAFE
Analyzed
Jul 24, 2026, 12:17 PM