custom-skills-git-commit
Pass
Audited by Gen Agent Trust Hub on Aug 28, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data from repository history (
git log) and code differences (git diff) to generate automated commit messages and PR summaries. This creates a surface where malicious content in a repository's history could influence the agent's behavior. - Ingestion points: The files
pr-analyze.mdandcommit.mdexecute commands to read git logs and diffs, passing the output into the agent's context for summarization. - Boundary markers: Absent. The instructions do not define clear delimiters or use specialized prompts to isolate the external git data from the agent's core instructions.
- Capability inventory: The skill possesses capabilities to modify the repository and interact with remote services, including
git commit,git push(inpush.mdandpr.md), andgh pr create(inpr.md). - Sanitization: Absent. There is no evidence of filtering or sanitizing the content of commit messages or diffs before they are processed by the AI.
- [COMMAND_EXECUTION]: The skill is designed to execute a wide variety of shell commands using the
gitandghbinaries. These operations include branch management, history rewriting viagit reset --softandgit rebase, and authenticated network operations via the GitHub CLI. While these are necessary for the skill's functionality, they provide the mechanism through which an injection attack could potentially reach the underlying system or remote repository.
Audit Metadata