heyeddi-pr-respond
Pass
Audited by Gen Agent Trust Hub on Sep 4, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONDYNAMIC_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill ingests PR comments and review bodies which are untrusted external data sources.
- Ingestion points: The
fetch_pr_comments.pyscript retrieves comment data from the GitHub API (inline, discussion, and reviews) and stores it in a temporary cache for processing. - Boundary markers: The skill uses
_untrusted_doc.pyto wrap all external content with<<<UNTRUSTED_EXTERNAL_CONTENT>>>markers and an explicit warning to the agent to treat the content as data only. - Capability inventory: The skill has capabilities to execute
git commit,git push, andgh api(to post replies), and can run project-defined build or test tools viadiscover_and_verify.py. - Sanitization: The
wrap_comment_bodiesfunction recursively sanitizes free-text fields likebodyanddiff_hunkbefore the agent reads them. - [COMMAND_EXECUTION]: The
discover_and_verify.pyscript executes shell commands to verify code changes. - It scans the repository for
package.jsonscripts,pytestconfiguration,Makefiletargets, and language-specific test commands (go test,cargo test). - Command execution is performed via
subprocess.runwithshell=Falseusing absolute paths resolved byshutil.whichto prevent path injection. - [DYNAMIC_EXECUTION]: The skill dynamically determines which commands to run based on the project environment.
- It identifies and executes build scripts and test suites defined in standard configuration files like
package.jsonorMakefileto verify fixes before they are pushed. - This behavior is consistent with the skill's primary purpose of PR maintenance and is protected by the untrusted content wrapping logic.
Audit Metadata