Context-Inappropriate Capability
Medium
- Confidence
- 94% confidence
- Finding
- The destination path is built from a user-controlled --skill-name and then deleted with rm -rf or overwritten via rsync --delete under an agent root. Because the script does not validate SKILL_NAME for path separators, traversal, or reserved values, a caller can target arbitrary paths beneath or relative to the agent skill directory (for example via nested paths or .. segments), causing unintended deletion or replacement of directories.
