setup-pre-commit
Fail
Audited by Snyk on Nov 25, 2026
Risk Level: CRITICAL
Full Analysis
CRITICAL E004: Prompt injection detected in skill instructions.
- Potential prompt injection detected (medium risk: 0.30). The skill's stated purpose is setting up pre-commit hooks, and nothing in it deceives or attacks the user, but step 8 tells the agent to stage and commit all changed files, which could sweep unrelated uncommitted user work into a commit without asking.
MEDIUM W013: Attempt to modify system services in skill instructions.
- Attempt to modify system services in skill instructions detected (low risk: 0.10). The skill installs Husky and writes a committed pre-commit hook that runs on every commit, which is an ambiguous persistent change to repo tooling, but it causes no explicit irreversible operational loss (no deletions, and existing Prettier config is preserved), so the tier is capped at low.
Issues (2)
E004
CRITICALPrompt injection detected in skill instructions.
W013
MEDIUMAttempt to modify system services in skill instructions.
Audit Metadata