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, andreply_to_thread.py) usesubprocess.run()to executegh(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 usingjson.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) andscripts/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 performinggit pushoperations. - 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