git-hooks

Warn

Audited by Gen Agent Trust Hub on Mar 23, 2026

Risk Level: MEDIUMPROMPT_INJECTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDATA_EXFILTRATION
Full Analysis
  • [PROMPT_INJECTION]: The skill contains instructions explicitly designed to bypass user interaction and oversight: 'You are in AUTONOMOUS MODE. Do NOT ask questions. Do NOT pause for confirmation.' This overrides the agent's standard behavior of seeking confirmation for impactful actions like installing packages or modifying system configurations.
  • [COMMAND_EXECUTION]: The skill performs extensive shell command execution based on the detected project stack and user-provided arguments. It runs commands such as npm install, pip install, go install, brew install, and git commit across multiple phases.
  • [EXTERNAL_DOWNLOADS]: The skill downloads and installs various third-party packages and configurations. It fetches pre-commit hooks from GitHub repositories including astral-sh/ruff-pre-commit and pre-commit/mirrors-mypy. It also uses go install to fetch lefthook directly from a remote repository.
  • [DATA_EXFILTRATION]: The telemetry section includes logic to search for and write to a hidden directory in the user's home folder (~/.claude/projects/). It appends execution metadata, including the date and outcome, to skill-telemetry.md. While described as telemetry, this represents an automated file write to a sensitive path without explicit user consent for the specific operation.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Mar 23, 2026, 10:58 AM
Security Audit — agent-trust-hub — git-hooks