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
Bound ExecStream opening time and revalidate credentials before joining #478
An authenticated agent can open an ExecStream and delay its first application frame. relayExecStream awaits that frame before starting periodic credential revalidation or joining an exec session. Add an explicit opening deadline and revalidate before joining.
Priority: P2 hardening, from the 2026-11-25 audit of main 1295e534d7a1c3cd0a492449de8806aa532a4924. Related feature: #232.
A bounded fake-timer unit probe left the first frame pending for 60 seconds and observed neither completion nor a stillValid call in this function.
The gateway already authenticates the initial node certificate and imposes transport limits, including 32 concurrent HTTP/2 streams per connection, a 60-second session idle timeout and a maximum RPC timeout. An active shared connection is distinct from a silent individual RPC. This finding does not establish anonymous access, an unbounded connection count or a demonstrated server outage.
Acceptance criteria
A stream that does not send a valid open frame within a short documented deadline ends and releases its resources.
Cancellation also interrupts the opening wait.
Node credentials/lease are revalidated before joining the named exec session; revocation during the wait is rejected.
Tests cover no first frame, delayed first frame after revocation, transport cancellation and the normal opening path.
Keep existing ownership, organization and one-join checks intact.
Activity