Skip to main content

Terminal Session Security designed

Browser terminal access is a controlled session path. Users do not receive raw long-lived secrets; the API binds a short-lived terminal token to an allocation, and the terminal gateway mediates the WebSocket stream to the node-agent path.

Session Path

Security Rules

RuleMeaning
No query-string tokensBrowser WebSockets use approved protocol/header handling, never ?token=
Single-use tokenTerminal token is short-lived and deleted on first use
Allocation bindingUser, allocation, and session scope are checked before stream establishment
Gateway isolationTerminal gateway is the WebSocket surface; node-agent is not public
Session TTLMaximum session lifetime is policy-driven and enforced by gateway and node-agent
EvidenceReplay/session tests and terminal preflight belong in release evidence

Operational Meaning

Terminal failures should be triaged through token minting, gateway health, session binding, internal stream checks, node-agent preflight, and network route posture before node-level shell debugging.