Intent-Code Divergence
Medium
- Confidence
- 98% confidence
- Finding
- The security section materially understates what these hooks do: the documented configuration invokes shell scripts via a command hook, which is code execution in the agent's context. Mislabeling that behavior as 'only output text' can cause operators to enable the feature without appreciating that arbitrary script logic may run with the same permissions as the client.
