Context-Inappropriate Capability
Medium
- Confidence
- 90% confidence
- Finding
- The skill instructs the agent to execute a local shell command (`node .claude/skills/analyze/scripts/generate-madge.mjs`) to generate dependency graphs, even though the skill’s stated purpose is analysis and summarization. Allowing command execution during a broadly triggered analysis skill expands the attack surface: a malicious repository could influence script behavior, and the agent may perform unnecessary local execution on untrusted codebases.
