Is there anything preventing other applications from connecting to the web socket server and messing up with the application state? Or is that possible "by design"?
So it's possible for any page on the net (eg evil.com) to connect to your socket and exfiltrate any data.
Make sure all tabs are closed and never visit any sites with advertising on it while this is running.
[1]: https://github.com/Pithikos/python-websocket-server/issues/1...
I understand that the generic answer will be along the lines: "well, if you have local access, you're never safe", but there is zero protection here. Anything local can connect to it and impersonate the "front end".