Tainted flow: 'url' from os.environ.get (line 45, 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 if cached and cached['etag']: headers['If-None-Match'] = cached['etag'] try: with urlopen(Request(url, headers=headers), timeout=30) as response: payload = validate_catalog(json.load(response)) etag = response.headers.get('ETag', '') except HTTPError as error:
