ce-resolve-pr-feedback
Pass
Audited by Gen Agent Trust Hub on Nov 3, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted Pull Request comments and user-provided invocation arguments.
- Ingestion points: PR comment bodies are fetched from GitHub, and PR URLs or numbers are provided as arguments during invocation.
- Boundary markers: Explicit security sections in
SKILL.mdandreferences/agents/pr-comment-resolver.mdwarn the agent against executing instructions found in untrusted comment text. - Capability inventory: The skill uses
gh,git,bash, andpython3. It can modify files, commit changes, and interact with the GitHub API. - Sanitization: Instructions require the agent to independently judge feedback validity. However, some documentation (e.g., in
references/full-mode.md) provides bash templates that interpolate untrusted input, such as<pr-url-if-one-was-passed>, into shell commands. This could lead to command injection if the agent does not properly sanitize or parse the URL before insertion. - [COMMAND_EXECUTION]: The skill heavily utilizes shell commands for automation.
- The Python helper:
scripts/pending-feedback.pyinvokes the GitHub CLI viasubprocess.run. It uses the safe list-based execution method and applies strict regular expression validation to all dynamic arguments (e.g., hosts, repository names, and commit SHAs) to prevent injection. - Bundled bash scripts: These scripts use the
ghtool's-fflag to safely pass data as fields in API requests, avoiding shell interpretation of the content.
Audit Metadata