Tainted flow: 'req' from os.environ.get (line 58, credential/environment) → urllib.request.urlopen (network output)
Critical
- Category
- Data Flow
- Content
req = Request(url, data=body, headers=headers, method=method) try: with urlopen(req) as response: return json.loads(response.read().decode()) except HTTPError as e: error_body = e.read().decode()- Confidence
- 94% confidence
- Finding
- The request destination and credentials are both influenced by environment configuration, and the script sends the Supabase key in both the apikey and Authorization headers to whatever base URL is configured. If LOBSTER_TANK_URL is changed to an attacker-controlled host, the tool will exfiltrate the anon or service key and any submitted content via an outbound HTTP request.
