Repository navigation
Hardening: native engine, desktop app and Web server fail closed on malformed input - #4381
Merged
Merged
Conversation
Resolve 11 local findings across cluster launch, sessions, shell policy, Hub pulls, Web auth and native video/network lifecycles. - Quote cluster arguments and reject duplicate session restore names. - Classify shell command positions and fail closed for denied-network SSH. - Bound Hub JSON and verify cached blob digests. - Cap pairing requests before authentication and clean streamed media temporaries. - Retire durable browser launch tokens and harden seek/Cortheon failure paths. Focused Zig, Electron, Web UI/server and CI workflow regressions passed; changed-file Zig formatting and diff checks passed.
…closed on malformed input
ashhart
force-pushed
the
lead/harden-native-app
branch
from
November 21, 2026 20:21
d7eaf8c to
e36d0b4
Compare
ashhart
added a commit
that referenced
this pull request
Nov 21, 2026
ashhart
added a commit
that referenced
this pull request
Nov 21, 2026
ashhart
added a commit
that referenced
this pull request
Nov 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hardening from an internal review of the native engine, the desktop app and the Web server. Each change fails closed where a malformed or unexpected input could previously go further than intended:
Two follow-up commits keep
zig/src/sessions/disk.zigunder the 600-line cap and tidy a cluster comment. Focused Zig, Electron and Web tests pass on the changed code.