Tainted flow: 'request' from os.environ.get (line 54, credential/environment) → urllib.request.urlopen (network output)
- Category
- Data Flow
- Confidence
- 90% confidence
- Finding
Credentials or environment variables flow to a network sink. This is a high-confidence indicator of credential exfiltration.
- Content
python method="POST", ) try: with urllib.request.urlopen(request, timeout=self.timeout, context=self.context) as response: body = response.read().decode("utf-8") content_type = response.headers.get("Content-Type", "") except urllib.error.HTTPError as error:
