Tainted flow: 'req' from os.environ.get (line 150, credential/environment) → urllib.request.urlopen (network output)
Critical
- Category
- Data Flow
- Content
headers={"Authorization": f"Bearer {key}", "Accept": "application/json"}, ) try: with urllib.request.urlopen(req, timeout=20) as r: data = json.loads(r.read().decode()) except Exception: return []- Confidence
- 72% confidence
- Finding
- The skill reads SIMMER_API_KEY from the environment and transmits it in an Authorization header to an external HTTPS endpoint. Although this is expected for authenticated API access and not obviously malicious, environment-derived secrets are being sent over the network, which increases exposure if the endpoint, DNS, proxy configuration, or TLS trust path is compromised. In a trading skill with live-order capability, credential misuse could affect account data and trading actions.
