You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Production cluster mode needs TLS/auth or an enforced private-network posture #30
Today — SECURITY.md "Trust model" says cluster mode "has no authentication or transport encryption in v1 … will execute any plan a connected client submits, including reading any file the worker process can read." oxide-scheduler binds 127.0.0.1 by default (crates/oxidelake-runtime/src/bin/oxide_scheduler.rs:223), and --bind-host 0.0.0.0 is one flag away with no warning. crates/oxidelake-runtime/src/cluster.rs:119-128 spreads ..SchedulerConfig::default(). Ballista 54.1 does carry a client-side use_tls switch (ballista-core-54.1.0/src/utils.rs:70, BALLISTA_CLIENT_USE_TLS), which OxideLake neither exposes nor documents.
Why it is worth tracking — ADR-0013 and SPEC §6 put TLS/auth out of scope for v1. That was honest for v1; it is disqualifying for a release described as production-ready, because a reachable worker is remote code execution. This is a challenge to the v1 scope, not a new vulnerability.
Fix — the minimum that makes the posture enforced rather than documented:
Refuse a non-loopback --bind-host on scheduler and worker unless --allow-insecure-bind is also given; warn! at startup when bound non-loopback.
Expose Ballista's use_tls on the client (OxideSession::connect, oxide sql --cluster … --tls) and document the scheduler/executor TLS termination Ballista 54 supports, or state precisely that it supports none and document a required mTLS sidecar topology.
SECURITY.md and README: one paragraph, same wording, on what a production deployment must put in front of the ports.
Done when — oxide-scheduler --bind-host 0.0.0.0 exits non-zero without the explicit flag (tested with assert_cmd); the TLS story is either implemented and tested against a local TLS-terminating proxy or documented as a hard requirement with a worked example.
0.3.0 (#154) ships the enforced private-network half:
oxide-scheduler and oxide-worker exit 1 on a public or wildcard --bind-host or --metrics-host unless --allow-insecure-bind is given. This is tested with assert_cmd, on a port that cannot bind, so a regression fails instead of listening.
Both log a warning whenever they listen beyond loopback.
oxide-worker --bind-host is new.
README and SECURITY.md carry the same "Production deployments" paragraph.
Still open is TLS/auth. Ballista 55 can make its clients dial TLS: ballista.client.use_tls, plus an endpoint override for a private CA. But it serves the scheduler's port and the executors' gRPC port in plain text, with no hook, and only the executors' Flight service can be replaced. TLS therefore needs one of:
an upstream server-side TLS option (tonic's ServerTlsConfig on create_grpc_server and on the scheduler's listener);
a terminating proxy per port, with every OxideLake process told to dial TLS, tested against a local mTLS proxy.
Activity
fix(runtime): GPU operators run on Ballista 55 clusters again, and th…
fix(runtime): graceful shutdown, fail fast on a lost worker, refuse p…
release: v0.3.0 (#155)
vyncint commentedon Nov 18, 2026
0.3.0 (#154) ships the enforced private-network half:
oxide-schedulerandoxide-workerexit 1 on a public or wildcard--bind-hostor--metrics-hostunless--allow-insecure-bindis given. This is tested withassert_cmd, on a port that cannot bind, so a regression fails instead of listening.oxide-worker --bind-hostis new.Still open is TLS/auth. Ballista 55 can make its clients dial TLS:
ballista.client.use_tls, plus an endpoint override for a private CA. But it serves the scheduler's port and the executors' gRPC port in plain text, with no hook, and only the executors' Flight service can be replaced. TLS therefore needs one of:ServerTlsConfigoncreate_grpc_serverand on the scheduler's listener);Moving this to v0.4.0.