Tainted flow: 'headers' from os.environ.get (line 47, 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 "x-ekyc-install-id": os.environ.get("EKYC_INSTALL_ID"), } headers.update({key: value for key, value in optional.items() if value}) response = requests.post( f"{endpoint}/api/v1/tools/{tool}", json={"file": media_input(file_input)}, headers=headers,
