git-commit-cn
Pass
Audited by Gen Agent Trust Hub on Feb 17, 2026
Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- Command Execution (SAFE): The skill executes
git diff,git status, andgit committo manage repository changes. These commands are standard for a developer tool and are executed within the local context without elevated privileges. - Indirect Prompt Injection (LOW): The skill ingests untrusted code changes which could contain malicious instructions meant to influence the agent.
- Ingestion points: Output of
git diffandgit diff --stagedare processed by the agent to generate commit messages. - Boundary markers: Absent. The instructions do not specify any delimiters to isolate the diff data from instructions.
- Capability inventory: The agent executes a generated
git commitshell command. - Sanitization: Absent. The skill does not sanitize the code content before analysis, making it susceptible to malicious comments that could manipulate the output or the generated command.
- Prompt Injection (LOW): The skill includes a rule to explicitly omit the
Co-Authored-Bysignature, which is an instruction to hide the AI's involvement in the generated content. - Dynamic Execution (LOW): The skill constructs and executes a shell command for
git commitusing a HEREDOC string at runtime. While the use of single quotes for the delimiter is a standard practice, the dynamic assembly of the command by the agent is a low-risk behavior.
Audit Metadata