Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 31 additions & 2 deletions WALLET-BACKLOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -239,6 +242,32 @@ 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.

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`
Expand Down
8 changes: 7 additions & 1 deletion tools/nginx/relay-limit.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
"~^(?<a>[0-9a-f]{1,4}):(?<b>[0-9a-f]{1,4}):(?<c>[0-9a-f]{1,4}):(?<d>[0-9a-f]{1,4}):" "$a:$b:$c:$d";
"~^(?<p0>[0-9a-f]{1,4}):(?<p1>[0-9a-f]{1,4}):(?<p2>[0-9a-f]{1,4})::([0-9a-f]{1,4}(:[0-9a-f]{1,4}){0,3})?$" "$p0:$p1:$p2:0";
Expand All @@ -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;
4 changes: 3 additions & 1 deletion tools/relayer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Loading