Intent-Code Divergence
Medium
- Confidence
- 97% confidence
- Finding
- The document states the hook scripts only output text and do not run commands, but the examples configure them as command hooks and also document directly executing another script. This mismatch can mislead users into underestimating the trust and execution risk of these scripts, causing them to enable automatic code execution in their agent environment without appropriate review.
