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 git and grep in SKILL.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 diff output.
  • Ingestion points: The output of git diff --staged and git diff is read by the agent to summarize changes and detect secrets in SKILL.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
Risk Level
SAFE
Analyzed
Nov 17, 2026, 12:09 AM