git-commit
Pass
Audited by Gen Agent Trust Hub on Sep 10, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data from the local repository (via
git diff) to generate commit messages and determine commit types. An attacker could potentially embed malicious instructions within code comments or documentation that the agent might misinterpret as instructions. - Ingestion points:
SKILL.md(Step 1 in flows) reads data usinggit diff --stagedandgit diff. - Boundary markers: The skill explicitly instructs the agent to "not invent" information and mandates a manual confirmation step ("Propuesta de commit") for every operation.
- Capability inventory: The skill can execute local git commands (
git add,git commit,git reset,git restore) as defined in the "Flujo" sections ofSKILL.md. - Sanitization: Automated secret scanning is performed using
grep(defined inreferences/secret-detection.md) to detect and block the inclusion of credentials or sensitive file types before committing. - [COMMAND_EXECUTION]: The skill utilizes several local shell commands to interact with the Git version control system.
- Evidence:
SKILL.mdandreferences/secret-detection.mdinclude commands such asgit status,git diff,git add,git commit, and a complexgreppipeline for secret detection. These are restricted to the local environment and are standard for the skill's purpose.
Audit Metadata