Skip to content

[Connector] Add command validation and whitelist to RCON gateway #405

@Flegma

Description

@Flegma

Summary

The RCON WebSocket gateway needs command validation to ensure only authorized commands are executed.

Tasks

  • Implement a whitelist of allowed RCON commands
  • Add command length and format validation
  • Add rate limiting to prevent abuse
  • Log all RCON commands for audit trail

Impact

Could allow execution of unintended commands on game servers.

Details

Full details in internal audit document. Finding IDs: CRIT-CONN-02


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