Skip to content

Keep session admin shells isolated from stored bearer tokens - #51

Merged
intel352 merged 1 commit into
mainfrom
fix/session-shell-token-isolation
Oct 9, 2026
Merged

intel352 merged 1 commit into
mainfrom
fix/session-shell-token-isolation

Conversation

@intel352

@intel352 intel352 commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

A host using AuthModeSession can have a stale bearer token left in local storage. The shared shell still forwards that token to API calls and embedded tools, allowing it to override a valid cookie session. Session mode now ignores bearer storage and leaves it unchanged; default/unknown bearer modes retain their behavior. The host remains responsible for authentication and authorization.

Validation atb6f7428922800021665c85aad6c90c08b337c28f: independent source approval, 2 executable Node tests, bounded all-package Go race suite, and all exact-head CI/CodeQL/cross-platform checks PASS. Actual multisite TLS browser scenario reproduces stale-token shell reload failure with v1.1.18 and passes with this source, together with embedded/fullscreen/reload/mobile/keyboard/session-loss checks. No hosted credentials or live services used.

This reusable repair is in its original project; multisite draft#129 will pin the real release before merge/deploy. Authorization inspector standalone repair is GoCodeAlone/workflow-plugin-authz-ui#29. Repository branch protection requires one GitHub approving review; standard existing auto-merge is queued and waits for that approval. No administrative bypass, new authorization access, branch-protection change or live deployment.

@intel352
intel352 marked this pull request as ready for review October 9, 2026 00:42
@intel352
intel352 enabled auto-merge (squash) October 9, 2026 00:45
@intel352
intel352 merged commit 8bb21af into main Oct 9, 2026
8 checks passed
@intel352
intel352 deleted the fix/session-shell-token-isolation branch October 9, 2026 01:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant