Tainted flow: 'params' from os.environ.get (line 36, credential/environment) → requests.get (network output)
Critical
- Category
- Data Flow
- Content
} try: response = requests.get(base_url, params=params, timeout=10) response.raise_for_status() return response.json() except requests.exceptions.RequestException as e:- Confidence
- 98% confidence
- Finding
- The request sends the AviationStack API key from an environment variable to a third-party service over plain HTTP, so the credential and query can be intercepted or modified by anyone on the network path. This is not merely normal API usage because the transport is explicitly insecure, making the tainted flow materially exploitable.
