Undeclared Tool Scope
- Category
- MCP Least Privilege
- Confidence
- 89% confidence
- Finding
The skill instructs use of a shell command (
diff/diff -u) but does not declare anypermissionsorallowed-toolsscope. That creates an undeclared capability boundary: an agent may invoke shell access for arbitrary file comparisons without explicit restriction, increasing the chance of unintended access to sensitive local paths or misuse of shell execution in a broader runtime.- Content
