Portplane Docs

Security model

Portplane starts and stops processes, reads process information, connects to other machines and, when you ask, installs dekit and portless and runs portless's admin steps. This page says what it trusts, what it exposes and what it never does. Report vulnerabilities privately (see SECURITY.md).

What runs where

Component Runs as Listens on
portplane (app) You 127.0.0.1:<random port>, plus a portless alias portplane.localhost
portplane agent --stdio (remote) Your SSH user on that machine Nothing: it speaks over the SSH session's stdin and stdout
Remote app forwards You 127.0.0.1:<random port> per running remote app, aliased by portless
Installs of dekit, Node.js and portless You Nothing
Privileged portless steps, on your click root, after the system's password dialog Nothing of Portplane's; the portless proxy listens where you chose

Portplane never binds to a non-loopback address and refuses to (portplane serve --listen 0.0.0.0:… is an error).

The local API

The UI talks to the binary over HTTP on loopback (ADR-0008):

Limit: another user of the same computer can connect to loopback and read the token from the page. Portplane is meant for single-user developer machines.

The running instance also writes its port and token to <user cache dir>/portplane/instance.json (readable only by you), so a second portplane can ask it to show its window instead of starting twice.

The window on macOS

On macOS the UI opens in Portplane's own window, a system web view (WKWebView) that loads only http://127.0.0.1:<port> (ADR-0017). Any other web address opens in your default browser, and other schemes are refused. The web view keeps nothing on disk.

Remote machines

Installing tools

Portplane installs dekit, portless and, when you have no Node.js 24 or later, a private Node.js for portless (ADR-0019).

Privileged steps

A few portless steps need admin rights (ADR-0020): service install and uninstall, trust, hosts sync and clean, clean when you uninstall portless, and proxy start and stop on a port below 1024 or when the proxy runs as root. Two more, from the portless center (M5.2):

Limit: the Node.js and portless that run as root can live in folders you can write (Portplane's data folder, a user-owned npm prefix, Homebrew). A program running as you could change them before the next privileged step, or before the portless service restarts. Running sudo portless service install with a user-installed Node.js has the same weakness. The security review before M5.1 decides whether privileged steps need a root-owned copy.

Network

Portplane makes outgoing requests only to your SSH hosts and, when you start a download or an update check, to these official sources (ADR-0025):

Host What for
GitHub, Portplane's releases Agent binaries for other platforms; Portplane's latest version
dekit.run dekit's install script
GitHub, dekit's releases The dekit release its installer downloads; dekit's latest version
registry.npmjs.org (or the registry in your npm config) portless and its dependencies; portless's latest version
nodejs.org Node.js builds and the list of releases

Sharing and LAN mode

Sharing an app (M5.6) makes it reachable from other devices, so Portplane treats it as a change you confirm, never a default.

What Portplane writes

What Portplane never does