Tainted flow: 'token' from os.environ.get (line 1231, credential/environment) → requests.get (network output)
Critical
- Category
- Data Flow
- Content
}), file=sys.stderr) sys.exit(1) _log(f"Fetching Telegram file info: {args.telegram_file_id}") r = requests.get( f"https://api.telegram.org/bot{token}/getFile", params={"file_id": args.telegram_file_id}, timeout=(CONNECT_TIMEOUT, READ_TIMEOUT),- Confidence
- 90% confidence
- Finding
- The Telegram bot token is embedded directly in the request URL, which can leak via logs, proxies, process diagnostics, exception traces, or upstream observability systems. Because this skill's stated purpose is video generation, introducing cross-service token use broadens credential exposure beyond the core function and increases blast radius if mishandled.
