Context-Inappropriate Capability
Medium
- Confidence
- 96% confidence
- Finding
- The script hard-codes an extremely broad Slack scope set, including write, history, management, search, and email-read permissions, even though an authentication helper only needs the minimum scopes required for the actual installed app. If a token obtained through this helper is stolen or misused, the blast radius is much larger than necessary: it can read conversations, write messages, manage channels, and access user email data across a workspace.
