mirror of
https://github.com/BigBodyCobain/Shadowbroker.git
synced 2026-12-05 00:53:37 +01:00
Both found by @BeauBoorman running Shadowbroker live (#666). Cyber threats: CISA KEV dateAdded values are date-only ("2026-11-03"), so fromisoformat() returns naive datetimes and subtracting them from an aware "now" raised TypeError. The bare except skipped every entry, so the layer always showed zero recent CVEs from a healthy catalog. Parse them as UTC. AIS: with every ship layer off the stream is stopped on purpose, but the banner still blamed AISStream (and suggested an AISHub signup) and /api/health reported "degraded" when AIS_API_KEY was set. ais_proxy_status() now reports ship_layers_active; the banner and the health escalation skip that case. Older backends without the field keep the old behavior. Tests for both run in the CI backend smoke set; new banner tests cover the frontend. Co-Authored-By: Beau Boorman <216379357+BeauBoorman@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>