Tainted flow: 'api_key' from os.environ.get (line 17, 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 if not api_key: return {"error": "TAVILY_API_KEY not set"} response = requests.post( 'https://api.tavily.com/search', json={ 'api_key': api_key,
