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
Managed service listens on 0.0.0.0 by default, with no lasting way to bind loopback #26012
On macOS, the server run by t3 service install listens on 0.0.0.0 when no host is given, so it's reachable from the LAN as well as from the machine itself. The only way to change that is an environment variable in the launchd plist, which T3 rewrites on install or repair.
What's exposed: from another device on the LAN, / and /api/health return 200 without credentials. API routes return 401 (missing_credential), so it's auth-gated. But it's an agent server that can run shell commands, so the LAN gets attack surface for nothing when every client uses localhost, Tailscale Serve (HTTPS) or T3 Connect. The desktop app also adds a "found automatically" plain-HTTP route on the tailnet IP because of this bind.
Workaround: add T3CODE_HOST=127.0.0.1 under EnvironmentVariables in ~/Library/LaunchAgents/com.t3tools.t3code.service.plist, then bootout and bootstrap the service. After that it binds 127.0.0.1:3773, and localhost, Tailscale Serve and T3 Connect all still work. t3 service install or a repair drops the variable.
Activity