Undeclared Tool Scope
- Category
- MCP Least Privilege
- Confidence
- 90% confidence
- Finding
The skill documentation describes operations that read and potentially modify local files, including in-place writes via
sort --write, but it declares nopermissionsorallowed-toolsscope. Without explicit tool restrictions, an agent may invoke file read/write capabilities more broadly than intended, increasing the risk of unauthorized modification of repository files or sensitive local data access. The context is moderately sensitive because the skill is specifically designed to process arbitrary requirement files supplied by users or CI workflows.- Content
