Skip to content

fix(ui): gateway URL confirmation modal (based on #2880) - #3578

Merged
tyler6204 merged 3 commits into
openclaw:mainfrom
tyler6204:temp/pr-2880
Jan 28, 2026
Merged

tyler6204 merged 3 commits into
openclaw:mainfrom
tyler6204:temp/pr-2880

Conversation

@tyler6204

Copy link
Copy Markdown
Contributor

Thanks @0xacb for the original contribution in #2880.

This PR is a lightly-fixed + rebased version from our fork, since the original PR had maintainer_can_modify=false and we couldn't push the small follow-up fixes directly.

Original PR: #2880

@openclaw-barnacle openclaw-barnacle Bot added the app: web-ui App: web-ui label Jan 28, 2026
@tyler6204
tyler6204 merged commit a7534dc into openclaw:main Jan 28, 2026
22 of 24 checks passed
@tyler6204
tyler6204 deleted the temp/pr-2880 branch January 28, 2026 21:33
HirokiKobayashi-R pushed a commit to HirokiKobayashi-R/moltbot that referenced this pull request Jan 29, 2026
…nclaw#3578)

* fix: adding confirmation modal to confirm gateway url change

* refactor: added modal instead of confirm prompt

* fix(ui): reconnect after confirming gateway url (openclaw#2880) (thanks @0xacb)

---------

Co-authored-by: 0xacb <[email protected]>
YuriNachos pushed a commit to YuriNachos/clawdbot-fork that referenced this pull request Jan 31, 2026
…nclaw#3578)

* fix: adding confirmation modal to confirm gateway url change

* refactor: added modal instead of confirm prompt

* fix(ui): reconnect after confirming gateway url (openclaw#2880) (thanks @0xacb)

---------

Co-authored-by: 0xacb <[email protected]>
YuriNachos pushed a commit to YuriNachos/clawdbot-fork that referenced this pull request Jan 31, 2026
…nclaw#3578)

* fix: adding confirmation modal to confirm gateway url change

* refactor: added modal instead of confirm prompt

* fix(ui): reconnect after confirming gateway url (openclaw#2880) (thanks @0xacb)

---------

Co-authored-by: 0xacb <[email protected]>
YuriNachos pushed a commit to YuriNachos/clawdbot-fork that referenced this pull request Jan 31, 2026
…nclaw#3578)

* fix: adding confirmation modal to confirm gateway url change

* refactor: added modal instead of confirm prompt

* fix(ui): reconnect after confirming gateway url (openclaw#2880) (thanks @0xacb)

---------

Co-authored-by: 0xacb <[email protected]>
YuriNachos pushed a commit to YuriNachos/clawdbot-fork that referenced this pull request Jan 31, 2026
…nclaw#3578)

* fix: adding confirmation modal to confirm gateway url change

* refactor: added modal instead of confirm prompt

* fix(ui): reconnect after confirming gateway url (openclaw#2880) (thanks @0xacb)

---------

Co-authored-by: 0xacb <[email protected]>
YuriNachos pushed a commit to YuriNachos/clawdbot-fork that referenced this pull request Jan 31, 2026
…nclaw#3578)

* fix: adding confirmation modal to confirm gateway url change

* refactor: added modal instead of confirm prompt

* fix(ui): reconnect after confirming gateway url (openclaw#2880) (thanks @0xacb)

---------

Co-authored-by: 0xacb <[email protected]>
YuriNachos pushed a commit to YuriNachos/clawdbot-fork that referenced this pull request Jan 31, 2026
…nclaw#3578)

* fix: adding confirmation modal to confirm gateway url change

* refactor: added modal instead of confirm prompt

* fix(ui): reconnect after confirming gateway url (openclaw#2880) (thanks @0xacb)

---------

Co-authored-by: 0xacb <[email protected]>
YuriNachos pushed a commit to YuriNachos/clawdbot-fork that referenced this pull request Jan 31, 2026
…nclaw#3578)

* fix: adding confirmation modal to confirm gateway url change

* refactor: added modal instead of confirm prompt

* fix(ui): reconnect after confirming gateway url (openclaw#2880) (thanks @0xacb)

---------

Co-authored-by: 0xacb <[email protected]>
YuriNachos pushed a commit to YuriNachos/clawdbot-fork that referenced this pull request Jan 31, 2026
…nclaw#3578)

* fix: adding confirmation modal to confirm gateway url change

* refactor: added modal instead of confirm prompt

* fix(ui): reconnect after confirming gateway url (openclaw#2880) (thanks @0xacb)

---------

Co-authored-by: 0xacb <[email protected]>
YuriNachos pushed a commit to YuriNachos/clawdbot-fork that referenced this pull request Jan 31, 2026
…nclaw#3578)

* fix: adding confirmation modal to confirm gateway url change

* refactor: added modal instead of confirm prompt

* fix(ui): reconnect after confirming gateway url (openclaw#2880) (thanks @0xacb)

---------

Co-authored-by: 0xacb <[email protected]>
YuriNachos pushed a commit to YuriNachos/clawdbot-fork that referenced this pull request Feb 1, 2026
…nclaw#3578)

* fix: adding confirmation modal to confirm gateway url change

* refactor: added modal instead of confirm prompt

* fix(ui): reconnect after confirming gateway url (openclaw#2880) (thanks @0xacb)

---------

Co-authored-by: 0xacb <[email protected]>
YuriNachos pushed a commit to YuriNachos/clawdbot-fork that referenced this pull request Feb 1, 2026
…nclaw#3578)

* fix: adding confirmation modal to confirm gateway url change

* refactor: added modal instead of confirm prompt

* fix(ui): reconnect after confirming gateway url (openclaw#2880) (thanks @0xacb)

---------

Co-authored-by: 0xacb <[email protected]>
YuriNachos pushed a commit to YuriNachos/clawdbot-fork that referenced this pull request Feb 1, 2026
…nclaw#3578)

* fix: adding confirmation modal to confirm gateway url change

* refactor: added modal instead of confirm prompt

* fix(ui): reconnect after confirming gateway url (openclaw#2880) (thanks @0xacb)

---------

Co-authored-by: 0xacb <[email protected]>
YuriNachos pushed a commit to YuriNachos/clawdbot-fork that referenced this pull request Feb 1, 2026
…nclaw#3578)

* fix: adding confirmation modal to confirm gateway url change

* refactor: added modal instead of confirm prompt

* fix(ui): reconnect after confirming gateway url (openclaw#2880) (thanks @0xacb)

---------

Co-authored-by: 0xacb <[email protected]>
YuriNachos pushed a commit to YuriNachos/clawdbot-fork that referenced this pull request Feb 1, 2026
…nclaw#3578)

* fix: adding confirmation modal to confirm gateway url change

* refactor: added modal instead of confirm prompt

* fix(ui): reconnect after confirming gateway url (openclaw#2880) (thanks @0xacb)

---------

Co-authored-by: 0xacb <[email protected]>
uxcu pushed a commit to uxcu/kook-openclaw that referenced this pull request Feb 5, 2026
…nclaw#3578)

* fix: adding confirmation modal to confirm gateway url change

* refactor: added modal instead of confirm prompt

* fix(ui): reconnect after confirming gateway url (openclaw#2880) (thanks @0xacb)

---------

Co-authored-by: 0xacb <[email protected]>
bestNiu pushed a commit to bestNiu/clawdbot that referenced this pull request Feb 5, 2026
…nclaw#3578)

* fix: adding confirmation modal to confirm gateway url change

* refactor: added modal instead of confirm prompt

* fix(ui): reconnect after confirming gateway url (openclaw#2880) (thanks @0xacb)

---------

Co-authored-by: 0xacb <[email protected]>
Glovinin pushed a commit to Glovinin/moltbot that referenced this pull request Mar 9, 2026
…nclaw#3578)

* fix: adding confirmation modal to confirm gateway url change

* refactor: added modal instead of confirm prompt

* fix(ui): reconnect after confirming gateway url (openclaw#2880) (thanks @0xacb)

---------

Co-authored-by: 0xacb <[email protected]>
lovewanwan pushed a commit to lovewanwan/openclaw that referenced this pull request Apr 28, 2026
…nclaw#3578)

* fix: adding confirmation modal to confirm gateway url change

* refactor: added modal instead of confirm prompt

* fix(ui): reconnect after confirming gateway url (openclaw#2880) (thanks @0xacb)

---------

Co-authored-by: 0xacb <[email protected]>
ogt-redknie pushed a commit to ogt-redknie/OPENX that referenced this pull request May 2, 2026
…nclaw#3578)

* fix: adding confirmation modal to confirm gateway url change

* refactor: added modal instead of confirm prompt

* fix(ui): reconnect after confirming gateway url (openclaw#2880) (thanks @0xacb)

---------

Co-authored-by: 0xacb <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request May 9, 2026
…nclaw#3578)

* fix: adding confirmation modal to confirm gateway url change

* refactor: added modal instead of confirm prompt

* fix(ui): reconnect after confirming gateway url (openclaw#2880) (thanks @0xacb)

---------

Co-authored-by: 0xacb <[email protected]>
supmo668 added a commit to Syntropy-Health/openclaw that referenced this pull request Jul 13, 2026
…th deny-unknown posture (CTO openclaw#3578) (#62)

SECURITY (PHI boundary). B5 render-policy's KNOWN_THIRD_PARTY_CHANNELS was an explicit DENYLIST that omitted 'irc' — so an operator could put 'irc' (or any unlisted/future channel) in phiApprovedChannels and leak a health-bearing ui.summary. A runtime fail-open, not just a lint gap.

FIX (deny-unknown posture, per CTO openclaw#3578): flip isThirdPartyChannel from denylist-membership to a FIRST_PARTY_PHI_CHANNELS allowlist — a channel is third-party (PHI-denied) UNLESS explicitly first-party {shrinemobile, webchat, matrix}. So irc AND any unknown/future channel is REFUSED AT RUNTIME (not merely linted); a newly-added channel is safe-by-default (denied) until deliberately allowlisted. Added 'irc' to KNOWN_THIRD_PARTY_CHANNELS (now documentation only; the allowlist is enforcement).

Red-first: 5 new SEC-IRC tests went red→green — incl. the BEHAVIORAL pin (a phiApproved-irc config → minimized, no health leak), a deny-unknown pin (arbitrary unknown channel refused), a CHAT_CHANNEL_ORDER registry-completeness assertion (no core channel can be first-party by omission), and a regression guard (shrinemobile/webchat/matrix stay approvable). 65 tests pass (render-policy 29 + deliver 36, zero regression), tsgo clean, oxlint clean.

QG: 2-reviewer (security + correctness). Security: SOUND, no CRIT/HIGH/MED — deny-unknown closes the fail-open at runtime for irc/unknown/case-variants, all asymmetries fail-closed. Correctness: CORRECT, no findings. Both LOW/INFO notes applied (tightened the KNOWN_THIRD_PARTY_CHANNELS docstring to reflect it's documentation not enforcement; moved the CHAT_CHANNEL_ORDER import to the top).

FOLLOW-UP (CTO openclaw#3581, separate): demote matrix to third-party (federated protocol, counsel-gate class) → first-party = {shrinemobile, webchat}. Precondition verified: no live config depends on matrix-PHI (only a test). Lands next under the same deny-unknown completeness pin.

Generated-With: Claude Code

Co-authored-by: cto <[email protected]>
Co-authored-by: Claude <[email protected]>
lhfer pushed a commit to lhfer/openclaw that referenced this pull request Oct 11, 2026
…nclaw#3578)

* fix: adding confirmation modal to confirm gateway url change

* refactor: added modal instead of confirm prompt

* fix(ui): reconnect after confirming gateway url (openclaw#2880) (thanks @0xacb)

---------

Co-authored-by: 0xacb <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants