git-batch-commit
Pass
Audited by Gen Agent Trust Hub on Oct 11, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The skill uses Python's
subprocess.runwith list-based arguments to execute localgitcommands for analysis and commit creation. This is a standard and safe method for CLI integration. - [INDIRECT_PROMPT_INJECTION]: The skill analyzes untrusted data from
git diffoutput andSKILL.mdfrontmatter to generate commit messages. This data is interpolated into the agent's context. While the skill uses regex and templates to sanitize and structure this input, it remains an attack surface where malicious code in a diff could attempt to influence the agent's subsequent actions. - Ingestion points:
scripts/generate_commit_message.pyandscripts/categorize_changes.pyingest output fromgit diffand file contents. - Boundary markers: Absent. The scripts do not explicitly wrap the generated messages in delimiters to warn the agent about embedded instructions.
- Capability inventory: The skill executes
gitcommands (diff, commit, write-tree) and documents the use ofclawhubandskillhubfor publishing. - Sanitization: The
analyze_diff_contentfunction inscripts/generate_commit_message.pyuses regex patterns to extract specific headers, function names, and keywords rather than passing raw diff content. - [EXTERNAL_DOWNLOADS]: The documentation and code prompt the user to install the
PyYAMLlibrary from the official Python package index (PyPI) if it is missing.
Audit Metadata