gh-cli
Pass
Audited by Gen Agent Trust Hub on Mar 9, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process data from untrusted external GitHub repositories. This creates a surface for indirect prompt injection if the fetched files contain malicious instructions intended to manipulate the agent's behavior during analysis.
- Ingestion points:
SKILL.md(Quick Operations, Step 3: Fetch key files) andreferences/remote-analysis.mddescribe workflows for fetching file content usinggh api. - Boundary markers: Examples use shell redirection (e.g.,
> repo1-index.ts) to isolate content into files, but the subsequent manual analysis or grep operations requested inSKILL.md(Step 4: Analyze differences) expose the agent to the file contents. - Capability inventory: The skill utilizes shell command execution including
gh,jq,base64,diff, andgrepacross all workflows. - Sanitization: No explicit sanitization, validation, or "ignore embedded instructions" delimiters are implemented for the fetched remote content.
- [COMMAND_EXECUTION]: The skill guides the agent to perform a wide variety of shell-based operations using the GitHub CLI and local utilities like
jq,base64, anddiff. This is a core functional requirement of the skill but relies on the agent having significant local shell capabilities. - [EXTERNAL_DOWNLOADS]: The skill fetches repository metadata and file contents from the GitHub API (
api.github.com). As GitHub is a well-known and trusted service, these network operations are documented neutrally and do not contribute to verdict escalation.
Audit Metadata