Tainted flow: 'sub_url' from requests.get (line 229, network input) → requests.get (network output)
Medium
- Category
- Data Flow
- Content
continue if sub_url.startswith("//"): sub_url = "https:" + sub_url body = requests.get(sub_url, headers=headers, timeout=10).json() if "body" in body: return body["body"] except Exception:- Confidence
- 88% confidence
- Finding
- The script takes subtitle_url from remote API data and performs a second request while reusing headers that may include the user's Bilibili Cookie. If a malicious or compromised upstream response supplies an unexpected absolute URL, the script could leak authentication cookies to another host or be used for limited SSRF-style outbound access.
