setup-skill-hook

Warn

Audited by Gen Agent Trust Hub on Sep 12, 2026

Risk Level: MEDIUMPERSISTENCEPRIVILEGE_ESCALATIONCOMMAND_EXECUTION
Full Analysis
  • [PERSISTENCE]: The skill installs a post-commit hook into the .git/hooks/ directory. This mechanism establishes persistence by ensuring specific code runs automatically every time a commit is generated in the repository.
  • [PRIVILEGE_ESCALATION]: The instructions recommend using sudo apt-get install jq for Linux users to install dependencies, which involves executing commands with administrative privileges.
  • [COMMAND_EXECUTION]: The skill performs shell-based operations, including executing the setup-skill-hook.sh script and using chmod +x to modify file permissions for the newly created Git hook.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Sep 12, 2026, 12:07 PM
Security Audit — agent-trust-hub — setup-skill-hook