github-label-agent-issues
Pass
Audited by Gen Agent Trust Hub on Mar 9, 2026
Risk Level: SAFEPROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [PROMPT_INJECTION]: The skill exhibits an indirect prompt injection surface by processing untrusted data from GitHub issue titles and bodies to perform heuristic scoring and automated labeling.
- Ingestion points:
scripts/label_agent_issues.pyfetches issue titles and bodies using thegh issue listcommand. - Boundary markers: No boundary markers or instructions to ignore embedded commands are present when processing the issue data.
- Capability inventory: The skill possesses the capability to create and apply labels, post comments with mentions, and assign milestones via the
ghCLI. - Sanitization: There is no evidence of sanitization or escaping of issue content before it is used in heuristic calculations or interpolated into comments.
- [COMMAND_EXECUTION]: The script performs automated actions using the
ghandgitcommand-line interfaces. - Evidence:
scripts/label_agent_issues.pyusessubprocess.runto execute commands such asgh label create,gh issue edit, andgh issue comment. - Context: While the script uses the safer list-of-arguments format for
subprocess.run, the arguments are partially derived from untrusted issue data, which could lead to unexpected CLI behavior if not properly handled by the underlying tool.
Audit Metadata