From 9435ecdefd7cb7c8ef8b4aef61af142088711c21 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 24 Nov 2026 16:29:11 +0000 Subject: [PATCH 1/3] WALLET-BACKLOG: item 15, the Every network view read network by network; item 3b's state Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01LyvXroLy77GnnctsMuDW8x --- WALLET-BACKLOG.md | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/WALLET-BACKLOG.md b/WALLET-BACKLOG.md index 22935dc..602961e 100644 --- a/WALLET-BACKLOG.md +++ b/WALLET-BACKLOG.md @@ -42,8 +42,11 @@ stays, marked "Done.", until those mentions are updated. 3b. **The review of 2026-11-24 by two providers** (run by the maintainer on the snapshots of that day: page 0.14.3, extension 0.2.7, app 0.10.2, the relayer and the signing service). No Critical or High; the findings, and how to act on each, are recorded in the signing service's private repository - (`audits/2026-11-24-review.md`) and stay private until fixed. **Nothing changed yet**: the maintainer - decides item by item (2026-11-24: track only). `AUDIT.md` gets the public summary with the fixes. + (`audits/2026-11-24-review.md`) and stay private until fixed. The maintainer decides item by item. + Fixed on 2026-11-24: the signing window's calls (page 0.14.4, extension 0.2.8, app 0.10.3), then a batch + of the extension, the app, the relayer and the CI (extension 0.2.9, app 0.10.4, Cross_Chain #267). + Still open, to discuss: the password's key derivation, the device address from a link, the signing + service and billing, the ethers update, the informational items. `AUDIT.md` gets the public summary. 4. **With "Simulation only" on, a message signature says it is real** (2026-11-04, from a user on hup.social: with simulation on, three signatures and a post, asked whether simulation works). Simulation applies to transactions only; message signatures (personal_sign, typed data) cannot be @@ -239,6 +242,17 @@ stays, marked "Done.", until those mentions are updated. The prototype status stays said where it is said today (the name, the release notes, the README, the notice at first start): only GitHub's "Pre-release" label goes. +15. **The "Every network" view: networks closed, each read when opened** (2026-11-24, from the maintainer; + not urgent). Today the overview reads all 9 networks at every opening and every "Refresh": each one's + balance, tokens, NFTs, prices and positions. The token and NFT lists come from Alchemy on 6 of them with + the site's key (free plan), shared by every visitor of the site and by the app: the only shared limit + of the view (per second and per month; past it, Blockscout, which lists fewer tokens on Base and + Polygon). Instead: the view opens with every network as a closed row (its name, and the total once + read); a network is read only when its row is opened, and kept until "Refresh". Optionally a light first + pass (the native balance only, from the public RPCs, which count per visitor) to show which networks hold + something. Fewer Alchemy calls per visit, a faster first view. The page only (the app and the extension + take it with the page); the identity page could follow the same way. + ## Other pages 1. **Done. The LUKSO authorization page: live tests, then the review** (2026-11-03). `up-authorize-lukso.html` From 20af478a10043e43d790665beb11852aa4b407a1 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 25 Nov 2026 16:03:20 +0000 Subject: [PATCH 2/3] WALLET-BACKLOG: item 16, an Activity list kept on the device and explorer links Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01LyvXroLy77GnnctsMuDW8x --- WALLET-BACKLOG.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/WALLET-BACKLOG.md b/WALLET-BACKLOG.md index 602961e..5f0953d 100644 --- a/WALLET-BACKLOG.md +++ b/WALLET-BACKLOG.md @@ -253,6 +253,21 @@ stays, marked "Done.", until those mentions are updated. something. Fewer Alchemy calls per visit, a faster first view. The page only (the app and the extension take it with the page); the identity page could follow the same way. +16. **An "Activity" list, and links to the explorer** (2026-11-25, from the maintainer; not urgent). Today + the page has no history: the box at the bottom is the session's log, kept in memory only, so it is + gone when the page closes or reloads (the extension's side panel or tab closed, the app stopped by + Android or restarted, the site reloaded). After a send it writes the transaction's explorer address as + plain text, not as a link. Proposed, in the page (the app and the extension take it with the page): + - an **Activity** section kept on the device only (the page's storage: the extension's host, the app's + WebView; never the server): for each operation the date, the network, the kind (a send, a dApp's + transaction, an operation with the gas paid by the site, a signature), the site that asked, a summary, + the outcome (done, failed, unknown) and an "Open in the explorer" button; the last 100 per UP, with + a button to clear them; + - per network, a "Whole history on the explorer" link to the UP's address page: the complete record, + whatever device or controller made the operation; + - the log's explorer addresses as links (small, can go first). + The privacy notices (the app's, the site's) say what the device keeps. + ## Other pages 1. **Done. The LUKSO authorization page: live tests, then the review** (2026-11-03). `up-authorize-lukso.html` From 03d88311537bf36da8c1d32306d66a9af7e4564c Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 25 Nov 2026 23:11:06 +0000 Subject: [PATCH 3/3] nginx: the relay's rate zone renamed crosschain_relay64 (its key changed); README: check that a reload was applied nginx cannot change the key of a zone it already holds: the new per-/64 key under the old name was refused at reload time (only in error.log; nginx -t passes), and every later reload of the server with it, from 2026-11-24 15:54 to 2026-11-25 00:10, when the zone was renamed on the server. The file, the relayer's README (the location block, how to check that a reload was applied) and the comment say so. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01LyvXroLy77GnnctsMuDW8x --- tools/nginx/relay-limit.conf | 8 +++++++- tools/relayer/README.md | 4 +++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/tools/nginx/relay-limit.conf b/tools/nginx/relay-limit.conf index a985563..5cb5295 100644 --- a/tools/nginx/relay-limit.conf +++ b/tools/nginx/relay-limit.conf @@ -7,6 +7,12 @@ # so a key per address would not bind; audit 2026-11-24 R16). nginx prints $remote_addr compressed (RFC # 5952), so each pattern below reads the first 64 bits from one way of writing it; generated and checked # against the relayer's ipKey() on random addresses. An address none of them matches keeps its own key. +# +# The zone is named crosschain_relay64, not crosschain_relay as before: nginx cannot change the key of a zone +# it already holds, so a reload with the new key under the old name was refused (in error.log only, "uses the +# ... key while previously it used the ... key"; `nginx -t` passes) and every later reload of the server with +# it, until the name changed on 2026-11-25. Whenever the key changes, change the name too (here and in the +# limit_req lines of the site's server block), or restart nginx. map $remote_addr $crosschain_relay_key { "~^(?[0-9a-f]{1,4}):(?[0-9a-f]{1,4}):(?[0-9a-f]{1,4}):(?[0-9a-f]{1,4}):" "$a:$b:$c:$d"; "~^(?[0-9a-f]{1,4}):(?[0-9a-f]{1,4}):(?[0-9a-f]{1,4})::([0-9a-f]{1,4}(:[0-9a-f]{1,4}){0,3})?$" "$p0:$p1:$p2:0"; @@ -21,5 +27,5 @@ map $remote_addr $crosschain_relay_key { "~^::([0-9a-f]{1,4}(:[0-9a-f]{1,4}){0,3})?$" "0:0:0:0"; default $binary_remote_addr; } -limit_req_zone $crosschain_relay_key zone=crosschain_relay:10m rate=10r/s; +limit_req_zone $crosschain_relay_key zone=crosschain_relay64:10m rate=10r/s; limit_req_status 429; diff --git a/tools/relayer/README.md b/tools/relayer/README.md index 760c2b7..eeed82e 100644 --- a/tools/relayer/README.md +++ b/tools/relayer/README.md @@ -113,11 +113,13 @@ nginx: first the per-IP rate zone, once, in the http context: `tools/nginx/relay sudo cp /opt/crosschain-relayer/tools/nginx/relay-limit.conf /etc/nginx/conf.d/crosschain-relay-limit.conf && sudo nginx -t && sudo systemctl reload nginx ``` +`nginx -t` checks the syntax only: some changes are refused later, when the reload is applied, and then only `/var/log/nginx/error.log` says so (an `[emerg]` line) while nginx keeps the old configuration, for every site of the server. After a reload, check that it was applied: `sudo tail -n 5 /var/log/nginx/error.log` has no new `[emerg]`, and `ps -o pid,lstart,cmd -C nginx` shows worker processes started just now. The zone's key cannot change under the same name (that refused every reload of the server from 2026-11-24 to 2026-11-25): it is `crosschain_relay64` since then; a clone's older `crosschain_relay` must be renamed in the file and in the site's `limit_req` lines. + then, inside the site's `server { … }` block: ```nginx location /relay/ { - limit_req zone=crosschain_relay burst=40 nodelay; + limit_req zone=crosschain_relay64 burst=40 nodelay; proxy_pass http://127.0.0.1:8787; proxy_set_header X-Real-IP $remote_addr; client_max_body_size 64k;