gh-cli
Fail
Audited by Snyk on Dec 1, 2026
Risk Level: CRITICAL
Full Analysis
CRITICAL E004: Prompt injection detected in skill instructions.
- Potential prompt injection detected (medium risk: 0.30). The skill is a legitimate gh CLI reference with no obfuscation, pretexts, lookalike destinations, or covert triggers, but its
--adminmerge examples are mislabeled and tell the agent to bypass required checks, which weakens a protection beyond what the advertised task needs.
HIGH W007: Insecure credential handling detected in skill instructions.
- Insecure credential handling detected (medium risk: 0.30). The skill's listed setup commands include
gh auth token(line 74, under "View active token") andgh auth status --show-token(line 369), which print the live credential into the model's context when run, though the main login path keeps the value out.
MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).
- Third-party content exposure detected (medium risk: 0.30). The skill's documented commands (
gh issue view --comments,gh pr view --comments,gh issue list,gh pr list,gh search issues/prs) read GitHub issue and PR titles, bodies, and comments, which any outsider can post on public repositories without the agent selecting a specific item first.
MEDIUM W013: Attempt to modify system services in skill instructions.
- Attempt to modify system services in skill instructions detected (low risk: 0.10). The skill exposes available gh operations that change shared GitHub operational systems (e.g.,
gh workflow disable,gh secret set/delete,gh variable set/delete,gh repo delete --yes,gh cache delete --all,gh repo deploy-key add), but no supplied text establishes unrecoverable loss of operational state, so the irreversible-loss gate fails.
Issues (4)
E004
CRITICALPrompt injection detected in skill instructions.
W007
HIGHInsecure credential handling detected in skill instructions.
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
W013
MEDIUMAttempt to modify system services in skill instructions.
Audit Metadata