skills/nicolasakf/.agents/git-commit/Gen Agent Trust Hub

git-commit

Pass

Audited by Gen Agent Trust Hub on Jun 22, 2026

Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill instructs the agent to execute git CLI tools (git add, git commit, git status) to manage the local repository. It proactively mitigates risk by defining a list of prohibited commands, specifically banning network-reaching operations such as git push, git pull, and git fetch, as well as destructive operations like git reset --hard.
  • [PROMPT_INJECTION]: The skill exhibits a surface for indirect prompt injection because it processes untrusted content from the repository tree to generate commit messages.
  • Ingestion points: The agent reads potentially attacker-controlled content from the local working tree via git status and git diff output (Workflow Step 1).
  • Boundary markers: The instructions lack explicit delimiters or warnings to the agent to disregard instructions found within the code diffs it analyzes.
  • Capability inventory: The agent possesses the capability to stage files and generate/execute commit commands based on the analyzed data.
  • Sanitization: No validation or sanitization is applied to the diff output before it is used as context for the agent's message generation.
Audit Metadata
Risk Level
SAFE
Analyzed
Jun 22, 2026, 12:53 AM
Security Audit — agent-trust-hub — git-commit