Skip to content

Feat/gateway security hardening - #77

Merged
three-water666 merged 12 commits into
mainfrom
feat/gateway-security-hardening
Sep 6, 2026
Merged

Feat/gateway security hardening#77
three-water666 merged 12 commits into
mainfrom
feat/gateway-security-hardening

Conversation

@three-water666

Copy link
Copy Markdown
Owner

No description provided.

- Replace URL API tokens with short-lived, single-use bridge codes.
- Revoke active sessions when the gateway stops, restarts, or reconnects.
- Reset the watchdog only for authenticated gateway activity.
- Add a configurable idle timeout while keeping the 30-minute default.
- Require trusted browser events for approval modal actions.
- Install the bundled bridge under a stable app-data path with a fixed extension identity.
- Stage and validate bridge builds while coordinating concurrent VS Code windows.
- Restart only active isolated browser profiles before activating an updated bridge.
- Negotiate bridge protocol versions and explain stale extension recovery.
- Preserve profile detection across POSIX paths and supported Chromium executables.
- Detect every process using the shared bridge before activating a staged build.
- Serialize activation and launch, and reclaim stale install locks atomically.
- Acquire install locks with exclusive directory creation on every platform.

- Raise process-list buffering and cover output beyond the Node default.
- Model extension runtime messages as discriminated unions with scoped background dispatch.
- Validate message payloads and reject unknown or malformed message shapes.
- Add coverage for valid variants, invalid payloads, and background message routing.
- Prepare eval and QA browser extensions with the stable bundled extension identity.
- Load the prepared bridge in deterministic, command-risk, and DeepSeek browser runs.
- Reuse local VS Code for Extension Host tests while keeping CI downloads explicit.
- Use the Chrome Web Store public key for standalone ZIP and VSIX browser builds.
- Restrict bridge redemption to the shared extension identity.
- Reject prebuilt manifests with missing or mismatched identity keys before bundling.
- Validate lock directory snapshots and use stable identities during stale lock reclamation.
- Keep QA, E2E, and DeepSeek browser extension installs inside each run directory.
- Add regression coverage for overlapping reclaimers and inherited installation root overrides.
- Sort normalized relative paths consistently when packaging and validating bridge builds.
- Store development and test host bridge installs separately from production installs.
- Preserve explicit browser extension root overrides in every host mode.
@three-water666
three-water666 merged commit 674d4e2 into main Sep 6, 2026
3 checks passed
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