create-pr
Pass
Audited by Gen Agent Trust Hub on Nov 12, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest data from potentially untrusted external sources to automatically populate pull request descriptions.
- Ingestion points: The skill reads data from repository history via
git logandgit diff, and from external GitHub issues viagh issue view. - Boundary markers: Although the instructions recommend using shell heredocs (
EOF) to wrap the PR body, the final output is still interpolated directly into thegh pr createcommand string. - Capability inventory: The skill utilizes powerful CLI tools including
gitandgh(GitHub CLI), which can modify repository state and interact with remote services. - Sanitization: No sanitization or escaping of the ingested content is specified. If an attacker provides a malicious issue title or commit message containing shell metacharacters (e.g.,
"); [malicious_command]; #), they could potentially escape the intended command structure and execute arbitrary shell commands. - [COMMAND_EXECUTION]: The skill operates by executing various shell commands (
git,gh) based on templates. While these are standard tools, the pattern of constructing shell commands from external, unsanitized strings increases the risk profile of the skill.
Audit Metadata