GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||
GeezerVison is showing github.com — Python: taint is lost through list.extend, list.insert and += , but not list.append · Issue #22305 · github/codeql Closed DescriptionSummaryCodeQL's Python taint tracking propagates through I'm reporting the asymmetry rather than the incompleteness: ReproducerEach snippet is the same flow — a request parameter reaching # reported def handler(): user = request.args.get("cmd") acc = [user] subprocess.call(acc[0], shell=True) # reported def handler(): user = request.args.get("cmd") acc = [] acc.append(user) subprocess.call(acc[0], shell=True) # NOT reported def handler(): user = request.args.get("cmd") acc = [] acc.extend([user]) subprocess.call(acc[0], shell=True) # NOT reported def handler(): user = request.args.get("cmd") acc = [] acc.insert(0, user) subprocess.call(acc[0], shell=True) # NOT reported def handler(): user = request.args.get("cmd") acc = [] acc += [user] subprocess.call(acc[0], shell=True) Results
Environment
Controls
Note
Reacted by Copilot Activity
| ||||||||||||||||
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |