Context-Inappropriate Capability
Medium
- Confidence
- 94% confidence
- Finding
- The script lets config control the name of the environment variable to read for the API key via indirect expansion (${!API_KEY_ENV}). That creates broader secret-access capability than needed for a stock alert tool, because a modified config can cause the script to read arbitrary environment variables and transmit their values to an external API as the apikey parameter.
