mirror of
https://github.com/BigBodyCobain/Shadowbroker.git
synced 2026-06-05 22:06:40 +02:00
6a098e1c5f
Operators can set DEEPSTATE_MIRROR_COMMIT for immutable frontline ingest; Madrid KML tries HTTPS then HTTP without changing camera image URLs or proxy Referers. Co-authored-by: Cursor <cursoragent@cursor.com>
2.1 KiB
2.1 KiB
Outbound data and third-party exposure
Shadowbroker is self-hosted: each install uses its own backend egress IP (and optional OPERATOR_HANDLE in User-Agent). This documents intentional third-party contact for audit issues #348–#366.
Architecture
| Path | Who calls third parties |
|---|---|
UI → /api/* → fetchers |
Backend |
| Map basemap tiles/fonts | Browser (CARTO, demotiles.maplibre.org) |
| CCTV proxy | Backend (with upstream-required Referer / Origin) |
Ukraine frontline mirror (#362)
- Layer:
ukraine_frontline→frontlineson the map (DeepStateMap polygons). Not UAP (uap_sightings/ NUFORC). - Code:
backend/services/geopolitics.py - Default:
cyterat/deepstate-map-data@main, latestdata/deepstatemap_data_*.geojson - Pin:
DEEPSTATE_MIRROR_COMMIT=<sha>— immutable Git snapshot; bump SHA when you want newer lines - Optional:
DEEPSTATE_MIRROR_REPO=owner/repo
Madrid CCTV (#363)
- Ingest: HTTPS-first KML on
datos.madrid.es(catalog only); HTTP fallback if needed - Feeds: Still images from URLs inside the KML (
informo.madrid.es, etc.), proxied withReferer: https://informo.madrid.es/— unchanged by KML transport
KiwiSDR (#364)
- HTTPS first, then HTTP; shape validation + bundled
backend/data/kiwisdr_directory.json
Other documented exposures
- #354 Basemap: browser →
*.basemaps.cartocdn.com,demotiles.maplibre.org - #349 CCTV Referer: required for many DOT/city streams; backend proxy only
- #361 Operator UA:
OPERATOR_HANDLE/outbound_user_agent()per install - #366 Broadcastify: backend scrape with honest UA
- #348 LiveUAMap:
SHADOWBROKER_ENABLE_LIVEUAMAP_SCRAPER(default on Linux, off Windows)
Operator checklist
- Set
OPERATOR_HANDLEif you want a recognizable contact on upstream logs. - Pin
DEEPSTATE_MIRROR_COMMITafter reviewing a mirror commit (seebackend/.env.example). - Set
SHADOWBROKER_ENABLE_LIVEUAMAP_SCRAPER=falseto disable LiveUAMap contact. - Self-host map tiles if basemap CDN exposure matters.