- Favicon and Apple touch icon built from the new SB mark
- Desktop (Tauri) icons regenerated from the new mark on a dark tile
- README header and FLIR screenshot replaced with current-UI images
kept in docs/images (the old GitLab upload paths were 404 on GitHub)
- Allow docs/images/ in .gitignore
- Browser tab title now reads ShadowBroker
Refs #707
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The merge-conflict resolution (3f1c882) reverted upstream d7a7595
"Patch runtime dependencies and migrate MapLibre worker integration",
switching to a default import that maplibre-gl does not provide.
- back to namespace import: maplibre-gl has no default export (TS1192)
- restore maplibregl.setWorkerUrl('/maplibre-gl-worker.mjs'), which
next.config.ts copies from node_modules into public/ at build time
- VoiceMicButton: put opacity-50 back on the opt-in-required and
lean-unavailable states; the restyle had dropped it, breaking the
section 5.2 render-matrix test
- uv.lock: black 26.3.1 -> 26.10.1 and certifi 2026.2.25 -> 2026.10.23
for newly published advisories
- CI audit step: install filelock>=4.2.1 alongside pip-audit; the
flagged filelock 4.1.0 is pip-audit's own dependency, not the backend's
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Resolve dependency conflicts by keeping the newer version of each package,
except maplibre-gl, which stays on 6.x because this branch migrated the map
worker to MapLibre 6 (main still pins 4.7):
- frontend: framer-motion 14.9, hls.js 1.7.4, lucide-react 1.66,
maplibre-gl 6.14, @types/node 26, vite 8.3.5, vitest 4.1.12
- backend: apscheduler 3.11.3, cachetools 7.2.8, cryptography 50.0.2,
keep anyio >= 4.14.2
- package-lock.json and uv.lock regenerated from the resolved manifests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Brings the app into the same visual family as shadowbroker.dev: deep-navy
glass panels, Chakra Petch / Inter / JetBrains Mono, cyan-blue accents and
the shared logo mark.
- Display menu (VIEW): EO / FLIR / NVG / CRT sensor modes that re-tint the
UI and grade the map, plus basemap, map tone and HUD colour options
- Merge the Shodan, Recon, Supply Chain, Cyber Threats and AI Intel cards
into one tabbed TOOLS card so Data Layers gets the column
- Map alert callouts: at most two, kept clear of the side rails, screen
edges and offline banner, with notch or leader-line anchors
- Label declutter against HUD, callouts and cluster bubbles
- Scale for 1440p (1.125x HUD, 1.2x dialogs) and 4K, with dialog heights
capped to fit the screen
- Dossier footer pinned outside its scroller; related-coverage list no
longer repeats the lead story
- Escape closes the changelog, onboarding and startup-cache dialogs
- COMMS starts collapsed below 1200px tall; compact POTUS fleet card
- Many smaller polish fixes across news, legend, settings and status bar
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The WS URL builder offset any non-3000 frontend port (8302-3000+8000=13302),
which nothing listens on when 8302 is a plain published mapping. Keep the
offset only for the genuine dev side-by-side range 3000-3999, dial the
default backend port 8000 otherwise. NEXT_PUBLIC_BACKEND_PORT still wins.
Both found by @BeauBoorman running Shadowbroker live (#666).
Cyber threats: CISA KEV dateAdded values are date-only ("2026-11-03"), so
fromisoformat() returns naive datetimes and subtracting them from an aware
"now" raised TypeError. The bare except skipped every entry, so the layer
always showed zero recent CVEs from a healthy catalog. Parse them as UTC.
AIS: with every ship layer off the stream is stopped on purpose, but the
banner still blamed AISStream (and suggested an AISHub signup) and
/api/health reported "degraded" when AIS_API_KEY was set. ais_proxy_status()
now reports ship_layers_active; the banner and the health escalation skip
that case. Older backends without the field keep the old behavior.
Tests for both run in the CI backend smoke set; new banner tests cover the
frontend.
Co-Authored-By: Beau Boorman <216379357+BeauBoorman@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
lucide-react 1.0 dropped brand icons, so the Github import resolved to
undefined and TopRightControls crashed on render. Swap in a small local
GithubIcon (Octicons mark-github, MIT) with the same size/className props.
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
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
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>
Review follow-up:
- Drop the Next.js route. CARTO_API_KEY is now a regular backend registry
key (env, .env, or the API Keys panel) served by public
GET /api/basemap-config. Every frontend mode already proxies /api/* to
the backend (Next.js proxy in web mode, companion server in packaged
desktop), so this covers web and desktop with one mechanism and leaves
the static export untouched. Also removes the invalid non-handler
export from the route module by removing the module.
- useBasemapConfig: fail open to the unkeyed style after 3 s, abort the
request at 15 s, apply a late key when it arrives, cache successes per
page and retry failures on the next mount.
- Declare OSM/CARTO attribution on the raster source (same markup as the
viewer's existing AttributionControl so MapLibre de-duplicates it).
- Tests: backend endpoint (unset / set+trimmed / persisted operator key /
registry), hook behaviour (success, non-OK, network error, soft timeout
then late key, hard abort, shared request and retry), attribution and
gating source checks.
- CARTO_API_KEY moves to the backend service in docker-compose.yml; docs
updated accordingly.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Tracked-flight and tracked-yacht HTML labels are rendered from the raw
store arrays, while their icons come from the worker GeoJSON that already
has the operator's data filters applied. Filtering Tracked Aircraft to a
category therefore removed the icons but left every other aircraft's name
on the map.
Derive the label subjects from the ids in the filtered feature collection
so a label is only drawn where an icon is. The id rule lives in one shared
helper used by both the worker builders and the label selector; rows with
no identifier keep the worker's positional fallback and draw no label.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
CARTO now requires an API key for its basemap tiles; without one every
tile in the DEFAULT dark/light map carries an "API KEY REQUIRED"
watermark. The tile URLs were hardcoded in mapStyles.ts with no way to
supply a key, and because the frontend ships as a prebuilt image a
NEXT_PUBLIC_ variable would be baked in empty for every Docker user.
- New frontend-local route GET /api/basemap-config reads CARTO_API_KEY
from the frontend container's environment at request time (same
pattern as BACKEND_URL), so no image rebuild is needed.
- useBasemapConfig() fetches it once per page load; MaplibreViewer
builds the MapLibre style from it via buildBasemapStyle(theme, key)
and defers the map's first style load until the config has settled,
avoiding a burst of unkeyed tile requests followed by a style swap.
- Tile URLs move to CARTO's documented rastertiles/ path with ?key=
appended when configured. Unkeyed URLs serve byte-identical tiles to
the old path, so deployments without a key behave exactly as before.
- CARTO_API_KEY wired through docker-compose.yml and documented in
.env.example, README (data source table + frontend env table) and
docs/OUTBOUND_DATA.md.
- Tests cover the route (unset / set / trimmed) and the style builder.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>