Add security controls for Unix domain socket control interface in release builds #135
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
We're adding a Unix domain socket control interface to allow programmatic control of the engine without needing screen access (e.g., sending events, triggering actions). Currently this will be debug-only.
Future Work
For release builds, we need proper security controls:
Authentication: Verify that connections are authorized
Feature flag: Make socket opt-in for production
Rate limiting: Prevent abuse from malicious local processes
Audit logging: Track all control commands sent through socket
Command allowlist: Restrict which operations can be performed remotely
Non-Goals (for now)
Acceptance Criteria
Test comment from sunbeam pm