Tainted flow: 'req' from open (line 40, file read) → urllib.request.urlopen (network output)
High
- Category
- Data Flow
- Content
"content": json.dumps(out), }).encode() req = urllib.request.Request("https://api.telegra.ph/editPage/" + path, data=data, method="POST") with urllib.request.urlopen(req, timeout=20) as r: edited = json.load(r) print("ok", edited.get("ok")) if edited.get("ok"):- Confidence
- 96% confidence
- Finding
- The script loads a Telegraph access token from a local secrets file and uses it to perform an authenticated POST to edit a remote Telegraph page. This is a real tainted-data-to-network issue because sensitive local data directly enables external state-changing behavior unrelated to the declared skill purpose, creating risk of unauthorized content manipulation and covert misuse of host credentials.
