Intent-Code Divergence
Medium
- Confidence
- 93% confidence
- Finding
- The skill documents safe read-only inspection with quoted paths, but its execution path later says to run the original `rm` command after confirmation rather than reconstructing a sanitized command from validated arguments. If an attacker can influence the original command string, confirmation becomes a thin wrapper around potentially unsafe shell input, enabling metacharacter, globbing, or option-injection issues despite the earlier safety guidance.
