git-hooks-setup
Warn
Audited by Snyk on Feb 15, 2026
Risk Level: MEDIUM
Full Analysis
MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).
- Third-party content exposure detected (high risk: 0.70). The .pre-commit-config.yaml explicitly references public GitHub repositories (e.g., https://github.com/pre-commit/pre-commit-hooks, https://github.com/psf/black, etc.) which the pre-commit framework will fetch and execute during install/run, exposing the agent to untrusted third-party code/content.
Audit Metadata