gh-cli

Pass

Audited by Gen Agent Trust Hub on Dec 1, 2026

Risk Level: SAFECOMMAND_EXECUTIONPRIVILEGE_ESCALATIONEXTERNAL_DOWNLOADSCREDENTIALS_UNSAFEDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONMETADATA_POISONING
Full Analysis
  • [COMMAND_EXECUTION]: Provides a comprehensive command reference for the GitHub CLI (gh), allowing the agent to perform repository management, authentication, and workflow operations via Bash with broad tool grants.
  • [PRIVILEGE_ESCALATION]: Includes installation examples for Linux environments that utilize sudo to configure system-wide package repositories and install the gh binary.
  • [EXTERNAL_DOWNLOADS]: Fetches the official GitHub CLI GPG key and repository configuration from cli.github.com during the installation process.
  • [CREDENTIALS_UNSAFE]: Documents authentication workflows involving tokens and environment variables (GH_TOKEN), including an option for insecure plain-text storage (--insecure-storage).
  • [DYNAMIC_EXECUTION]: Describes capabilities for installing third-party extensions (gh extension install) and creating custom shell aliases (gh alias set --shell), which can modify or extend the agent's executable environment.
  • [INDIRECT_PROMPT_INJECTION]: Provides functionality to read data from external sources such as GitHub issues, pull requests, and repository comments, which could contain instructions that influence the agent's subsequent actions.
  • [METADATA_POISONING]: The skill's internal metadata identifies an author name that differs from the verified publisher, and the documentation contains future-dated versioning information.
Audit Metadata
Risk Level
SAFE
Analyzed
Dec 1, 2026, 06:45 AM