Tainted flow: 'VOLC_TTS_URL' from os.environ.get (line 22, credential/environment) → requests.post (network output)
Critical
- Category
- Data Flow
- Content
} print(f"Generating voice for: {text}") response = requests.post(VOLC_TTS_URL, headers=headers, json=payload, timeout=60) if response.ok: result = response.json()- Confidence
- 97% confidence
- Finding
- The destination URL for the TTS request is taken from an environment variable, so a modified runtime environment can redirect requests to an attacker-controlled host. Because the request contains user text and an API key header, this can exfiltrate sensitive content and credentials outside the intended provider.
