Tainted flow: 'req' from os.environ.get (line 153, credential/environment) → urllib.request.urlopen (network output)
Critical
- Category
- Data Flow
- Content
"Accept": "application/json", "X-Subscription-Token": api_key, }) with urllib.request.urlopen(req, timeout=10) as resp: data = json.loads(resp.read()) results = [] for r in data.get("web", {}).get("results", []):- Confidence
- 90% confidence
- Finding
- Credentials or environment variables flow to a network sink. This is a high-confidence indicator of credential exfiltration.
