Tainted flow: 'sid' from input (line 54, user input) → subprocess.run (code execution)
- Category
- Data Flow
- Confidence
- 90% confidence
- Finding
External input (network, user) flows to a code execution sink. This enables remote code execution or command injection.
- Content
python if ask_yes("现在立即测试一次?"): import subprocess subprocess.run([sys.executable, str(BASE_DIR / "claim.py"), "--config", str(path), "--site", sid]) return 0
