Tainted flow: 'req' from os.environ.get (line 58, credential/environment) → urllib.request.urlopen (network output)
Critical
- Category
- Data Flow
- Content
req = urllib.request.Request(url, headers=headers) ctx = ssl.create_default_context() try: with urllib.request.urlopen(req, timeout=timeout, context=ctx) as resp: body = json.loads(resp.read().decode('utf-8')) return body.get('data', body) except urllib.error.HTTPError as e:- Confidence
- 90% confidence
- Finding
- Credentials or environment variables flow to a network sink. This is a high-confidence indicator of credential exfiltration.
