skills/kjanat/skills/commit/Gen Agent Trust Hub

commit

Pass

Audited by Gen Agent Trust Hub on Apr 16, 2026

Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
  • [SAFE]: The skill implements strict "Hard Safety Gates" that prioritize safety over generic instructions, specifically preventing accidental git commit --amend or --no-verify usage unless explicitly requested.
  • [SAFE]: Includes a "Push Gate" that defaults to no pushing and requires an explicit push flag, protecting against unauthorized remote updates.
  • [COMMAND_EXECUTION]: Employs sophisticated "Heredoc Safety Rules" (e.g., using <<'EOF' in isolated shell calls) specifically designed to prevent command injection or accidental execution of malicious content within commit messages.
  • [SAFE]: Implements a history protection check (git branch -r --contains HEAD) before allowing an amend operation, ensuring that already-pushed commits are not accidentally rewritten.
  • [SAFE]: Utilizes "Staging Gates" to prevent accidental addition of files (git add -A) when specific context or existing staged changes are present.
Audit Metadata
Risk Level
SAFE
Analyzed
Apr 16, 2026, 01:27 AM
Security Audit — agent-trust-hub — commit