Missing User Warnings
Medium
- Confidence
- 93% confidence
- Finding
- The document explicitly instructs hook authors to emit copy-pasteable destructive shell commands such as `rm -rf ...` for users to run. Even though it recommends `shlex.quote` for shell safety, that only mitigates injection; it does not address the human-factors risk of normalizing one-click deletion commands without an explicit warning, confirmation step, or safer alternative. In a hook-authoring skill focused on validation and enforcement, this pattern is more dangerous because it is likely to be reused across multiple hooks and presented as a best practice.
