Committing executes Git hook code configured for the repository
Source references: 2The skill runs `git commit`, explicitly says not to use `--no-verify` in normal operation, and directs the agent to address hook failures. Hooks are therefore part of the expected execution path. Their actual code comes from the repository or local Git configuration and is not included in the supplied source.
In an untrusted repository, a malicious or modified commit hook could run commands with the user's permissions, read accessible files or credentials, and alter the machine or workspace. The supplied evidence does not establish that any malicious hook is present.
The skill actively runs `git commit` and says not to use `--no-verify` unless requested, so applicable Git commit hooks are normally allowed to run. If the repository or local environment supplies malicious or unexpected hooks, they may execute commands during the commit and affect files or credentials. No hook code is included, so its actual behavior cannot be determined. A user can require applicable hooks to be listed and reviewed first, or restrict execution in an untrusted repository.
### 4. Execute Commit```bash# Single linegit commit -m "<type>[scope]: <description>"Show 1 other places
- NEVER run destructive commands (--force, hard reset) without explicit request- NEVER skip hooks (--no-verify) unless user asks- NEVER force push to main/master- If commit fails due to hooks, fix and create NEW commit (don't amend)