skills/sentimony/skills/gh-switch/Gen Agent Trust Hub

gh-switch

Pass

Audited by Gen Agent Trust Hub on Nov 23, 2026

Risk Level: SAFECOMMAND_EXECUTIONCREDENTIALS_UNSAFEEXTERNAL_DOWNLOADSDYNAMIC_EXECUTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill executes git, gh, and ssh commands to determine repository state and switch CLI accounts.
  • [CREDENTIALS_UNSAFE]: It reads and processes GITLAB_TOKEN values stored in .env/.env files. It implements a masking mechanism to prevent these tokens from appearing in logs or output.
  • [DYNAMIC_EXECUTION]: It uses the subprocess module to run external tools with arguments derived from Git remote URLs and user-defined configuration files.
  • [EXTERNAL_DOWNLOADS]: It performs HTTPS GET requests to the GitLab API (e.g., https://{host}/api/v4/user) to validate that the provided token matches the expected account.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 23, 2026, 11:25 PM