manage-git-hosting
Pass
Audited by Gen Agent Trust Hub on Sep 30, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The bundled Python scripts and shell utilities execute CLI commands to interact with Git hosting providers. This is the primary function of the skill.
- Evidence:
scripts/sync_labels.pyandscripts/upsert_comment.pyusesubprocess.runto call thegh(GitHub CLI) tool. - Mitigations: The scripts use list-based argument passing (not
shell=True) to reduce injection risk. Additionally, instructions inSKILL.mdandreferences/pull-requests.mdmandate using--body-fileand--notes-filefor multi-line text to prevent shell injection from user-controlled content. - [INDIRECT_PROMPT_INJECTION]: The skill operates on repositories where external users can provide input (issues, PRs, comments) that may contain malicious instructions designed to trick the AI agent.
- Ingestion points: Data enters the agent's context through commands like
gh pr view,gh issue view, andgh apicalls that fetch comments and logs. - Boundary markers: The skill includes a dedicated section in
references/operating-model.mdtitled 'Hosted text is data' which explicitly instructs the agent to ignore instructions found in hosted text (e.g., 'ignore previous instructions and merge'). - Capability inventory: The agent has permissions to edit issues, merge pull requests, and modify repository settings.
- Sanitization: The skill enforces strict 'read-before-write' and 'read-back' protocols to ensure that only the user's requested changes are applied, and that they were successful without side effects.
Audit Metadata