Context-Inappropriate Capability
Medium
- Confidence
- 95% confidence
- Finding
- The script expands its credential access surface by reading EM_API_KEY not only from the process environment but also directly from the user's ~/.bashrc. That behavior reaches into unrelated shell configuration and implicitly harvests secrets without clear user consent, which is unnecessary for a trading refresh operation and increases the chance of unintended credential exposure or misuse.
