Node 20 is end of life and will not get the CVE-2026-111497 Brotli decoder
fix from the 2026-10-21 Node.js security release. The frontend image now
starts from node:24.22.1-alpine, the backend image installs Node 24 from
NodeSource and refuses to build on anything older than 24.22.1, and CI
runs on Node 24 so tests match the shipped runtime.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
With the dashboard bound to the network (make up-lan), the frontend proxy
added the server ADMIN_KEY to every same-origin request and the backend
trusted the frontend container as the local operator, so any device on
the LAN that opened the dashboard had full control: DMs, contacts, gate
keys and settings. The proxy cannot tell the local browser apart from
other devices, because Next.js forwards client-supplied X-Forwarded-For
verbatim (verified against next start: a remote client sending
X-Forwarded-For: 127.0.0.1 reaches the backend as 127.0.0.1).
SHADOWBROKER_LAN_MODE=1, set by make up-lan, now makes the proxy inject
the admin key only for signed-in admin sessions and stops the backend
trusting the frontend container. Loopback tools on the host keep working.
For a backend behind nginx/Caddy on the same host, the new opt-in
SHADOWBROKER_UNTRUSTED_LOOPBACK=1 makes loopback callers present the key
too. Default installs are unchanged.
Also compare the admin key in constant time at sign-in, and make the
403 message say how to sign in from another device.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UeX9wuqeVAQNr22zQHWj2H
- docker-compose.relay.yml: default MESH_ONLY=true with the Infonet sync
workers kept on (SHADOWBROKER_MESH_NODE_RUNTIME=true), like meshnode.sh.
Measured: the full backend takes 37 s to answer and settles around 1.5 GB
RSS at 30-50% CPU; mesh-only answers in 3 s at about 145 MB. The relay's
2 GB limit left the full mode little headroom. Both stay overridable
from .env.
- Next.js 16.2.7 -> 16.3.8: fixes the App Router proxy bypass advisory;
proxy.ts is the CSRF boundary for privileged API routes.
- PostCSS override 8.5.15 -> 8.5.28: fixes the source-map path traversal
advisories. npm audit (production) now reports only maplibre-gl, whose
fix needs a major upgrade; the app does not pass HTML to MapLibre.
- Next 16.3 type-checks every file tsconfig includes, so test-only typing
errors failed the build; build against tsconfig.build.json (tests
excluded) as before. Tests remain type-checked by Vitest.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UeX9wuqeVAQNr22zQHWj2H
Leaving InfoNet tears down Tor and the Wormhole by design, so nothing
private runs in the background. That was silent: switching chat tabs or
collapsing the panel cut the connection and the next visit waited for Tor
again. Every close path (LEAVE, tab switch, collapsing the chat panel,
closing or pressing Escape on the full terminal) now asks first while a
session is connected, explains that new messages won't arrive and that
reconnecting can take up to a minute, and offers "Don't show this again".
The teardown itself is unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UeX9wuqeVAQNr22zQHWj2H
- Turn raw backend codes (wormhole_required_for_*, control_plane_request_failed:403,
gate_mls_compose_failed, ...) into sentences that say what to do next, via one
shared helper used by gate rooms, key sharing, the Wormhole panel and mail.
- Fix contradictory privacy copy: the gates card said everything was end-to-end
encrypted while the advisory beside it said nothing was encrypted. Both now
describe what the code does: encrypted content, visible metadata, unaudited.
- Show a running timer while Tor connects instead of a static
"obfuscated lane starting", and say up front that the first start can take
up to a minute.
- Replace the TOFU jargon on first contact with what to do and why.
- New installs no longer get the changelog stacked on top of setup.
- Keep the expanded chat panel above the map status bar, which was covering
the terminal input.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UeX9wuqeVAQNr22zQHWj2H
Two tests asserted that a gate at private_transitional fails its release
floor and that startup warm-up targets private_strong. Both now depend
on whether RNS is enabled, since Tor-only nodes use the Tor floor for
DMs and gates. Run them against an RNS-enabled node so they keep
checking the strict floor they were written for.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UeX9wuqeVAQNr22zQHWj2H
The threat model and README said gate chat had no end-to-end
encryption, but content is MLS- and envelope-encrypted; what was missing
was a way for members on other nodes to get the key. Describe what the
invite flow protects, where removal stops working (the grant tree, no
forward secrecy beyond rotation), the Tor/RNS release floors, and add an
operator how-to for inviting, rotating and removing members.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UeX9wuqeVAQNr22zQHWj2H
Gate messages publish over Tor first, with RNS only as the fallback
carrier, but the release floor demanded private_strong (Tor and RNS).
RNS is not installed by default, so on an ordinary node every gate post
sat in "Queued for private delivery" forever. Gates now get the same
Tor-only floor DMs already use when RNS is not enabled; nodes that
enable RNS keep the two-transport floor.
The start scripts' privacy-core pin refresh skipped whenever
backend/.env was missing or private lanes were turned on from the UI
rather than .env, which is the common case. It now pins the locally
built library regardless, creating backend/.env if needed, matching
what the Docker entrypoint already does.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UeX9wuqeVAQNr22zQHWj2H
Gate history is readable on another node only through the gate envelope,
which is keyed from a per-gate secret that every node generated on its
own. Nothing ever moved that secret between members, so two operators in
the same gate could not read each other.
Members can now send the current gate key to a DM contact inside an
end-to-end encrypted DM. The key rides as a control frame that is
stripped on decrypt, so it never reaches the browser or the mailbox. The
recipient's operator accepts or declines it; the previous local key is
archived so existing history stays readable.
Rotation sends the new key to every contact the key was granted to,
minus excluded peers. Recipients apply a rotation automatically only
when it comes from the member they got the key from, and forward it to
their own grantees. Ban/kick rotations now redistribute too, instead of
silently splitting the gate.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UeX9wuqeVAQNr22zQHWj2H
After the browser tab sat hidden overnight, every airborne aircraft was drawn
smeared thousands of miles along its last heading (e.g. over open ocean) for
about a minute after waking, until fresh data arrived.
Polling pauses while the tab is hidden, but the interpolation clock keeps
counting from the last data refresh. Since 5ae1e5b the dead-reckoning cap
(interpolatePosition's maxDt, documented as "Cap interpolation time to prevent
runaway drift when data is stale") was overridden with
UNBOUNDED_INTERP_SECONDS = Infinity, so 8 hours stale moved a 500 kt flight
~3,300 nm.
Restore a cap via a shared MAX_INTERP_SECONDS = 180 used by flights, ships and
satellites (useInterpolation) and the worker-side interpolation
(applyDynamicLayerInterp). Live data refreshes every ~15s, so normal animation
is unaffected; stale markers now advance at most ~25 nm, then snap to fresh data.
Also widens a source-slice window in maplibreDecomposition.test.ts that had
zero slack (onClose ended exactly at char 500 with LF; failed on CRLF checkouts).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Connect modal's agent snippet steered agents into failures we hit while
wiring up a Hermes agent:
- It told agents to use search_telemetry as the default entry point, but the
backend rejects search_telemetry/get_telemetry/get_slow_telemetry/get_report
without confirm_expensive=true (EXPENSIVE_COMMANDS). Guidance now follows the
backend's routing manifest: route_query first, then find_entity /
get_entity_profile and other targeted reads; expensive commands are named as
gated, last-resort calls.
- It never said how to install the secret. Operators pasted it into agent chats,
where it stays in plain-text history and is still not an environment variable.
New SETUP block: set env vars in the agent's config, use a Python with httpx,
verify with verify_hmac.py; Docker note for host agents in Local mode. The
modal also shows an explicit "don't paste into chat" warning.
- It always said "You are a remote OpenClaw agent", even in Local mode.
- New ANALYST DIRECTIVE for unattended investigations: read-only, evidence-tied,
stated confidence, and "probably noise" when live data doesn't back an alert.
- Step 2 explains when Full Access is actually needed (Read Only stays default).
Renames the user-facing "OpenClaw" name to "AI Agent" across the UI and the
en/fr/zh-CN/fa translations. Env vars (OPENCLAW_*), API paths, the
openclaw-skills folder and backend identifiers are unchanged so existing agent
configs keep working; changelog history is left as written.
Tests: agentConnectGuidance.test.ts checks the snippet against the backend's
EXPENSIVE_COMMANDS, the setup/verify/leak guidance, mode-aware wording, and
that no user-facing OpenClaw text remains.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Right-click opened the Sentinel-2 panel pre-filled with Esri World Imagery
("DATE UNAVAILABLE / fallback imagery") and only swapped in the live
Planetary Computer scenes after both the Sentinel search and the unrelated
region-dossier lookup settled. On a busy dashboard that took long enough
that the placeholder read as the result, so the 3-scene recent imagery
looked like it had regressed to generic fallback pictures.
- Show an explicit "SEARCHING SENTINEL-2 ARCHIVE" state while searching.
- Fetch imagery and the region dossier independently; render scenes the
moment they arrive.
- Use the Esri fallback only when the live search actually fails, and say so.
- Ignore stale responses when the user right-clicks again mid-search.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Clicking an AIS vessel showed neither the map popup nor the side panel.
Since f95b0ec the dynamic worker builds ship feature ids with
shipFeatureId(), which stringifies the MMSI, but the backend sends MMSIs as
numbers. The lookups compared them with ===, so 234881054 === "234881054"
matched nothing and the UI silently rendered nothing. Carriers still worked
because their id is their (string) name.
Adds sameEntityId() and uses it for the ship lookups (popup, side panel,
findSelectedEntity) and the other numeric-id lookups that compare against a
clicked feature id (satellites, UAVs, trains, UAP sightings, wastewater,
weather alerts).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Seven overlay label layers had a text-field but no text-font, so MapLibre
fell back to "Open Sans Regular,Arial Unicode MS Regular". The keyless
OpenFreeMap glyph endpoint returns 404 for that fontstack, which errors
every tile of the layer's source. For CCTV that meant the whole source
(clusters and dots) rendered nothing even though 23k cameras were loaded.
Affected layers: cctv-cluster-count, gps-jamming-label, corr-rf-label,
corr-mil-label, corr-infra-label, corr-contra-label, corr-analysis-label.
All now use Noto Sans Bold, matching the other overlay labels.
Adds a regression test that fails if any MaplibreViewer layout renders
text without pinning a text-font.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>