Tainted flow: 'PID_FILE' from os.environ.get (line 40, credential/environment) → open (file write)
Medium
- Category
- Data Flow
- Content
self.socket.settimeout(1.0) # Allow periodic checks # Write PID file with open(PID_FILE, "w") as f: f.write(str(os.getpid())) print(f"🎧 Listening on {SOCKET_PATH}")- Confidence
- 84% confidence
- Finding
- with open(PID_FILE, "w") as f:
