A fresh-clone Docker test showed that joining Infonet worked after #760,
but everything after it did not:
- Gates and DMs still needed the admin key. Every gate, DM and identity
route the web UI calls now takes the proxy's operator-client token
(require_operator_client, or the new require_operator_client_or_admin
for routes that also take scoped admin tokens). Both copies of routes
defined in main.py and in routers/wormhole.py are switched, and an
unguarded duplicate of GET /api/wormhole/gate/{gate_id}/key is guarded.
Wormhole restart and the review, witness-import and transparency
publish tools stay admin-only.
- The backend only trusted browser origins on port 3000. The proxy sends
the token only after its own same-origin check passed, so the token now
stands for that check and a UI on any port works.
- LAN mode shares the dashboard with other devices, which can send any
Host header, so there the proxy withholds the token and the backend
ignores it: every browser signs in with the admin key, as before.
- A missing default local bootstrap manifest was reported as a bootstrap
error, so every new node showed "bootstrap warning". The file is
optional (peers come from the bundled seed and the signed swarm
manifest); a manifest path the operator configured must still exist.
- The README Docker quick start never created ADMIN_KEY, so the first
`docker compose pull` failed. It now creates one (bash and PowerShell)
and says what the key is for.
Tests that bypassed auth by overriding the old guards also override the
new ones.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The backend image now includes Reticulum, which has its own license with
two use restrictions. Ship its full license text as a third-party notice
and point to it from the README and Dockerfile.
List Tor and Reticulum in the developer prerequisites with what each
protects, rank the three ways of sending from most to least private, and
update the gate transport doc to match maximum privacy and the Tor-down
choice.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ip-api.com's free tier refuses HTTPS, so the IP dossier, the subnet
sweep and the entity graph all came back without a location. They now
read the free DB-IP Lite city and ASN databases stored in the data
folder, so the IPs being investigated are never sent to anyone.
- services/geoip_local.py: downloads the two files on the first IP
lookup (about 65 MB), checks each new file before it replaces the old
one, and keeps one copy. A daily job fetches a file only when a new
month's is out and only on installs that already have one.
SB_GEOIP_AUTO_UPDATE=0 turns downloading off.
- The sweep keeps its scan results when no location is available.
- The dossier credits DB-IP (CC BY 4.0) and no longer shows a risk
level or proxy flags it does not have.
- Adds maxminddb 3.2.0 to read the files.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
The standard stars badge rounds 11,623 up to "12K". This one reads the
exact count and still updates on its own.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Adds a link line (website, live map, Discord, forum), a badge row
(website, live map, Discord, license, stars) and the Hacker News badge
suggested in #732.
Closes#732
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The public map now has a "Public preview" line on its main card, and the
About box opens with two lists: what is on this map, and what only the
full app has. The README gets the same comparison as a table near the top.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
C2IntelFeeds (github.com/drb-ra/C2IntelFeeds, CC BY-NC-SA 4.0) lists
likely Cobalt Strike team servers from the last 30 days. Each IP is
located with the same cached RIPEstat lookup as ViriBack, and both feeds
share the per-poll lookup budget. Credited in the Osiris notice and the
README source table.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Cameras (all keyless public feeds, found in OSIRIS, checked live on
2026-11-18 and sampled through the media proxy):
- Minnesota MnDOT 511 map API: ~1,530 cameras, ~1,250 with live HLS
- DriveBC (British Columbia): ~1,050 stills
- Quebec 511: ~680 MP4 clips (proxy sends the Referer the host needs)
- City of Ottawa: ~400 stills; its MTO highway cameras are skipped
because 511 Ontario already carries them
- New England 511 (VT, NH, ME): ~360, on the existing IBI 511 ingestor
- City of Toronto: ~340 stills
- City of Calgary: ~220 stills
- Estonia Transpordiamet road-weather cameras: ~180 stills
- Saskatchewan Highway Hotline and PEI 511, on the IBI 511 ingestor
Both media proxy copies allow the new hosts.
Malware C2 layer: adds the ViriBack C2 Tracker (C2 panels reported in the
last 180 days), placed by RIPEstat's GeoLite lookup over HTTPS and cached
for a day; Cloudflare front addresses and unlocatable IPs are skipped.
The dump is reused for 30 minutes and new lookups are capped per poll.
Feodo Tracker stays. The layer panel label now names both sources.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
URLhaus now needs an Auth-Key, and its recent-URL entries carry no country.
The old code put every country-less entry on the first centroid in the
table (Afghanistan) and read a field name the API doesn't use, so a key
alone would have stacked 100 dots over Afghanistan. The layer is now Feodo
Tracker only.
Feodo can go months without listing a new C2 server, which left the layer
showing a few old dots and looking broken. The fetcher now reports the
newest last_online among the plotted servers, and the layer panel's
source line reads "abuse.ch · none new since <Mon YYYY>" once that is two
weeks old, or "no C2 servers listed" when the list is empty.
README, the OpenClaw skill doc and two code comments no longer mention
URLhaus.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The old header link to the demo video still played on GitHub; only the
image inside it was dead. Restore the video as a plain link until a new
demo is recorded.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- 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>
A small, flat JSON summary (global threat level plus headline counts) that
Homepage's Custom API widget, Homarr, Uptime Kuma and similar tools can poll.
/api/live-data is megabytes; this is a few hundred bytes built from counts
already in the store, rate limited to 60/minute.
- Read-only and unauthenticated like /api/health; it only exposes numbers the
dashboard already shows. Reachable at localhost:3000 through the existing
/api proxy (not on the privileged-path list, so it also works in LAN mode)
and directly on :8000.
- Threat level reports UNKNOWN until the first news cycle instead of a
misleading GREEN.
- docs/HOMEPAGE_WIDGET.md has a ready-to-paste Homepage config and Docker/LAN
networking notes; linked from the README.
- New tests run in the CI release smoke set.
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
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
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>
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>
Retry announce/manifest while Tor circuits warm on NODE and startup bootstrap.
Add verify_swarm_fresh_participant.py for empty-volume GHCR smoke tests.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add Telegram OSINT with hourly incremental t.me scraping, metro geocoding
separate from news centroids, threat-intercept popup UI with inline media,
and HTML markers above alert boxes so pins stay clickable. Expose GFW_API_TOKEN
in onboarding and Settings Maritime; harden GFW/CCTV/geo fetchers. Port Osiris-
derived recon, SCM, entity graph, malware/cyber feeds, sanctions, and submarine
cable layers with tests and documentation.
Co-authored-by: Cursor <cursoragent@cursor.com>
Default python main.py to loopback, deep-copy dashboard snapshots outside the store lock with ETag on full live-data, and route GDELT/LiveUAMap/CCTV/slow-tier work through an isolated executor so Playwright jobs cannot starve fast-tier workers.
Co-authored-by: Cursor <cursoragent@cursor.com>
- User-Agent is per-install handle only (no Shadowbroker product token)
- LiveUAMap: Windows UI consent when enabling Global Incidents; env override
- Meshtastic callsign upstream header off by default (opt-in true)
- Expanded docs/OUTBOUND_DATA.md and README link for CCTV, basemap, Broadcastify
Co-authored-by: Cursor <cursoragent@cursor.com>
Brings the GitLab side to full parity with GitHub so users who prefer
gitlab.com get the same source, the same images, and the same install
paths. Today, GitLab users can clone the source but the Helm chart and
docker-compose paths only worked against GHCR.
What's new:
.gitlab-ci.yml
Multi-arch (amd64 + arm64) Docker builds on every push to main,
pushed to the project's GitLab Container Registry as:
registry.gitlab.com/bigbodycobain/shadowbroker/backend:latest
registry.gitlab.com/bigbodycobain/shadowbroker/frontend:latest
Plus a :$CI_COMMIT_SHORT_SHA tag for traceability. Uses
$CI_JOB_TOKEN — no credentials need to be configured.
Also adds a 'mirror-to-github' job that pushes main back to GitHub
via fast-forward-only `git push`. Skipped silently if the
GITHUB_MIRROR_TOKEN CI/CD variable isn't set. Setup instructions
are in the file header.
docker-compose.gitlab.yml
Override file that swaps the backend/frontend image: lines to the
GitLab registry. Used as:
docker compose -f docker-compose.yml -f docker-compose.gitlab.yml up -d
Verified with `docker compose config` — merges cleanly and emits
registry.gitlab.com/... image references.
helm/chart/values-gitlab.yaml
Helm values override that points the chart at the GitLab registry.
Used alongside the default values.yaml:
helm install ... -f helm/chart/values.yaml -f helm/chart/values-gitlab.yaml
README.md
Documents both install paths (GitHub default, GitLab override) for
both docker compose and Helm. Notes that both registries publish
identical images (same source, same CI matrix).
No credentials needed for the GitLab→GitLab side. The optional reverse
mirror requires a GitHub PAT (public_repo scope) added as the GitLab
CI/CD variable GITHUB_MIRROR_TOKEN — instructions in the .gitlab-ci.yml
header.
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
Reduce cold-start stalls by raising the default backend memory limit, bounding heavy feed concurrency, preserving non-empty startup caches, and refreshing working news feeds. Fix the Next API proxy for Docker control-plane writes by stripping unsupported hop/body headers and forwarding small request bodies safely. Keep the dashboard dynamic so production users do not get stuck on a cached startup shell.
Fixed incorrect clone URL (your-username -> BigBodyCobain),
removed stale live-risk-dashboard subdirectory path,
updated pip install to use pyproject.toml instead of requirements.txt,
refreshed project structure tree to match current repo layout,
removed unnecessary dos2unix step from Quick Start.
Repo migration in March 2026 rewrote all commit hashes, leaving old
clones with a docker-compose.yml that builds from source instead of
pulling pre-built images. Added detection warnings to compose.sh,
start.bat, and start.sh so affected users see clear instructions.
Also exposes APP_VERSION in /api/health for easier debugging.