gitlab-cli-skills
Pass
Audited by Gen Agent Trust Hub on Nov 22, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted content from GitLab, such as issue titles and CI/CD job logs, which could potentially contain malicious instructions. The author has implemented several mitigations:
- Ingestion points: Data is fetched in
scripts/create-mr-from-issue.sh(issue titles) andscripts/ci-debug.sh(job logs). - Boundary markers: Scripts explicitly wrap external content in
--- BEGIN/END EXTERNAL CONTENT ---markers to inform the agent that the data is untrusted. - Capability inventory: Scripts utilize
gitandglabbinaries for project management. - Sanitization: The
create-mr-from-issue.shscript employs regex-based sanitization to clean issue titles before they are used in shell commands or branch names. - [COMMAND_EXECUTION]: The skill automates GitLab workflows by executing
glabandgitcommands. Specifically,scripts/mr-review-workflow.shallows for the execution of test commands (e.g.,npm test). To mitigate the risk of arbitrary code execution, the script enforces a strict allowlist (ALLOWED_COMMANDS) that only permits standard, well-known test runners. - [EXTERNAL_DOWNLOADS]: The skill provides instructions and automation for downloading the official
glabbinary and its optionalcosigndependency from trusted sources like Homebrew and GitLab's official releases. Theglab-duosub-skill also manages updates for the GitLab Duo AI binary from official GitLab infrastructure. - [DATA_EXPOSURE]: The skill is designed to handle GitLab authentication. It follows best practices by retrieving tokens via the official
glab auth tokencommand or reading from the standardglabconfiguration file (~/.config/glab-cli/config.yml), avoiding insecure hardcoded credentials.
Audit Metadata