Skip to content

harden(gh/glab/gt): wrap GitHub/GitLab/git-town CLIs with secure_* helpers (chain to git) #50

Closed

Description

@thehoff

Codex pre-release review. gh, glab, gt all wrap or shell out to git internally; today they spawn via raw resolved_command so the parent env still reaches the git process. Need secure_gh_command / secure_glab_command / secure_gt_command modelled on secure_git_command. Same env-strip list (since they chain to git) plus tool-specific extras (e.g. GH_TOKEN, GH_CONFIG_DIR, GH_PAGER, GLAB_CONFIG_DIR — see research-agent report for the full enumeration).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions