glab-issue
Pass
Audited by Gen Agent Trust Hub on Nov 3, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data from the GitLab API, such as issue titles and descriptions, which serves as a surface for indirect prompt injection attacks.
- Ingestion Points: Data is ingested via
glab issue view,glab issue list, andglab issue notecommands. Specifically,scripts/create-mr-from-issue.shfetches the issue title from the API to generate branch names and commit messages. - Boundary Markers: The skill explicitly instructs the agent to "read and approve the file contents before posting them" and to "review the complete body and attachments... before approving the post."
- Capability Inventory: The skill has the capability to execute shell commands (
glab,git), write to the local file system (via redirections and scripts), and perform network operations through theglabCLI. - Sanitization: The
scripts/create-mr-from-issue.shscript implements sanitization for issue titles usingtrandsedto ensure they are safe for use as Git branch names, though it uses the raw title in commit messages. - [COMMAND_EXECUTION]: The skill utilizes shell scripts to automate multi-step workflows involving the
glabandgitcommand-line tools. - Evidence:
scripts/batch-label-issues.shandscripts/create-mr-from-issue.shfacilitate batch updates and branch management. These scripts use proper double-quoting for all shell variables (e.g.,"$LABEL","$ISSUE_TITLE","$ISSUE_ID") to prevent word splitting and command injection vulnerabilities during execution.
Audit Metadata