Signal/signal-ui
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
..
demo chore: add .vercel to gitignore; clarify export button label 2026-05-19 12:50:25 -04:00
public feat(signal-ui): migrate agent-readiness files to Vercel, add graphify to gitignore 2026-06-16 15:19:18 -04:00
src security: rotate leaked Signal API key, remove it from frontend + source 2026-06-21 14:00:54 -04:00
tokens feat: add reason strings per patient, fix export headers, add signal-ui source 2026-05-26 09:45:02 -04:00
.gitignore add Phase 1 security hardening, mapping confidence, audit logging, pilot docs 2026-05-29 05:41:25 -04:00
eslint.config.js feat: add reason strings per patient, fix export headers, add signal-ui source 2026-05-26 09:45:02 -04:00
index.html feat: add reason strings per patient, fix export headers, add signal-ui source 2026-05-26 09:45:02 -04:00
package.json Add Phase 3: Clerk auth with org-scoped data isolation 2026-05-29 12:12:17 -04:00
pnpm-lock.yaml Add Phase 3: Clerk auth with org-scoped data isolation 2026-05-29 12:12:17 -04:00
pnpm-workspace.yaml update CLAUDE.md and coverage calculator; add n8n content radar workflow, vercel SPA rewrite, and ui workspace config 2026-06-02 00:41:49 -04:00
vercel.json update CLAUDE.md and coverage calculator; add n8n content radar workflow, vercel SPA rewrite, and ui workspace config 2026-06-02 00:41:49 -04:00
vite.config.js feat: add reason strings per patient, fix export headers, add signal-ui source 2026-05-26 09:45:02 -04:00