create-commit
Pass
Audited by Gen Agent Trust Hub on Nov 17, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes multiple shell commands using
gitandgrepinSKILL.md. These commands are used to examine repository status, analyze staged code changes, and perform the final commit operation. - [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data from the local repository via
git diffoutput. - Ingestion points: The output of
git diff --stagedandgit diffis read by the agent to summarize changes and detect secrets inSKILL.md(Step 1 and Step 2). - Boundary markers: The instructions do not specify explicit delimiters or "ignore instructions" warnings for the diff content when the agent processes it.
- Capability inventory: The skill has the capability to write to the file system (via
git commit) and potentially trigger external pre-commit hooks. - Sanitization: The skill mitigates risks by requiring explicit user confirmation of the generated commit message and uses a quoted heredoc (
cat <<'EOF') to prevent shell command injection when recording the commit message.
Audit Metadata