Tainted flow: 'url' from os.environ.get (line 90, credential/environment) → requests.put (network output)
Critical
- Category
- Data Flow
- Content
log.write(f"Attempting send to {room_id} at {txn_id}\n") log.write(f"URL: {url}\n") resp = requests.put(url, headers=headers, json=payload, timeout=10) with open("/tmp/stt_matrix.log", "a") as log: log.write(f"Response: {resp.status_code}\n")- Confidence
- 95% confidence
- Finding
- The code constructs a request URL from MATRIX_HOMESERVER loaded from environment or home-directory .env files and then sends the transcription plus a bearer token to that destination. This enables sensitive transcript data and credentials to be transmitted to an attacker-controlled server if those values are poisoned, and it expands a supposedly local STT skill into a network-capable exfiltration path.
