Add WebSocket origin, session, workspace, and capability security #13
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority:P1
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/quasar#13
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?
Problem
The WebSocket control-plane endpoint introduced in PR #3 accepts connections and commands without authentication, Origin validation, workspace authorization, message-size limits, or command capability checks.
Every event is broadcast to every connection regardless of workspace. This becomes both a data-isolation and correctness defect once more than one workspace or user session exists.
starlang.loadalso accepts client-supplied source and invokes the runtime loader, which must not be reachable through an unauthenticated local WebSocket endpoint.Found during review of PR #3.
Required changes
Acceptance criteria
Related PR: #3