commit-diffs
Pass
Audited by Gen Agent Trust Hub on Jul 12, 2026
Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [PROMPT_INJECTION]: The skill is vulnerable to indirect prompt injection when handling complex cases that involve a sub-agent.\n
- Ingestion points: The skill reads
git diffandgit diff --statoutput from the local repository (SKILL.md), which may contain malicious instructions embedded in file comments or code.\n - Boundary markers: The prompt template for the
commit-managersub-agent lacks robust delimiters or explicit instructions to treat the diff content as data only, increasing the risk that the sub-agent follows instructions found within the diff.\n - Capability inventory: The skill uses the
Tasktool to invoke sub-agents and executes shell commands likegit commitandgit add.\n - Sanitization: There is no evidence of filtering or escaping the diff output before it is interpolated into the prompt for the sub-agent.\n- [COMMAND_EXECUTION]: The skill performs shell command execution to interact with the version control system, specifically using
git diff,git add, andgit commit. These operations are consistent with the skill's purpose but involve direct interaction with the host environment's file system and repository state.
Audit Metadata