Tainted flow: 'req' from os.getenv (line 348, 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 ) try: req = urllib.request.Request(info_url) with urllib.request.urlopen(req, timeout=30) as response: result_data = json.loads(response.read().decode("utf-8")) except urllib.error.URLError as e: raise Exception(f"get_video_audio_info: failed to fetch video info: {e}")
