iterate-pr

Pass

Audited by Gen Agent Trust Hub on Sep 13, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
  • [COMMAND_EXECUTION]: The bundled Python scripts (fetch_pr_checks.py, fetch_pr_feedback.py, monitor_pr_checks.py, and reply_to_thread.py) use subprocess.run() to execute gh (GitHub CLI) commands. While this is the intended functionality for interacting with the repository, it involves shell execution. The scripts mitigate risk by casting pull request numbers to integers and using json.dumps() to escape message bodies before interpolation into GraphQL queries.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted external data which serves as a surface for indirect prompt injection attacks.
  • Ingestion points: External data is ingested in scripts/fetch_pr_checks.py (which fetches and parses CI failure logs) and scripts/fetch_pr_feedback.py (which fetches pull request review comments and conversation threads from GitHub).
  • Boundary markers: The ingested data is returned as structured JSON objects to the agent, providing structural delimiters; however, there are no specific instructions or markers within the text content to warn the agent to ignore embedded commands or instructions.
  • Capability inventory: The agent utilizing this skill has significant capabilities, including modifying source code, executing local tests and build tools via uv, and performing git push operations.
  • Sanitization: The scripts perform categorization (e.g., priority levels for feedback) but do not sanitize, filter, or escape the textual content of the logs or comments before presenting them to the agent for processing.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 13, 2026, 10:37 AM