Undeclared Tool Scope
- Category
- MCP Least Privilege
- Confidence
- 91% confidence
- Finding
The skill requires access to a sensitive environment variable (
GUAIKEI_API_TOKEN) but does not declare an explicit tool scope such aspermissionsorallowed-tools. That omission weakens least-privilege guarantees and can cause the runtime or calling agent to grant broader capabilities than necessary, increasing the risk of unintended secret exposure or misuse.- Content
