commit-with-context
Pass
Audited by Gen Agent Trust Hub on Sep 9, 2026
Risk Level: SAFEDYNAMIC_CONTEXT_INJECTIONINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [DYNAMIC_CONTEXT_INJECTION]: The skill uses the
!commandsyntax inSKILL.mdto retrieve real-time data from the local environment, includinggit status,git diff, andgit branch. These commands are benign and standard for a version control utility, providing the agent with the necessary context to generate accurate commit messages. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data from the repository's worktree through Git diff commands. This exposes a vulnerability surface where malicious strings inside code changes could influence the agent's behavior during commit message generation. However, the skill's capabilities are limited to Git operations and do not include high-risk actions like network exfiltration.
- Ingestion points: Git diff output loaded via dynamic context markers in
SKILL.md. - Boundary markers: Absent; the skill does not explicitly instruct the agent to ignore instructions embedded within the diff content.
- Capability inventory:
git add,git commit,git status, andgit logcommands. - Sanitization: None; the raw diff content is processed directly to generate commit summaries.
- [COMMAND_EXECUTION]: The skill instructs the agent to execute Git commands (
add,commit) to manage changes. These operations are essential to the skill's function and are constrained to standard developer workflows without escalation or unauthorized access.
Audit Metadata