Tainted flow: 'get_api_key()' 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 help="Declare the counterparty wallet self-hosted (Travel Rule)") args = parser.parse_args() response = requests.post( ENDPOINT, headers={"x-api-key": get_api_key(), "Content-Type": "application/json"}, json=build_payload(args),
