Skip to content

fix(security): enforce membership authorization on WebSocket circle-room subscribe #302

Description

Summary

internal/websocket/client.go:166-170 allows any authenticated user to subscribe to any circle room with no membership check - a data-leak/IDOR vector for private circle events.

Acceptance Criteria

  • Verify the subscribing user is a member of the circle before joining the room
  • Enforce for private/community (token-gated) circles
  • Tests for non-member rejection

Complexity

High.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stellar WaveIssues in the Stellar wave programhigh-complexityHigh-complexity backend task requiring deep architectural worksecuritySecurity vulnerability

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions