git-commit
Fail
Audited by Gen Agent Trust Hub on Feb 17, 2026
Risk Level: HIGHPROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [Prompt Injection] (HIGH): The skill is vulnerable to Indirect Prompt Injection (Category 8) as it processes untrusted file content to generate commit messages.
- Ingestion points: File content and changes are ingested via
git diffandgit diff --stagedinSKILL.md. - Boundary markers: None. There are no delimiters or explicit instructions to the agent to treat diff content as data rather than instructions.
- Capability inventory: The agent can execute arbitrary shell commands via the
Bashtool, specificallygit addandgit commit. - Sanitization: No sanitization or escaping of the diff content is performed before the agent analyzes it.
- [Command Execution] (MEDIUM): The skill uses the
Bashtool to executegitcommands. While the commands themselves are standard, the input to these commands (file paths and generated commit messages) is derived from untrusted external sources (the repository being analyzed), which could lead to command injection if the agent is subverted.
Recommendations
- AI detected serious security threats
Audit Metadata