Tainted flow: 'params' from os.getenv (line 101, credential/environment) → requests.get (network output)
Critical
- Category
- Data Flow
- Content
'page': 1, 'page_size': 10 } resp = requests.get(url, params=params) resp.raise_for_status() data = resp.json() if data.get('code') != 0:- Confidence
- 90% confidence
- Finding
- The Tencent Ads access token is placed in the URL query parameters of a GET request, which increases the chance of credential leakage via logs, proxies, browser history equivalents, monitoring systems, or upstream infrastructure that records URLs. Although the destination is the legitimate Tencent API, transmitting secrets in the query string is an unsafe pattern and can expose long-lived credentials.
