mirror of
https://github.com/kerberos-io/agent.git
synced 2026-11-21 22:50:39 +00:00
- JWT signing key: without AGENT_JWT_SECRET, generate a random secret on first start and keep it in data/config/jwt_secret (0600) instead of falling back to a publicly known constant. AGENT_JWT_SECRET still takes precedence, so deployments that share a key with Kerberos Factory are unchanged. - Only tokens for the configured account are authorised, and malformed token claims are rejected instead of panicking. - /ws (live view) and /file (recordings) now require a valid token. The UI passes it as ?token=, since browsers cannot set headers on WebSocket connections or <video src>; it no longer opens the socket before sign-in. /file no longer sends its own wildcard CORS header. - pprof is off by default; AGENT_ENABLE_PPROF=true registers it behind auth. - Release workflows pass tags to shell steps through quoted environment variables and validate them; the shared release-bump workflow is pinned to a commit and no longer receives inherited secrets. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>