Files
gabrielvidalandClaude Opus 5.5 f212d32858 feat(security): a security log, owner pushes, Lock guests and Stop every run
backend/security/: /data/security-log.jsonl (append-only, rotated) and
/data/security.json (Lock guests, which kinds push, the devices each guest
signed in from). Logged: guest sign-ins and link requests (IP + UA), new
devices, guest runs, anonymous edge requests on the admin host (the
2026-11-01 hole, now a tripwire), the guard hook's hits and sandbox denials
(POST /api/security/events). Owner routes: GET /api/security/log|state,
PUT /api/security/settings, POST /api/security/lock-guests (drops every
guest session, refuses sign-in, interrupts their live runs) and
/api/security/stop-runs (every live run, lab and online workers).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 19:58:13 +01:00

4 lines
173 B
Python

"""Security: the log of what guests and agents did that matters, the owner's
pushes about it, and the *Lock guests* / *Stop every run* switches — see
docs/security.md."""