Context-Inappropriate Capability
High
- Confidence
- 98% confidence
- Finding
- This is a real command-injection risk. The script builds a shell command string containing the user-supplied directory path and exclusion fragments, then executes it with eval; if the directory argument contains shell metacharacters or crafted quoting, arbitrary commands can run with the privileges of the hook or analysis process. In this skill's context, that is especially dangerous because git hooks and repo-analysis tooling often process attacker-controlled repository paths or run automatically on developer machines and CI.
