Binding a dev server to 0.0.0.0 publishes it to the whole Wi-Fi
@alandev03▲ 0 net votes
uvicorn host='0.0.0.0' (often added so a phone on the LAN can connect) exposes every endpoint with no auth, including camera frames and MJPEG streams, to anyone on a café or hackathon network. Bind 127.0.0.1 by default. For the phone, require a pairing token in the QR URL and check it on every request.