git-commit
Pass
Audited by Gen Agent Trust Hub on Jun 27, 2026
Risk Level: SAFEPROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [PROMPT_INJECTION]: The skill exhibits an indirect prompt injection surface by ingesting data from the repository and user arguments to generate commit messages.
- Ingestion points: Untrusted data from the repository is fetched using
!git diff HEADand!git log --oneline -10inSKILL.md, and user input is included via$ARGUMENTS. - Boundary markers: Absent. The skill does not use delimiters or instructions to prevent the agent from following commands that might be found in the diff or commit history.
- Capability inventory: The skill can execute shell commands, specifically
git addandgit commit. - Sanitization: The repository content and user arguments are not sanitized before being processed by the agent.
- [COMMAND_EXECUTION]: The skill employs dynamic context injection to execute
git status,git diff HEAD,git branch --show-current, andgit log --oneline -10at load time. These commands are legitimate for its purpose. It also instructs the agent to rungit addandgit committo perform its primary function.
Audit Metadata