git-commit
Pass
Audited by Gen Agent Trust Hub on Jul 12, 2026
Risk Level: SAFEPROMPT_INJECTION
Full Analysis
- [SAFE]: The skill enforces secure git practices by explicitly prohibiting the use of global additions (
git add .orgit add -A) and requiring selective indexing of files, which prevents the accidental inclusion of untrusted or sensitive data.\n- [SAFE]: The instructions include specific rules to identify and exclude files that typically contain sensitive information, such as.envfiles, credentials, and private keys (*.pem,id_rsa*).\n- [SAFE]: A mandatory human-in-the-loop validation step is required; the agent must present a detailed commit plan and obtain explicit user approval before performing any indexing or commit operations, significantly reducing the risk of unintended actions.\n- [PROMPT_INJECTION]: The skill has a surface for indirect prompt injection as it processes untrusted content from the repository's file system through commands likegit diffandgit status. However, this is assessed as safe due to the following evidence chain:\n - Ingestion points: Untrusted data enters the agent context via the output of
git status,git diff, andgit logas specified in the Step 1 (Inspecter) ofSKILL.md.\n - Boundary markers: The skill explicitly mandates a stop and wait for human validation ("S'ARRÊTER et attendre une validation explicite") after the planning phase, which acts as a robust boundary against automated exploitation.\n
- Capability inventory: The agent is authorized to use
git addandgit committo modify the project's history.\n - Sanitization: The agent is instructed to filter out sensitive file patterns and must present all proposed commit messages and file lists for manual review, allowing the user to detect any injected content before it is committed.
Audit Metadata