workflow-git-commit
Pass
Audited by Gen Agent Trust Hub on Oct 7, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes standard git commands (
git diff,git status,git add,git commit) to manage the commit workflow. These operations are essential for the skill's stated purpose. - [INDIRECT_PROMPT_INJECTION]: The skill analyzes potentially untrusted data from the git diff to generate commit messages, which is a common surface for indirect prompt injection.
- Ingestion points: Reads change details using
git diff --stagedandgit status --shortin SKILL.md. - Boundary markers: The instructions do not define explicit boundary markers to wrap the diff content when the agent processes it.
- Capability inventory: The skill can perform file staging (
git add) and committing (git commit) as seen in SKILL.md. - Sanitization: The skill uses quoted heredocs (
'EOF') when constructing the commit command. This is a robust security measure that prevents the generated commit message (which could contain malicious characters or commands) from being executed by the shell.
Audit Metadata