Context-Inappropriate Capability
Medium
- Confidence
- 97% confidence
- Finding
- Automatically scanning shell and PowerShell profile files to extract an API key exceeds the minimum privileges needed to perform an API-backed query. Reading these files can expose unrelated secrets, tokens, aliases, and personal configuration data, making credential overcollection and unintended disclosure more likely.
