gh
Pass
Audited by Gen Agent Trust Hub on Oct 3, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTIONDYNAMIC_CONTEXT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill fetches the latest GitHub CLI release and binary assets from official GitHub domains (
api.github.comandgithub.com). This is documented inscripts/setup_gh.pywhich implements SHA256 verification and uses a secure extraction process (implementing filters to prevent path traversal). These sources are recognized as trusted, well-known services. - [COMMAND_EXECUTION]: Several scripts use the
subprocessmodule to interact with the environment. For example,scripts/setup_gh.pyexecutesgit remote get-url originto detect the repository slug, andscripts/github_project_setup.pyexecutes theghCLI to perform GraphQL queries. These commands are targeted and do not use shell execution for arbitrary input. - [DYNAMIC_CONTEXT_INJECTION]: The
SKILL.mdfile uses the exclamation-backtick syntax (!) to executescripts/setup_gh.py --detect-onlyat load time. This command is used to auto-detect repository information and render usage examples into the agent's context. This operation is limited to local metadata detection and does not perform network calls in this mode. - [INDIRECT_PROMPT_INJECTION]: The skill processes backlog item data to create and manage GitHub issues in
scripts/github_project_setup.py. While this presents an injection surface, the script uses thePyGithublibrary for structured API calls, providing inherent sanitization and boundary markers for external data. - [DYNAMIC_EXECUTION]: Test files such as
tests/test_github_project_setup.pyandtests/test_setup_gh.pyuseimportlibto dynamically load and test the skill's scripts as modules. This is a standard pattern for automated testing in this context.
Audit Metadata