Tainted flow: 'req' from os.environ.get (line 46, credential/environment) → urllib.request.urlopen (network output)
Critical
- Category
- Data Flow
- Content
req = urllib.request.Request(SIGNAL_URL, headers=headers, method="GET") try: with urllib.request.urlopen(req, timeout=20) as resp: body = resp.read().decode("utf-8") payload = json.loads(body) return {"status": resp.status, "data": summarize(payload)}- Confidence
- 93% confidence
- Finding
- with urllib.request.urlopen(req, timeout=20) as resp:
