Intent-Code Divergence
Medium
- Confidence
- 95% confidence
- Finding
- The document's security section is misleading: it states the scripts only output text and do not run commands, yet the hook configuration explicitly executes shell scripts via a command hook. This can cause users to underestimate the trust boundary and deploy executable hooks with the agent's privileges, increasing the risk of unintended code execution from modified or substituted scripts.
