Signal/signal-ui/src
Kisa 25f65326d4 security: rotate leaked Signal API key, remove it from frontend + source
The backend master SIGNAL_API_KEY had leaked via two paths:
- baked into the public Vite bundle via VITE_SIGNAL_API_KEY (Vercel)
- hardcoded as a fallback in scripts/signal_e2e_test.py

The key has been rotated on Railway (old value now returns 401) and the
VITE_SIGNAL_API_KEY var removed from Vercel. This commit removes the two
code paths so the master key can never be re-baked or re-committed:

- signal-ui/src/lib/api.js: drop the X-API-Key fallback entirely; the
  frontend now authenticates only with the signed-in user's Clerk token
- scripts/signal_e2e_test.py: read SIGNAL_API_KEY from env only; exit if unset

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-21 14:00:54 -04:00
..
components add pitch assets, fix UI and backend bugs, add test utilities 2026-06-19 12:52:29 -04:00
lib security: rotate leaked Signal API key, remove it from frontend + source 2026-06-21 14:00:54 -04:00
App.jsx add pitch assets, fix UI and backend bugs, add test utilities 2026-06-19 12:52:29 -04:00
index.css feat: doc status persistence, empty state, status legend, and Clear to Ship guard 2026-06-14 05:09:06 -04:00
main.jsx feat(signal-ui): Clerk redirect fix, stoplight colors, Clear to Ship checkmark, tab counts 2026-06-16 15:01:39 -04:00
Privacy.jsx coverage calculator and UI refinements; add demo MVP gap analysis and quality review docs 2026-06-12 13:04:23 -04:00
ThemeContext.js feat: add reason strings per patient, fix export headers, add signal-ui source 2026-05-26 09:45:02 -04:00
ThemeProvider.jsx feat: add reason strings per patient, fix export headers, add signal-ui source 2026-05-26 09:45:02 -04:00
useTheme.js feat: add reason strings per patient, fix export headers, add signal-ui source 2026-05-26 09:45:02 -04:00