Tainted flow: 'req' from os.environ.get (line 42, credential/environment) → urllib.request.urlopen (network output)
Critical
- Category
- Data Flow
- Content
url = f"http://{GATEWAY_HOST}:{GATEWAY_PORT}/connectors/meteora/clmm/pool-info?network=mainnet-beta&poolAddress={address}" req = urllib.request.Request(url, headers={"Accept": "application/json"}) try: with urllib.request.urlopen(req, timeout=10) as resp: return json.loads(resp.read().decode()), None except urllib.error.URLError as e: return None, f"Gateway not reachable at {GATEWAY_HOST}:{GATEWAY_PORT}"- Confidence
- 85% confidence
- Finding
- with urllib.request.urlopen(req, timeout=10) as resp:
