Repository navigation
fix(security): block WebRTC around the browser egress proxy, survive an invalid status page ?lang= - #957
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]>
An enforcing browser session could send WebRTC (ICE/STUN over UDP) to any internal IP literal, around the guarded egress proxy. The Chrome SolidPing starts now runs with a WebRTC IP handling policy forbidding non-proxied UDP (both spellings: desktop Chrome reads --webrtc-ip-handling-policy, headless-shell only --force-webrtc-ip-handling-policy), and every enforcing session, remote CDP included, removes RTCPeerConnection, webkitRTCPeerConnection and RTCDataChannel from every frame through a new-document script. Spec: specs/todos/2026-11-20-01-browser-egress-webrtc.md Co-Authored-By: Claude Opus 5.5 <[email protected]>
Operator action: add --force-webrtc-ip-handling-policy=disable_non_proxied_udp (headless-shell) to an existing browser sidecar. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…bRTC traffic to internal addresses, around the egress proxy Co-Authored-By: Claude Opus 5.5 <[email protected]>
…RTC traffic to internal addresses, around the egress proxy
i18next kept any ?lang= value it could not match as i18n.language, and that raw value reached Intl / toLocaleString during render, which throws a RangeError and unmounted the whole page (no error boundary). - i18n: supportedLngs (en, fr, de, es) with nonExplicitSupportedLngs, so fr-CA resolves to fr and anything else falls back to en. - lib/display-locale: one helper that returns a tag Intl accepts; every Intl / toLocale* call site uses it instead of i18n.language. - AppErrorBoundary wraps the app and shows a reload message instead of a blank page if a render error still happens. Co-Authored-By: Claude Haiku 5.5 <[email protected]>
…nguage tag blanks the public status page Gate: make build-status0 + copy-status0; in web/status0: bun run lint, typecheck:e2e, bun test src (177 pass), tsc -b; the new e2e/invalid-lang-param.spec.ts run alone against a SP_RUNMODE=test side-car (4/4 pass). Co-Authored-By: Claude Haiku 5.5 <[email protected]>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #957 +/- ##
==========================================
- Coverage 90.86% 90.85% -0.01%
==========================================
Files 1399 1399
Lines 144643 144656 +13
==========================================
+ Hits 131425 131427 +2
- Misses 13210 13221 +11
Partials 8 8
🚀 New features to boost your workflow:
|
…guage tag blanks the public status page
fclairamb
enabled auto-merge (squash)
November 21, 2026 07:59
Merged
fclairamb
added a commit
that referenced
this pull request
Nov 22, 2026
🤖 I have created a release *beep* *boop* --- ## [0.53.0](v0.52.0...v0.53.0) (2026-11-22) ### Features * **auth:** OIDC-only mode with IdP group admin roles ([#966](#966)) ([1b51f89](1b51f89)) * **service:** install writes config.env, unit loads it via EnvironmentFile ([#948](#948)) ([e4b7fc4](e4b7fc4)) ### Bug Fixes * **aggregation:** drain the raw backlog in one run and log lag ([#978](#978)) ([26b93cd](26b93cd)) * **deps:** update github.com/dop251/goja digest to 79d6ad3 ([#972](#972)) ([02c6821](02c6821)) * **deps:** update go dependencies (non-major) ([#955](#955)) ([7dfbcd6](7dfbcd6)) * **deps:** update go dependencies (non-major) ([#968](#968)) ([6c09bae](6c09bae)) * **deps:** update go dependencies (non-major) ([#979](#979)) ([ee088b6](ee088b6)) * **deps:** update module github.com/oapi-codegen/oapi-codegen/v2 to v2.9.0 ([#975](#975)) ([1121e2e](1121e2e)) * **deps:** update module go.mongodb.org/mongo-driver/v2 to v2.10.1 ([#950](#950)) ([9e684c4](9e684c4)) * email validation, OAuth error display, translator crash guard, clone slugs, watchdog pauses ([#959](#959)) ([a20f951](a20f951)) * log OAuth code-exchange failures, show a refused sign-in on the invitation page ([#974](#974)) ([c4a8dca](c4a8dca)) * retry SMTP 4xx, 503 on agent auth DB errors, scope checkGroupUid to the org ([#973](#973)) ([88179aa](88179aa)) * **security:** block WebRTC around the browser egress proxy, survive an invalid status page ?lang= ([#957](#957)) ([79bdc82](79bdc82)) * **security:** keep OIDC-group admin grants revocable, mask resolved channel references, contain browser popups ([#976](#976)) ([6e0f09e](6e0f09e)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
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.
Fixes for the two low findings of the daily security scan of 2026-11-20. No High or Critical finding.
What changed
specs/done/2026/11/2026-11-20-01-browser-egress-webrtc.md): under an enforcing egress policy, the Chrome SolidPing starts gets--webrtc-ip-handling-policyand--force-webrtc-ip-handling-policy=disable_non_proxied_udp(desktop Chrome and headless-shell each read one spelling), and every session (remote CDP included) removesRTCPeerConnection,webkitRTCPeerConnectionandRTCDataChannelon each new document. A failed install fails the session open with an infra error. Live test with a private STUN listener (0 packets under enforcing, positive control without). The sidecar launches (docker-compose.yml, install docs) carry the flag, and the egress-policy doc gets a "WebRTC is off" layer.?lang=blanks the status page (specs/done/2026/11/2026-11-20-02-status0-invalid-lang-crash.md): status0 limits languages to en/fr/de/es, everyIntl/toLocale*call goes through adisplayLocale()helper that falls back toen, and a top-level error boundary shows a reload message instead of a blank page. Unit tests for the helper, E2E for?lang=123,en_,a-b-cand the?lang=frcontrol.Behaviour changes
?lang=values outside en/fr/de/es fall back to English;fr-CAresolves tofr.Operator action
An existing remote headless-shell sidecar should add
--force-webrtc-ip-handling-policy=disable_non_proxied_udp(a desktop-Chrome image:--webrtc-ip-handling-policy=disable_non_proxied_udp). The new-document script protects remote sessions without it, but the flag also blocks UDP at the network level.Decided by autopilot
🤖 Generated with Claude Code