Tainted flow: 'body' from os.environ.get (line 162, 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 failure = None for attempt in range(1, ATTEMPTS + 1): try: with request.urlopen(request.Request(f'{_base_url()}{path}', data=body, method=method, headers=headers), timeout=300) as response: return json.loads(response.read()).get('data'), response.headers except error.HTTPError as exc: try:
