Tainted flow: 'headers' from os.environ.get (line 127, credential/environment) → requests.post (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 logger.info("MiniMax TTS: %s voice=%s", text[:40], self.voice) try: r = requests.post(self.API_URL, json=body, headers=headers, timeout=30) data = r.json() except Exception as e: raise RuntimeError(f"MiniMax API 请求失败: {e}")
