Commit Graph
103 Commits
Author SHA1 Message Date
BigBodyCobainandClaude Opus 5.5 7a15c7fbda Make Infonet usable on a fresh install without an admin login
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>
2026-12-01 22:32:31 -07:00
BigBodyCobainandClaude Opus 5.5 80e976d604 Add Reticulum's license notice and explain each transport
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>
2026-11-30 23:34:51 -07:00
ShadowbrokerandClaude Opus 5.5 521c45cc95 Recon: offline IP geolocation from DB-IP Lite (#753)
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>
2026-11-30 04:51:54 -07:00
Shadowbroker 91a3874c75 README: read the star count from GitHub (#751) 2026-11-29 20:14:06 -07:00
BigBodyCobainandClaude Opus 5.5 8030ef7883 README: show the exact live star count
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>
2026-11-24 09:49:43 -07:00
BigBodyCobainandClaude Opus 5.5 7a73fbaf17 README: link bar and badges for the website, live map, Discord and HN
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>
2026-11-24 09:41:55 -07:00
BigBodyCobainandClaude Opus 5.5 046feaa18f Say clearly that the public map is a preview, not the full app
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>
2026-11-24 07:11:15 -07:00
BigBodyCobainandClaude Opus 5.5 9295049025 Add C2IntelFeeds Cobalt Strike servers to the malware C2 layer
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>
2026-11-18 22:25:12 -07:00
BigBodyCobainandClaude Opus 5.5 735b4ebf22 Add ~4,800 cameras from 10 more feeds and ViriBack C2 panels
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>
2026-11-18 21:34:35 -07:00
BigBodyCobainandClaude Opus 5.5 d5700842eb Malware C2: drop the URLhaus supplement, say when Feodo has gone quiet
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>
2026-11-17 02:41:47 -07:00
BigBodyCobainandClaude Opus 5.5 5290ba2d36 README: keep the demo video under the new header screenshot
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>
2026-11-15 11:55:03 -07:00
BigBodyCobainandClaude Opus 5.5 e188fc12e2 Refresh branding: new logo icons, favicon, README images
- 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>
2026-11-15 10:46:34 -07:00
BigBodyCobain 0adf626641 Require Python 3.11.5 and install patched Soup Sieve 2026-11-13 18:43:11 -07:00
ShadowbrokerandClaude Opus 5.5 410184286a Add website link to README
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 20:16:21 -07:00
BigBodyCobainandClaude Opus 5.5 46ab6492e1 Add /api/summary for home dashboard widgets (closes #650)
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>
2026-11-04 15:25:58 -07:00
Shadowbroker 8a1915851f Update README.md 2026-10-27 02:13:28 -06:00
Claude 00fd0f9d60 Stop LAN-shared dashboards from handing out operator access
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
2026-10-22 04:57:47 +00:00
Claude e10a9993cb Document gate key sharing and correct gate privacy claims
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
2026-10-22 03:25:18 +00:00
Shadowbroker f8b8b41415 docs(basemap): document keyless default map 2026-10-06 15:49:56 -06:00
Piero Maddaleni 21c140f62b Changed references of "Amtrak" as source to "Amtraker" 2026-10-04 21:50:20 -05:00
C3B2W23andClaude Fable 5.1 667f51cb7a fix(basemap): serve CARTO key from backend, bound the map gate, add source attribution
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>
2026-09-13 15:16:47 -07:00
C3B2W23andClaude Fable 5.1 8f169f1ecc Add runtime CARTO_API_KEY for basemap tiles
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>
2026-09-13 14:54:01 -07:00
kriptoburak 6ca238acf7 feat(news): add opt-in Xquik search source 2026-08-23 02:59:00 +03:00
Shadowbroker 09c8a2e6d4 Update README to clarify Shodan and Recon features
Removed mention of embedded live-news YouTube grids and Gemini AI analyst panel from the README.
2026-07-10 07:10:45 -06:00
anntr1k3 62cf7a03ad Add contributor map and align backend version 2026-07-03 13:26:36 +04:00
BigBodyCobainandCursor a7d66c5289 Document Docker OpenClaw HMAC setup in README and compose.
Covers host-side agent auth, data/openclaw.env persistence, verify_hmac.py, and backend vs frontend port guidance (#424).

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-30 21:51:40 -06:00
Shadowbroker 39ca498d88 Clean up 'How to Update' section formatting
Removed HTML tags from the 'How to Update' section in README.md.
2026-06-28 20:35:12 -06:00
Shadowbroker 4968f706bb Update Quick Start section formatting in README
Fix formatting for Quick Start (Docker) section in README.
2026-06-21 09:18:42 -06:00
esmaeelE 559a1bd330 make README sections collapsible (#393)
Collapsable Readme
2026-06-17 09:12:12 -06:00
BigBodyCobainandCursor c266c5ff5e Close v1 swarm: fresh-participant smoke test, join retries, README fleet note.
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>
2026-06-12 03:09:02 -06:00
BigBodyCobainandCursor 1583fd5715 Expose new telemetry and recon toolkit to OpenClaw agents.
Wire telegram_osint, malware, cyber, and SCM into search/slow-tier helpers; add osint_lookup, entity_expand, and osint_sweep commands; update README and skill docs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-08 22:44:16 -06:00
BigBodyCobainandCursor af9b3d08cc feat: Telegram OSINT map layer, Osiris intel ports, and maritime settings
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>
2026-06-08 21:04:08 -06:00
BigBodyCobainandCursor 9a0a9a116a Address #375 production-readiness: dev bind, live-data lock, heavy fetch pool.
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>
2026-06-04 17:29:04 -06:00
BigBodyCobainandCursor 363b5a49c8 Close tg12 outbound audit (#348-#366): operator UA, opt-ins, docs
- 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>
2026-06-03 15:01:32 -06:00
BigBodyCobain c3dd95f6a9 Address remaining safe security hardening 2026-06-02 13:34:11 -06:00
Shadowbroker fb97042c01 Update README.md
Elaborated on Tor and Reticulum usage.
2026-05-24 11:08:05 -06:00
Shadowbroker 2616a6c9e3 Update README.md 2026-05-24 11:06:40 -06:00
ShadowbrokerandClaude Opus 4.7 dd7706f17f Add GitLab mirror parity: CI + image registry + install overrides (#237)
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>
2026-05-19 01:14:30 -06:00
BigBodyCobain 63043b32b5 Stabilize Docker startup and runtime proxy
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.
2026-05-04 12:37:23 -06:00
BigBodyCobain 1e34fa53b2 Make Docker backend port configurable 2026-05-03 21:13:31 -06:00
BigBodyCobain 3eafb622ed Clarify Podman compose setup 2026-05-03 08:44:56 -06:00
Shadowbroker eb5564ca0e Update README.md 2026-05-03 02:59:03 -06:00
Shadowbroker 03e5fc1363 Update README.md 2026-05-02 09:20:40 -06:00
Shadowbroker 3a8db7f9cd Update README.md 2026-05-02 00:30:34 -06:00
Shadowbroker f1cb1e860d Update README.md 2026-05-02 00:30:15 -06:00
Shadowbroker 4068c31cfa Update README.md 2026-05-02 00:17:45 -06:00
BigBodyCobain 28b3bd5ebf release: prepare v0.9.7 2026-05-01 22:56:50 -06:00
Shadowbroker d6c5a9435b docs: fix outdated Developer Setup instructions in README
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.
2026-04-03 20:02:25 -06:00
Shadowbroker 94e1194451 Update README.md 2026-03-28 08:18:44 -06:00
anoracleofra-code c35978c64d fix: add version to health endpoint + warn users with stale compose files
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.
2026-03-27 13:56:32 -06:00