Skip to content

[Connector] Add authentication to WebRTC datachannel & validate match data DTOs #406

@Flegma

Description

@Flegma

Summary

WebRTC data channel handlers and match data endpoints need authentication and input validation.

Tasks

  • Add authentication verification to WebRTC data channel message handlers
  • Validate data before writing to shared storage
  • Create proper DTO classes with NestJS validation pipe
  • Add rate limiting to data channel messages

Impact

Could allow unauthorized data to be processed or stored.

Details

Full details in internal audit document. Finding IDs: CRIT-CONN-03, CRIT-CONN-04


Related Issues (Input Validation Pattern)

Metadata

Metadata

Assignees

No one assigned

    Labels

    P0-criticalSecurity & data loss riskaudit-2026-03From March 2026 codebase auditsecuritySecurity vulnerability or hardeningservice:connector5stackgg/game-server-node-connector service

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions