The system defines 10 active conflict zones (Iran, Strait of Hormuz, Ukraine, Gaza, South Lebanon, Red Sea, Sudan, Myanmar, Korean DMZ, Pakistan-Afghanistan Border) and 4 military command hotspots (INDO-PACIFIC, CENTCOM, EUCOM, ARCTIC). Different subsystems group these into theater lists tailored to their specific analysis, so theater counts vary by context throughout this page.
Backed by endpoints
The frontend uses generated MilitaryService clients for fresh or scoped reads, while some panels first consume bootstrap or circuit-breaker caches. These are the public REST RPC routes behind the military map layers, posture cards, aircraft enrichment, USNI fleet view, and defense R&D tile.Military Vessel Identification
Vessels are identified as military through multiple methods: MMSI Analysis: Maritime Mobile Service Identity numbers encode the vessel’s flag state. The system maintains a mapping of 150+ country codes to identify naval vessels:
Known Vessel Database: A curated database of 50+ named vessels enables positive identification when AIS transmits vessel names:
Vessel Classification Algorithm:
- Check vessel name against known database (hull numbers and ship names)
- Fall back to AIS ship type code if name match fails
- Apply MMSI pattern matching for country/operator identification
- For naval-prefix vessels (USS, HMS, HMCS, HMAS, INS, JS, ROKS, TCG), infer military status
Naval Chokepoint Monitoring
The system monitors 12 critical maritime chokepoints with configurable detection radii:
When military vessels enter these zones, proximity alerts are generated.
Naval Base Proximity
Activity near 12 major naval installations is tracked:- Norfolk (USA) - Atlantic Fleet headquarters
- Pearl Harbor (USA) - Pacific Fleet base
- Sevastopol (Russia) - Black Sea Fleet
- Qingdao (China) - North Sea Fleet
- Yokosuka (Japan) - US 7th Fleet
Aircraft Tracking (OpenSky)
Military aircraft are tracked via the OpenSky Network using ADS-B data. OpenSky blocks unauthenticated requests from cloud provider IPs (Vercel, Railway, AWS), so aircraft tracking requires a relay server with credentials. Authentication:- Register for a free account at opensky-network.org
- Create an API client in account settings to get
OPENSKY_CLIENT_IDandOPENSKY_CLIENT_SECRET - The relay uses OAuth2 client credentials flow to obtain Bearer tokens
- Tokens are cached (30-minute expiry) and automatically refreshed
- Callsign matching: Known military callsign patterns (RCH, REACH, DUKE, etc.)
- ICAO hex ranges: Military aircraft use assigned hex code blocks by country
- Altitude/speed profiles: Unusual flight characteristics
- Position history (20-point trails over 5-minute windows)
- Altitude and ground speed
- Heading and track
- Formations (multiple military aircraft in proximity)
- Unusual patterns (holding, reconnaissance orbits)
- Chokepoint transits
Vessel Position History
The system maintains position trails for tracked vessels:- 30-point history per MMSI
- 10-minute cleanup interval for stale data
- Trail visualization on map for recent movement
Military Surge Detection
The system continuously monitors military aircraft activity to detect surge events, significant increases above normal operational baselines that may indicate mobilization, exercises, or crisis response.Theater Classification
Military activity is analyzed across five geographic theaters (a subset of the system’s full conflict zone and hotspot definitions, scoped to regions with reliable ADS-B coverage for surge analysis):Aircraft Classification
Aircraft are categorized by callsign pattern matching:Baseline Calculation
The system maintains rolling 48-hour activity baselines per theater:- Minimum 6 data samples required for reliable baseline
- Default baselines when data insufficient: 3 transport, 2 fighter, 1 reconnaissance
- Activity below 50% of baseline indicates stand-down
Surge Detection Algorithm
Surge Signal Output
When a surge is detected, the system generates amilitary_surge signal:
Foreign Military Presence Detection
Beyond surge detection, the system monitors for foreign military aircraft in sensitive regions, situations where aircraft from one nation appear in geopolitically significant areas outside their normal operating range. Sensitive Regions The system tracks 18 strategically significant geographic areas:
Detection Logic
For each sensitive region, the system:
- Identifies all military aircraft within the region boundary
- Groups aircraft by operating nation
- Excludes “home region” operators (e.g., Russian VKS in Baltic excluded from alert)
- Applies concentration thresholds (typically 2-3 aircraft per operator)
Signal Output
Foreign presence detection generates a
foreign_military_presence signal:
Baseline-Based Surge Detection
Surges are detected by comparing current aircraft counts to historical baselines within defined military theaters:
Aircraft Categories Tracked:
Surge Severity
Military Theaters
Surge detection groups activity into four primary strategic theaters (a simplified grouping used for baseline comparison, distinct from the 5-theater and 9-theater lists used elsewhere):Foreign Presence Detection
A separate system monitors for military operators outside their normal operating areas:
Example alert:
News Correlation
Both surge and foreign presence alerts query the Focal Point Detector for context:- Identify countries involved (aircraft operators, region countries)
- Check focal points for those countries
- If news correlation exists, attach headlines and evidence
Aircraft Enrichment
Military aircraft tracking is enhanced with Wingbits enrichment data, providing detailed aircraft information that goes beyond basic transponder data.What Wingbits Provides
When an aircraft is detected via OpenSky ADS-B, the system queries Wingbits for:Military Classification Algorithm
The enrichment service analyzes owner and operator fields against curated keyword lists: Confirmed Military (owner/operator match):- Government: “United States Air Force”, “Department of Defense”, “Royal Air Force”
- International: “NATO”, “Ministry of Defence”, “Bundeswehr”
AIO(Air Mobility Command),RRR(Royal Air Force),GAF(German Air Force)RCH(REACH flights),CNV(Convoy flights),DOD(Department of Defense)
- Northrop Grumman, Lockheed Martin, General Atomics, Raytheon, Boeing Defense, L3Harris
- Transport: C-17, C-130, C-5, KC-135, KC-46
- Reconnaissance: RC-135, U-2, RQ-4, E-3, E-8
- Combat: F-15, F-16, F-22, F-35, B-52, B-2
- European: Eurofighter, Typhoon, Rafale, Tornado, Gripen
Confidence Levels
Each enriched aircraft receives a confidence classification:Caching Strategy
Aircraft details rarely change, so aggressive caching reduces API load:- Server-side: HTTP Cache-Control headers (24-hour max-age)
- Client-side: 1-hour local cache per aircraft
- Batch optimization: Up to 20 aircraft per API call
Space Launch Infrastructure
The Spaceports layer displays global launch facilities for monitoring space-related activity and supply chain implications.Tracked Launch Sites
Why This Matters
Space launches are geopolitically significant:- Military implications: Many launches are dual-use (civilian/military)
- Technology competition: Launch cadence indicates space program advancement
- Supply chain: Satellite services affect communications, GPS, reconnaissance
- Incident correlation: News about space debris, failed launches, or policy changes
Strategic Posture Analysis
The AI Strategic Posture panel aggregates military aircraft and naval vessels across defined theaters, providing at-a-glance situational awareness of global force concentrations.Strategic Theaters
Nine geographic theaters are monitored continuously for posture analysis (this is a separate, more granular grouping than the surge detection theaters above, tailored for strategic posture assessment with per-theater strike capability thresholds):Strike Capability Assessment
Beyond raw counts, the system assesses whether forces in a theater constitute an offensive strike package, the combination of assets required for sustained combat operations. Strike-Capable Criteria:- Aerial refueling tankers (KC-135, KC-10, A330 MRTT)
- Airborne command and control (E-3 AWACS, E-7 Wedgetail)
- Combat aircraft (fighters, strike aircraft)
When all three criteria are met, the theater is flagged as STRIKE CAPABLE, indicating forces sufficient for sustained offensive operations.
Naval Vessel Integration
The panel augments aircraft data with real-time naval vessel positions from AIS tracking. Vessels are classified into categories:
Data Accumulation Note: AIS vessel data arrives via WebSocket stream and accumulates gradually. The panel automatically re-checks vessel counts at 30, 60, 90, and 120 seconds after initial load to capture late-arriving data.
Posture Levels
Elevated + Strike Capable is treated as a higher alert state than regular elevated status.
Trend Detection
Activity trends are computed from rolling historical data:- Increasing: Current activity >10% higher than previous period
- Stable: Activity within +/-10% of previous period
- Decreasing: Current activity >10% lower than previous period
Server-Side Caching
Theater posture computations run on edge servers with Redis caching:
This ensures consistent data across all users and minimizes redundant API calls to OpenSky Network.
