Tainted flow: 'req' from os.environ.get (line 296, credential/environment) → urllib.request.urlopen (network output)
Critical
- Category
- Data Flow
- Content
req = _lf_Request(url, headers={"User-Agent": "LinkFox-Skill/2.0"}) try: with _lf_urlopen(req, timeout=timeout) as resp: if guessed_ext == "bin": ct = resp.headers.get("Content-Type", "") if "mp4" in ct:- Confidence
- 93% confidence
- Finding
- The script downloads arbitrary URLs from `resultList` using `download_media()`, and those URLs originate from a remote API response rather than a trusted local constant. Because only the scheme is checked, a compromised service or attacker-controlled response could force the skill to make outbound requests to unexpected hosts and download unbounded content, enabling SSRF-like network access and local disk consumption.
