github-multi-account

Pass

Audited by Gen Agent Trust Hub on Nov 27, 2026

Risk Level: SAFEPERSISTENCECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [PERSISTENCE]: The skill modifies the PowerShell profile ($PROFILE.CurrentUserAllHosts) to add permanent functions and aliases (gh-personal, gh-work, ghp, ghw). It also persists changes to the user's PATH environment variable by adding a custom directory (~\.squad\bin) using [Environment]::SetEnvironmentVariable("PATH", "$binDir;$userPath", "User").
  • [COMMAND_EXECUTION]: It creates and writes executable batch files (ghp.cmd, ghw.cmd) to the file system to serve as command wrappers for the GitHub CLI.
  • [DYNAMIC_EXECUTION]: The skill dynamically generates script content based on user-provided usernames and writes it to configuration files that the shell automatically executes during startup or when the commands are called.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data from the gh auth status command and user input to construct shell scripts. It lacks sanitization when interpolating these usernames into the PowerShell profile block ($block = @"..."@) and CMD files, creating a vulnerability surface if an account name contains malicious injection characters.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 27, 2026, 08:56 PM