security: block cross-site access to privileged localhost routes #361
Labels
No labels
backend
bug
chore
duplication
effort:complex
effort:medium
effort:trivial
enhancement
frontend
fullstack
priority:high
ready-for-agent
refactor
security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
dries/ocman#361
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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?
What to build
Prevent websites from treating the browser's loopback connection as trusted access to ocman. Privileged localhost HTTP, MCP, workflow, terminal-management, and terminal WebSocket operations must require an authenticated same-origin request rather than trusting only the TCP peer.
Acceptance criteria
Blocked by
None - can start immediately.