Tainted flow: 'timeout' from os.getenv (line 34, credential/environment) → urllib.request.urlopen (network output)
Critical
- Category
- Data Flow
- Content
def fetch_json(url: str, timeout: int) -> dict: req = urllib.request.Request(url, headers={"User-Agent": "codex-skill"}) with urllib.request.urlopen(req, timeout=timeout) as resp: return json.loads(resp.read().decode("utf-8"))- Confidence
- 90% confidence
- Finding
- Credentials or environment variables flow to a network sink. This is a high-confidence indicator of credential exfiltration.
