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>
Both images and CI run Node 24, but the frontend was typed against
@types/node 26, so TypeScript would accept Node 26-only APIs that fail at
runtime. Pin to ^24 (resolves 24.19.2) and stop Dependabot proposing major
@types/node bumps. Supersedes #670.
Typecheck (no non-test errors), lint (0 errors) and all 874 frontend
tests pass.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
eslint-config-next 16.4.3 enables react-hooks/preserve-manual-memoization
and react-hooks/immutability as errors, failing lint at 20 sites. The React
Compiler isn't enabled, so these are optimization diagnostics, not runtime
bugs. Report them as warnings, matching how the sibling compiler rules are
already configured, until the flagged code is cleaned up.
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>
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