How VNC works
RFB stands for Remote Framebuffer. A VNC server runs where the screen is. A VNC client connects to it, sends keyboard and mouse input, and receives screen updates. The server sends an update only when the client asks for one.
Why sandboxes use it
A person can watch an agent's desktop sandbox through a VNC client. noVNC runs in a browser. It needs a WebSocket proxy to reach the VNC server. noVNC is open source under the MPL-2.0 license.
What VNC does not do
RFC 6143 provides no security beyond an optional password check, and that check is weak. The protocol does not protect the data stream. Wrap the connection in TLS or an SSH tunnel. VNC shows a screen. It does not isolate the code on that screen. The sandbox does that.
What to check on a provider
- Whether the provider gives a VNC endpoint, a browser view, or both.
- Whether a person can type into the desktop, or only watch it.
- Whether the connection uses TLS.
- Whether the view needs a password or a token.
Referencerfc-editor.org