Tainted flow: 'text' from sys.stdin.read (line 326, user input) → requests.post (network output)
Medium
- Category
- Data Flow
- Content
if not key: return DetectorResult("GPTZero", None, "no API key (set GPTZERO_API_KEY)") try: r = requests.post( "https://api.gptzero.me/v2/predict/text", headers={"x-api-key": key, "Content-Type": "application/json"}, json={"document": text},- Confidence
- 94% confidence
- Finding
- User-supplied text is transmitted to a third-party AI detector API without any explicit consent, warning, or data-classification guard. If users paste confidential drafts, client data, or regulated content, the tool can cause unintended external disclosure to multiple vendors.
