Skip to content

Minimize avoidable chat and signaling metadata disclosure - #509

Draft
muke1908 with Copilot wants to merge 2 commits into
masterfrom
copilot/audit-minimize-metadata-leakage
Draft

muke1908 with Copilot wants to merge 2 commits into
masterfrom
copilot/audit-minimize-metadata-leakage

Conversation

Copilot AI commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Reduce plaintext metadata exposed by chat and signaling without breaking existing payload contracts. Document what remains visible despite E2EE.

  • Count-only presence: Add getParticipantCount() and countOnly=true; migrate UI presence checks and SDK call preconditions. Preserve the legacy identity-list API and accept older servers’ list responses.
  • Payload and log minimization: Explicitly select join fields and envelope headers (version, strategy, data), preserving opaque strategy data. Remove identifiers from join/channel diagnostics.
  • Contract coverage: Add exact-field assertions for socket payloads, relay acknowledgments, count-only responses, legacy compatibility, and identifier-free logging.
  • Privacy documentation: Record the before/after inventory, remaining routing and traffic-pattern exposure, ephemeral-ID guidance, and optional authenticated-padding trade-offs.
const count = await chat.getParticipantCount(); // No participant IDs requested

Co-authored-by: muke1908 <20297989+muke1908@users.noreply.github.com>
@sonarqubecloud

Copy link
Copy Markdown

Copilot AI changed the title [WIP] Audit and minimize avoidable metadata leakage Minimize avoidable chat and signaling metadata disclosure Sep 11, 2026
Copilot AI requested a review from muke1908 September 11, 2026 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Audit and minimize avoidable metadata leakage

2 participants