commit-helper
Pass
Audited by Gen Agent Trust Hub on Sep 25, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes local
gitcommands via Python'ssubprocess.runto inspect repository state and perform commits. These executions are performed using list-based arguments without theshell=Trueflag, which is a standard security best practice to prevent command injection. - [INDIRECT_PROMPT_INJECTION]: The skill analyzes untrusted data from the repository, including commit messages, diff content, and documentation files (
README.md,CONTRIBUTING.md). - Ingestion points: The
scripts/inspect_commit_style.pyscript reads the output ofgit logandgit diff, as well as the text content of repository configuration and documentation files. - Boundary markers: The
SKILL.mdandAGENTS.mdfiles define a strict 'Invocation Boundary,' instructing the agent to avoid adding external harness metadata or workflow notes unless explicitly required by the repository or user. - Capability inventory: The skill has the capability to write to the repository using
git commitvia thescripts/draft_commit_message.pyscript. - Sanitization: Processing is limited to keyword extraction, regex matching, and style classification. The raw content of files is not directly interpolated into the agent's prompt in a way that would allow the content to be executed as instructions.
Audit Metadata