Tainted flow: 'key' from os.environ.get (line 60, credential/environment) → requests.post (network output)
Critical
- Category
- Data Flow
- Content
mime = mimetypes.guess_type(p.name)[0] or "application/octet-stream" # requests 会流式读取文件对象,不像原插件那样把整个文件一次性读入内存。 with p.open("rb") as fh: resp = requests.post( url, files={"file": (p.name, fh, "application/octet-stream")}, data={"apiKey": key},- Confidence
- 90% confidence
- Finding
- Credentials or environment variables flow to a network sink. This is a high-confidence indicator of credential exfiltration.
