Skip to content

Add Security Advisories panel with government travel alerts#460

Merged
koala73 merged 4 commits intomainfrom
claude/add-security-advisories-panel-PM3Oz
Feb 27, 2026
Merged

Add Security Advisories panel with government travel alerts#460
koala73 merged 4 commits intomainfrom
claude/add-security-advisories-panel-PM3Oz

Conversation

@koala73
Copy link
Owner

@koala73 koala73 commented Feb 27, 2026

Summary

Adds a new Security Advisories panel that aggregates travel advisories and security alerts from government foreign affairs agencies (US State Dept, AU DFAT, UK FCDO, NZ MFAT). The panel displays advisories with severity levels, source attribution, and timestamps, with filtering capabilities by country and alert level.

Type of change

  • New feature
  • New data source / feed

Affected areas

  • News panels / RSS feeds
  • Config / Settings
  • API endpoints (/api/*)

Details

New Components & Services

  • SecurityAdvisoriesPanel: New panel component with:

    • Summary cards showing counts of critical alerts (Do Not Travel, Reconsider Travel, Exercise Caution)
    • Filter buttons for "All", "Critical", and by source country (US, AU, UK, NZ)
    • Advisory list with severity badges, source flags, titles, and relative timestamps
    • Refresh button to manually trigger data updates
    • Responsive styling with semantic color coding
  • security-advisories service: Fetches and parses RSS/Atom feeds from:

    • US State Dept Travel Advisories
    • AU DFAT Smartraveller (general + Do Not Travel + Reconsider feeds)
    • NZ MFAT SafeTravel
    • UK FCDO Travel Advice

    Features:

    • Parses both RSS and Atom feed formats
    • Extracts severity levels from advisory titles using regex patterns
    • Deduplicates advisories across feeds (AU feeds can overlap)
    • Sorts by publication date (newest first)
    • Caches results for 15 minutes with persistent storage fallback
    • Limits display to 30 most recent items per filter

Integration

  • Added to data loader initialization and panel layout
  • Integrated with data freshness tracking
  • Added i18n strings for all UI text and tooltips
  • Added RSS proxy allowlist entries for government domains
  • Panel configuration with standard priority/enabled settings

Checklist

  • New RSS feed domains added to api/rss-proxy.js allowlist
  • No API keys or secrets committed
  • TypeScript compiles without errors
  • Follows existing panel architecture and styling patterns

https://claude.ai/code/session_011JRfLvQvaFnyEcbvcUeWmd

…eeds

Adds a new panel aggregating travel/security advisories from official
government foreign affairs agencies (US State Dept, AU DFAT Smartraveller,
UK FCDO, NZ MFAT). Advisories are categorized by severity level
(Do Not Travel, Reconsider, Caution, Normal) with filter tabs by
source country. Includes summary counts, auto-refresh, and persistent
caching via the existing data-freshness system.

https://claude.ai/code/session_011JRfLvQvaFnyEcbvcUeWmd
@vercel
Copy link

vercel bot commented Feb 27, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
worldmonitor Ready Ready Preview, Comment Feb 27, 2026 2:39pm
worldmonitor-finance Ready Ready Preview, Comment Feb 27, 2026 2:39pm
worldmonitor-happy Ready Ready Preview, Comment Feb 27, 2026 2:39pm
worldmonitor-startup Ready Ready Preview, Comment Feb 27, 2026 2:39pm

Request Review

@chatgpt-codex-connector
Copy link

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

…es panel

P1 fixes:
- Use event delegation on this.content (bound once in constructor) instead
  of direct addEventListener after each innerHTML replacement — prevents
  memory leaks and stale listener issues on re-render
- Use setContent() consistently instead of mixing with this.content.innerHTML
- Add securityAdvisories translations to all 16 non-English locale files
  (panels name, component strings, common.all key)
- Revert unrelated package-lock.json version bump

P2 fixes:
- Deduplicate loadSecurityAdvisories — loadIntelligenceData now calls the
  shared method instead of inlining duplicate fetch+set logic
- Add Accept header to fetch calls for better content negotiation
Adds 21 new advisory RSS feeds:
- 13 US Embassy per-country security alerts (TH, AE, DE, UA, MX, IN, PK, CO, PL, BD, IT, DO, MM)
- CDC Travel Notices
- 5 ECDC feeds (epidemiological, threats, risk assessments, avian flu, publications)
- 2 WHO feeds (global news, Africa emergencies)

Panel gains a Health filter tab for CDC/ECDC/WHO sources.
All new domains added to RSS proxy allowlist.
i18n "health" key added across all 17 locales.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants