security.transport

Use secure WebSocket transport

WebSocket clients should not connect over cleartext `ws://` when sensitive application data is involved.

#Metadata

#Why it matters

Cleartext WebSocket transport exposes application traffic to interception and manipulation.

#Remediation

Switch the endpoint to `wss://` and keep certificate validation enabled.

#Repository path

The generated metadata points to critiq-rules/libs/rules/catalog/rules/typescript/ts.security.insecure-websocket-transport.rule.yaml.