Tainted flow: 'req' from os.environ.get (line 2250, credential/environment) → urllib.request.urlopen (network output)
Critical
- Category
- Data Flow
- Content
).hexdigest() url = f"https://fapi.binance.com/fapi/v2/balance?{query}&signature={sig}" req = urllib.request.Request(url, headers={"X-MBX-APIKEY": BINANCE_API_KEY}) with urllib.request.urlopen(req, timeout=10) as resp: data = json.loads(resp.read()) for asset in data: if asset.get("asset") == "USDT":- Confidence
- 88% confidence
- Finding
- The code uses BINANCE_API_KEY and BINANCE_SECRET_KEY to sign and send authenticated requests to Binance for account balances, which exceeds the stated Uniswap V3 LP management scope. In an agent-skill context, silently accessing a separate exchange account materially broadens the blast radius and can expose sensitive financial metadata to the skill's outputs and notifications.
