git-ops
Pass
Audited by Gen Agent Trust Hub on May 18, 2026
Risk Level: SAFEPROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection because it processes untrusted external data and interpolates it directly into subagent prompts without boundary markers or sanitization.
- Ingestion points: Untrusted data enters the context through
git log(commit messages),gh pr view(PR titles and descriptions), andgit showorcat(file contents during conflict resolution). - Boundary markers: The dispatch templates in
SKILL.mduse simple string interpolation (e.g.,{user intent},{relevant summary}) without using XML-like tags, delimiters, or explicit instructions for the subagent to ignore embedded commands within that data. - Capability inventory: The
git-agentand its fallbackgeneral-purposeagent have the capability to perform write operations, including committing code, pushing to remotes, and deleting branches/tags via theBashtool. - Sanitization: No sanitization, escaping, or validation logic is applied to the retrieved Git metadata or file contents before they are passed to the subagent.
- [COMMAND_EXECUTION]: The skill uses the
Bashtool to execute a wide range of Git and GitHub CLI (gh) commands. This includes the execution of local scripts if the user or agent utilizes thegit bisect runfunctionality documented inreferences/advanced-git.md.
Audit Metadata