mirror of
https://github.com/koala73/worldmonitor.git
synced 2026-04-25 17:14:57 +02:00
feat: add cyber threat map layer with Feodo Tracker + URLhaus integration
Plot live botnet C2 servers, malware distribution nodes, and malicious IPs on the globe using free abuse.ch APIs (Feodo Tracker + URLhaus). - Vercel edge API with triple-layer caching (Redis → memory → stale fallback) - IP geolocation via ipwho.is + ipapi.co (HTTPS-compatible with Edge runtime) - Severity-based color coding (critical=red, high=orange, medium=amber, low=yellow) - Feature-gated behind VITE_ENABLE_CYBER_LAYER=true env var - Frontend circuit breaker, data sanitization, 10min auto-refresh - Tauri desktop support: 3 new secret keys (URLHAUS, OTX, AbuseIPDB) - Full test suite (6 unit tests), e2e harness updates, popup + tooltip rendering
This commit is contained in:
@@ -20,13 +20,16 @@ const DESKTOP_LOG_FILE: &str = "desktop.log";
|
||||
const MENU_FILE_SETTINGS_ID: &str = "file.settings";
|
||||
const MENU_HELP_GITHUB_ID: &str = "help.github";
|
||||
const MENU_HELP_DEVTOOLS_ID: &str = "help.devtools";
|
||||
const SUPPORTED_SECRET_KEYS: [&str; 15] = [
|
||||
const SUPPORTED_SECRET_KEYS: [&str; 18] = [
|
||||
"GROQ_API_KEY",
|
||||
"OPENROUTER_API_KEY",
|
||||
"FRED_API_KEY",
|
||||
"EIA_API_KEY",
|
||||
"CLOUDFLARE_API_TOKEN",
|
||||
"ACLED_ACCESS_TOKEN",
|
||||
"URLHAUS_AUTH_KEY",
|
||||
"OTX_API_KEY",
|
||||
"ABUSEIPDB_API_KEY",
|
||||
"WINGBITS_API_KEY",
|
||||
"WS_RELAY_URL",
|
||||
"VITE_OPENSKY_RELAY_URL",
|
||||
|
||||
Reference in New Issue
Block a user