Tainted flow: 'url' from os.environ.get (line 109, credential/environment) → requests.get (network output)
Critical
- Category
- Data Flow
- Content
try: url = f'https://finnhub.io/api/v1/quote?symbol={code}&token={FINNHUB_KEY}' r = requests.get(url, timeout=10).json() if r.get('c'): # current price return {- Confidence
- 94% confidence
- Finding
- r = requests.get(url, timeout=10).json()
