commit
Pass
Audited by Gen Agent Trust Hub on Mar 29, 2026
Risk Level: SAFE
Full Analysis
- [DYNAMIC_CONTEXT_INJECTION]: The skill utilizes the dynamic injection syntax (
!command) in the header context to provide the agent with the current state of the git repository (e.g.,git status,git diff,git log). These commands are benign, execute locally to gather metadata, and are essential for the skill's intended functionality. - [COMMAND_EXECUTION]: The skill instructs the agent to perform specific git operations like
git addandgit commit. The scope of these operations is limited by theallowed-toolsconfiguration in the YAML frontmatter, ensuring the agent remains within a controlled execution environment. - [DATA_EXPOSURE]: The instructions explicitly include a security review step, directing the agent to check for sensitive patterns such as
.envfiles, secrets, and credentials before staging files. This proactive approach mitigates the risk of accidental data exposure in the commit history. - [INDIRECT_PROMPT_INJECTION]: While the skill ingests untrusted data in the form of unstaged file changes (via
git diff), the risk is mitigated by explicit instructions to identify sensitive content and the requirement for user confirmation if grouping is ambiguous. Given that processing diffs is the primary purpose of the skill, the inherent risk is well-managed.
Audit Metadata