Context-Inappropriate Capability
Medium
- Confidence
- 94% confidence
- Finding
- The skill declares the `exec` tool even though the documented purpose is Mermaid diagram generation, which normally only requires text transformation and possibly file write/read access. Unnecessary command execution expands the attack surface significantly because prompt-controlled inputs could be routed into shell commands by the agent runtime or future skill logic, enabling arbitrary local actions unrelated to diagram rendering.
