Undeclared Tool Scope
- Category
- MCP Least Privilege
- Confidence
- 88% confidence
- Finding
The skill instructs agents to invoke a local executable over arbitrary repository roots and files, but it declares no explicit tool scope such as allowed tools or permissions. Even though the description claims 'no network' and positions the tool as benign indexing, the effective capability surface includes shell execution and filesystem access, which can expand what an agent is able to do without policy constraints. In agent environments, missing scope declarations increase the risk of overbroad file access, unintended writes during index creation, or misuse of the executable if the binary or path is replaced.
- Content
