glab
Pass
Audited by Gen Agent Trust Hub on Jul 8, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The installation scripts fetch repository configurations and packages from official GitLab domains.
- Evidence:
scripts/install.shandscripts/install.ps1targethttps://repo.gitlab.comto configure the system package manager. - [REMOTE_CODE_EXECUTION]: The skill utilizes a remote execution pattern for automated repository setup on Linux distributions.
- Evidence:
scripts/install.shexecutes a script directly fromrepo.gitlab.comusing thecurl | sudo bashpattern. - [COMMAND_EXECUTION]: The skill performs shell command execution to interact with the
glabCLI and manages packages viasudoduring the installation phase. - Evidence:
scripts/glab-auth-status.shandscripts/glab-preflight.shexecuteglabcommands;scripts/install.shusessudo apt installandsudo dnf install. - [PROMPT_INJECTION]: The skill creates a surface for indirect prompt injection by reading untrusted, user-generated content from GitLab into the agent's context.
- Ingestion points: The skill reads merge request descriptions, issue comments, and CI logs via
glab mr view,glab issue list, andglab ci traceas documented inreferences/command-cookbook.md. - Boundary markers: Absent. No specific delimiters are used to separate GitLab data from agent instructions.
- Capability inventory: The skill can perform sensitive operations including creating/closing issues, merging code, and uploading release assets.
- Sanitization: No specific sanitization or instruction-filtering is applied to the data retrieved from GitLab.
- [SAFE]: The skill implements proactive measures to protect credentials by sanitizing terminal output.
- Evidence:
scripts/glab-auth-status.shusessed -E '/[Tt]oken:/d'to ensure that GitLab Personal Access Tokens (PATs) are not included in the diagnostic logs or displayed to the user.
Audit Metadata