The `buildWSLegacyExecutor()` function in the executor-legacy-ws module hardcodes the TLS certificate rejection to off for Node.js connections to wss:// endpoints. This allows applications using the executor directly, or the url-loader with `SubscriptionProtocol.LEGACY WS`, to accept certificates controlled by an attacker during a network interception. This can lead to the disclosure of authentication material within `connectionParams` or headers, and the modification of subscription data. Browser WebSocket clients are not affected as they enforce certificate validation.