Tainted flow: 'API_KEY' from os.environ.get (line 21, 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 def probe_url(url): """Check accessibility and metadata of a remote audio/video URL.""" res = requests.post(PROBE_URL, json={"url": url}, headers={"textops-api-key": API_KEY}) res.raise_for_status() return res.json()
